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
6be3c64d
Commit
6be3c64d
authored
7 years ago
by
Tim Wickberg
Browse files
Options
Downloads
Plain Diff
Merge branch 'slurm-17.02'
parents
432e96a1
35b505cc
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
config.h.in
+8
-0
8 additions, 0 deletions
config.h.in
configure
+49
-0
49 additions, 0 deletions
configure
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
src/plugins/task/cgroup/task_cgroup_devices.c
+9
-0
9 additions, 0 deletions
src/plugins/task/cgroup/task_cgroup_devices.c
with
67 additions
and
1 deletion
config.h.in
+
8
−
0
View file @
6be3c64d
...
@@ -478,6 +478,14 @@
...
@@ -478,6 +478,14 @@
/* Define to the sub-directory where libtool stores uninstalled libraries. */
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#undef LT_OBJDIR
#undef LT_OBJDIR
/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
*/
#undef MAJOR_IN_MKDEV
/* Define to 1 if `major', `minor', and `makedev' are declared in
<sysmacros.h>. */
#undef MAJOR_IN_SYSMACROS
/* Define to 1 for memory leak debugging. */
/* Define to 1 for memory leak debugging. */
#undef MEMORY_LEAK_DEBUG
#undef MEMORY_LEAK_DEBUG
...
...
This diff is collapsed.
Click to expand it.
configure
+
49
−
0
View file @
6be3c64d
...
@@ -18818,6 +18818,55 @@ $as_echo "#define STDC_HEADERS 1" >>confdefs.h
...
@@ -18818,6 +18818,55 @@ $as_echo "#define STDC_HEADERS 1" >>confdefs.h
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
if ${ac_cv_header_sys_types_h_makedev+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
int
main ()
{
return makedev(0, 0);
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_header_sys_types_h_makedev=yes
else
ac_cv_header_sys_types_h_makedev=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
if test $ac_cv_header_sys_types_h_makedev = no; then
ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
fi
if test $ac_cv_header_sys_mkdev_h = no; then
ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
fi
fi
fi
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
1
View file @
6be3c64d
...
@@ -124,7 +124,7 @@ AC_CHECK_HEADERS(mcheck.h values.h socket.h sys/socket.h \
...
@@ -124,7 +124,7 @@ AC_CHECK_HEADERS(mcheck.h values.h socket.h sys/socket.h \
AC_HEADER_SYS_WAIT
AC_HEADER_SYS_WAIT
AC_HEADER_TIME
AC_HEADER_TIME
AC_HEADER_STDC
AC_HEADER_STDC
AC_HEADER_MAJOR
dnl Checks for structures.
dnl Checks for structures.
dnl
dnl
...
...
This diff is collapsed.
Click to expand it.
src/plugins/task/cgroup/task_cgroup_devices.c
+
9
−
0
View file @
6be3c64d
...
@@ -34,6 +34,8 @@
...
@@ -34,6 +34,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
\*****************************************************************************/
\*****************************************************************************/
#include
"config.h"
#define _GNU_SOURCE
#define _GNU_SOURCE
#include
<glob.h>
#include
<glob.h>
#include
<limits.h>
#include
<limits.h>
...
@@ -41,6 +43,13 @@
...
@@ -41,6 +43,13 @@
#include
<sys/stat.h>
#include
<sys/stat.h>
#include
<sys/types.h>
#include
<sys/types.h>
#ifdef MAJOR_IN_MKDEV
# include <sys/mkdev.h>
#endif
#ifdef MAJOR_IN_SYSMACROS
# include <sys/sysmacros.h>
#endif
#include
"slurm/slurm.h"
#include
"slurm/slurm.h"
#include
"slurm/slurm_errno.h"
#include
"slurm/slurm_errno.h"
...
...
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