Skip to content

Commit

Permalink
sim: (autogenerated files)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsimakov committed Apr 9, 2023
1 parent f92fe66 commit 5af6b1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -27604,7 +27604,10 @@ fi
test "$GXX" = yes && CXXFLAGS="$CXXFLAGS -DSLURM_SIMULATOR"
LIBS="$LIBS -lrt -lm"
# wrapping getting user and group funtions (getpwnam_r, getpwuid_r, getgrnam_r and getgrgid_r)
LDFLAGS="-Wl,-wrap,getpwnam_r -Wl,-wrap,getpwuid_r -Wl,-wrap,getgrnam_r -Wl,-wrap,getgrgid_r $LDFLAGS"
WRAP_GETUSER="-Wl,-wrap,getpwnam_r -Wl,-wrap,getpwuid_r -Wl,-wrap,getgrnam_r -Wl,-wrap,getgrgid_r"
# wrapping time and sleep functions (gettimeofday)
WRAP_TIME="-Wl,-wrap,gettimeofday -Wl,-wrap,time -Wl,-wrap,sleep -Wl,-wrap,usleep -Wl,-wrap,nanosleep"
LDFLAGS="$WRAP_GETUSER $WRAP_TIME $LDFLAGS"

printf "%s\n" "#define SLURM_SIMULATOR 1" >>confdefs.h

Expand Down

0 comments on commit 5af6b1b

Please sign in to comment.