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
03274d21
Commit
03274d21
authored
22 years ago
by
Mark Grondona
Browse files
Options
Downloads
Patches
Plain Diff
o remove get_mach_stat and proc_read for now
o delete all DEBUG_MODULE stuff
parent
cf2c9ebc
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
src/slurmd/Makefile.am
+5
-41
5 additions, 41 deletions
src/slurmd/Makefile.am
with
5 additions
and
41 deletions
src/slurmd/Makefile.am
+
5
−
41
View file @
03274d21
...
@@ -3,49 +3,13 @@
...
@@ -3,49 +3,13 @@
AUTOMAKE_OPTIONS
=
foreign
AUTOMAKE_OPTIONS
=
foreign
INCLUDES
=
-I
$(
top_srcdir
)
/src/common
sbin_PROGRAMS
=
slurmd
# should we build individual modules?
# (--enable-debug)
#
if
DEBUG_MODULES
test_modules
=
get_mach_stat read_proc
else
test_modules
=
endif
bin_PROGRAMS
=
slurmd
# uncomment when we are ready to build a slurmd
# also, be sure to fill out slurmd_SOURCES
# bin_PROGRAMS = slurmd
noinst_PROGRAMS
=
$(
test_modules
)
LDADD
=
$(
top_srcdir
)
/src/common/libcommon.la
LDADD
=
$(
top_srcdir
)
/src/common/libcommon.la
slurmd_SOURCES
=
get_mach_stat.c
\
#slurmd_SOURCES = get_mach_stat.c \
read_proc.c
\
# read_proc.c \
slurmd.c
# slurmd.c
# target specific CFLAGS do not work until automake 1.5, use explicit rules
# for now. If we ever move to 1.5, the CFLAGS defs below should work in
# place of the rules that follow.
#get_mach_stat_CFLAGS = -DDEBUG_MODULE $(AM_CFLAGS)
#read_proc_CFLAGS = -DDEBUG_MODULE $(AM_CFLAGS)
# debug modules to be built as binaries:
#
# need to create a rule to build each binary from an object file with _d suffix
# as these will have been compiled with -DDEBUG_MODULE
#
get_mach_stat$(EXEEXT)
:
get_mach_stat_d.o
read_proc$(EXEEXT)
:
read_proc_d.o
%
:
%_d.o
$(
LINK
)
$(
LDFLAGS
)
$^
$(
LDADD
)
$(
LIBS
)
%_d.o
:
%.c
slurmd_SOURCES
=
slurmd.c
$(
COMPILE
)
-DDEBUG_MODULE
-c
-o
$@
$<
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