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
6ac33ad5
Commit
6ac33ad5
authored
21 years ago
by
Mark Grondona
Browse files
Options
Downloads
Patches
Plain Diff
o add tests for setproctitle() emulation
parent
dd161f39
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
acinclude.m4
+29
-0
29 additions, 0 deletions
acinclude.m4
configure.ac
+7
-0
7 additions, 0 deletions
configure.ac
with
36 additions
and
0 deletions
acinclude.m4
+
29
−
0
View file @
6ac33ad5
...
@@ -90,6 +90,33 @@ AC_DEFUN([AC_SLURM_USE_INCLUDED_POPT],
...
@@ -90,6 +90,33 @@ AC_DEFUN([AC_SLURM_USE_INCLUDED_POPT],
])
])
dnl
dnl Perform checks related to setproctitle() emulation
dnl
AC_DEFUN([AC_SLURM_SETPROCTITLE],
[
#
case "$host" in
*-*-aix*)
AC_DEFINE(SETPROCTITLE_STRATEGY,PS_USE_CLOBBER_ARGV)
AC_DEFINE(SETPROCTITLE_PS_PADDING, '\0')
;;
*-*-hpux*)
AC_DEFINE(SETPROCTITLE_STRATEGY,PS_USE_PSTAT)
;;
*-*-linux*)
AC_DEFINE(SETPROCTITLE_STRATEGY,PS_USE_CLOBBER_ARGV)
AC_DEFINE(SETPROCTITLE_PS_PADDING, '\0')
;;
*)
AC_DEFINE(SETPROCTITLE_STRATEGY,PS_USE_NONE,
[Define to the setproctitle() emulation type])
AC_DEFINE(SETPROCTITLE_PS_PADDING, '\0',
[Define if you need setproctitle padding])
;;
esac
])
dnl
dnl
dnl
dnl
dnl
dnl
...
@@ -484,3 +511,5 @@ CPPFLAGS="$saved_CPPFLAGS"
...
@@ -484,3 +511,5 @@ CPPFLAGS="$saved_CPPFLAGS"
LDFLAGS="$saved_LDFLAGS"
LDFLAGS="$saved_LDFLAGS"
])dnl AC_SLURM_WITH_SSL
])dnl AC_SLURM_WITH_SSL
This diff is collapsed.
Click to expand it.
configure.ac
+
7
−
0
View file @
6ac33ad5
...
@@ -74,8 +74,10 @@ AC_CHECK_FUNCS( \
...
@@ -74,8 +74,10 @@ AC_CHECK_FUNCS( \
inet_aton \
inet_aton \
inet_ntop \
inet_ntop \
inet_pton \
inet_pton \
setproctitle \
)
)
AC_CHECK_DECLS([strsignal, sys_siglist])
AC_CHECK_DECLS([strsignal, sys_siglist])
ACX_PTHREAD([], AC_MSG_ERROR([Error: Cannot figure out how to use pthreads!]))
ACX_PTHREAD([], AC_MSG_ERROR([Error: Cannot figure out how to use pthreads!]))
...
@@ -89,6 +91,7 @@ LIBS="$PTHREAD_LIBS $LIBS"
...
@@ -89,6 +91,7 @@ LIBS="$PTHREAD_LIBS $LIBS"
AC_SLURM_SEMAPHORE
AC_SLURM_SEMAPHORE
AC_SLURM_USE_INCLUDED_POPT
AC_SLURM_USE_INCLUDED_POPT
dnl checks for system services.
dnl checks for system services.
dnl
dnl
...
@@ -96,6 +99,10 @@ dnl
...
@@ -96,6 +99,10 @@ dnl
dnl checks for system-specific stuff.
dnl checks for system-specific stuff.
dnl
dnl
dnl check for how to emulate setproctitle
dnl
AC_SLURM_SETPROCTITLE
dnl check for debug compilation
dnl check for debug compilation
dnl
dnl
AC_MSG_CHECKING(whether debug compilation of modules is enabled)
AC_MSG_CHECKING(whether debug compilation of modules is enabled)
...
...
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