Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
fb7433c2
Commit
fb7433c2
authored
22 years ago
by
Mark Grondona
Browse files
Options
Downloads
Patches
Plain Diff
o define SLURM_CONFIG_FILE and SLURM_PLUGIN_PATH on the compile
command line as suggested by GNU coding standards
parent
67a2550f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.ac
+11
-13
11 additions, 13 deletions
configure.ac
with
11 additions
and
13 deletions
configure.ac
+
11
−
13
View file @
fb7433c2
...
@@ -104,10 +104,10 @@ AC_ARG_ENABLE(debug,
...
@@ -104,10 +104,10 @@ AC_ARG_ENABLE(debug,
AC_MSG_RESULT(${with_slurm_debug=no})
AC_MSG_RESULT(${with_slurm_debug=no})
if test "x$with_slurm_debug" = "xtrue"; then
if test "x$with_slurm_debug" = "xtrue"; then
CFLAGS="-g -Wall -Wpointer-arith $
PTHREAD_
CFLAGS"
CFLAGS="-g -Wall -Wpointer-arith $CFLAGS"
AC_DEFINE(DEBUG_SYSTEM, 1, [Define for extra debug messages.])
AC_DEFINE(DEBUG_SYSTEM, 1, [Define for extra debug messages.])
else
else
CFLAGS="-O2 -Wall -Wpointer-arith $
PTHREAD_
CFLAGS"
CFLAGS="-O2 -Wall -Wpointer-arith $CFLAGS"
AC_DEFINE(NDEBUG, 1, [Define for production compile of code])
AC_DEFINE(NDEBUG, 1, [Define for production compile of code])
fi
fi
AM_CONDITIONAL(DEBUG_MODULES, test "x$with_slurm_debug" = "xtrue")
AM_CONDITIONAL(DEBUG_MODULES, test "x$with_slurm_debug" = "xtrue")
...
@@ -144,14 +144,6 @@ AC_DEFINE_UNQUOTED(SLURMD_PORT, "$slurmdport",
...
@@ -144,14 +144,6 @@ AC_DEFINE_UNQUOTED(SLURMD_PORT, "$slurmdport",
AC_SUBST(SLURMD_PORT)
AC_SUBST(SLURMD_PORT)
dnl Set SLURM_CONFIG_DIR in config.h
dnl
AC_DEFINE_UNQUOTED(SLURM_CONFIG_DIR, "$sysconfdir",
[Define Default slurm config dir])
AC_DEFINE_UNQUOTED(SLURM_CONFIG_FILE, "$sysconfdir/slurm.conf",
[Define Default slurm config file location])
dnl check for whether to include Elan support
dnl check for whether to include Elan support
dnl
dnl
AC_MSG_CHECKING(whether to include Elan support)
AC_MSG_CHECKING(whether to include Elan support)
...
@@ -221,9 +213,9 @@ MUNGE_LIBS="-lmunge"
...
@@ -221,9 +213,9 @@ MUNGE_LIBS="-lmunge"
savedLIBS="$LIBS"
savedLIBS="$LIBS"
LIBS="$MUNGE_LIBS $LIBS"
LIBS="$MUNGE_LIBS $LIBS"
AC_CHECK_LIB(munge, munge_encode, [have_munge=yes], [have_munge=no])
AC_CHECK_LIB(munge, munge_encode, [have_munge=yes], [have_munge=no])
LIBS="$savedLIBS"
AC_SUBST(MUNGE_LIBS)
AC_SUBST(MUNGE_LIBS)
AM_CONDITIONAL(WITH_MUNGE, test "x$have_munge" = "xyes")
AM_CONDITIONAL(WITH_MUNGE, test "x$have_munge" = "xyes")
LIBS="$savedLIBS"
AUTHD_CFLAGS=""
AUTHD_CFLAGS=""
AUTHD_LIBS="-lauth -le"
AUTHD_LIBS="-lauth -le"
...
@@ -232,11 +224,11 @@ savedCFLAGS="$CFLAGS"
...
@@ -232,11 +224,11 @@ savedCFLAGS="$CFLAGS"
LIBS="$SSL_LIBS $AUTHD_LIBS $LIBS"
LIBS="$SSL_LIBS $AUTHD_LIBS $LIBS"
CFLAGS="$SSL_CPPFLAGS $CFLAGS $AUTHD_CFLAGS"
CFLAGS="$SSL_CPPFLAGS $CFLAGS $AUTHD_CFLAGS"
AC_CHECK_LIB(auth, auth_init_credentials, [have_authd=yes], [have_authd=no])
AC_CHECK_LIB(auth, auth_init_credentials, [have_authd=yes], [have_authd=no])
LIBS="$savedLIBS"
CFLAGS="$savedCFLAGS"
AC_SUBST(AUTHD_LIBS)
AC_SUBST(AUTHD_LIBS)
AC_SUBST(AUTHD_CFLAGS)
AC_SUBST(AUTHD_CFLAGS)
AM_CONDITIONAL(WITH_AUTHD, test "x$have_authd" = "xyes")
AM_CONDITIONAL(WITH_AUTHD, test "x$have_authd" = "xyes")
LIBS="$savedLIBS"
CFLAGS="$savedCFLAGS"
dnl check for whether to include TotalView support
dnl check for whether to include TotalView support
...
@@ -261,6 +253,12 @@ fi
...
@@ -261,6 +253,12 @@ fi
AM_CONDITIONAL(WITH_TOTALVIEW, test "x$with_totalview" = "xyes")
AM_CONDITIONAL(WITH_TOTALVIEW, test "x$with_totalview" = "xyes")
#
# Add system directories and config files to CPPFLAGS
#
CPPFLAGS="$CPPFLAGS -DSLURM_CONFIG_FILE=\\\"\$(sysconfdir)/slurm.conf\\\""
CPPFLAGS="$CPPFLAGS -DSLURM_PLUGIN_PATH=\\\"\$(pkglibdir)\\\""
dnl Add LSD-Tools defines:
dnl Add LSD-Tools defines:
AC_DEFINE(WITH_LSD_FATAL_ERROR_FUNC, 1, [Have definition of lsd_fatal_error()])
AC_DEFINE(WITH_LSD_FATAL_ERROR_FUNC, 1, [Have definition of lsd_fatal_error()])
AC_DEFINE(WITH_LSD_NOMEM_ERROR_FUNC, 1, [Have definition of lsd_nomem_error()])
AC_DEFINE(WITH_LSD_NOMEM_ERROR_FUNC, 1, [Have definition of lsd_nomem_error()])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment