Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EAR.UP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dorian Stoll
EAR.UP
Commits
9f4c0ef3
Commit
9f4c0ef3
authored
4 years ago
by
xjgomez
Browse files
Options
Downloads
Patches
Plain Diff
Fixed ERUN Makefile.
parent
5e2836cf
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/slurm_plugin/Makefile
+14
-11
14 additions, 11 deletions
src/slurm_plugin/Makefile
with
14 additions
and
11 deletions
src/slurm_plugin/Makefile
+
14
−
11
View file @
9f4c0ef3
CFLAGS
=
$(
CC_FLAGS
)
-I
$(
SRCDIR
)
$(
SLURM_CFLAGS
)
-
fPIC
CFLAGS
=
-fPIC
-O2
$(
SLURM_CFLAGS
)
-
I
$(
SRCDIR
)
LDFLAGS
=
-lm
LDFLAGS
=
-lm
######## INSTALLATION
######## INSTALLATION
plug_BINS
=
erun
erun_BINS
=
erun
erun_PATH
=
$(
DESTDIR
)
/bin
erun_PERM
=
0775
ifdef
SLURM_BASE
ifdef
SLURM_BASE
plug_BINS
+
=
earplug.so
plug_BINS
=
earplug.so
endif
endif
plug_PATH
=
$(
DESTDIR
)
/lib
plug_PATH
=
$(
DESTDIR
)
/lib
plug_PERM
=
0775
plug_PERM
=
0775
...
@@ -18,10 +21,10 @@ erun_SRCS = \
...
@@ -18,10 +21,10 @@ erun_SRCS = \
erun_lock.c
erun_lock.c
plug_OBJS
=
\
plug_OBJS
=
\
$(
SRCDIR
)
/daemon/eard_rapi.o
\
$(
SRCDIR
)
/daemon/
remote_api/
eard_rapi.o
\
$(
SRCDIR
)
/daemon/shared_configuration.o
\
$(
SRCDIR
)
/daemon/shared_configuration.o
\
$(
SRCDIR
)
/global_manager/eargm_rapi.o
\
$(
SRCDIR
)
/global_manager/eargm_rapi.o
\
$(
SRCDIR
)
/common/libcommon.a
$(
SRCDIR
)
/common/libcommon.a
plug_SRCS
=
\
plug_SRCS
=
\
slurm_plugin.c
\
slurm_plugin.c
\
...
@@ -43,23 +46,23 @@ plug_HDRS = \
...
@@ -43,23 +46,23 @@ plug_HDRS = \
######## RULES
######## RULES
all
:
$(plug_BINS)
all
:
$(erun_BINS)
$(plug_BINS)
earplug.so
:
$(plug_SRCS) $(plug_HDRS)
earplug.so
:
$(plug_SRCS) $(plug_HDRS)
$(
CC
)
$(
CFLAGS
)
-shared
-o
$@
$(
plug_SRCS
)
$(
plug_OBJS
)
$(
LDFLAGS
)
$(
CC
)
$(
CC_FLAGS
)
$(
CFLAGS
)
-shared
-o
$@
$(
plug_SRCS
)
$(
plug_OBJS
)
$(
LDFLAGS
)
erun
:
$(erun_SRCS) $(plug_SRCS) $(plug_HDRS)
erun
:
$(erun_SRCS) $(plug_SRCS) $(plug_HDRS)
$(
CC
)
$(
CFLAGS
)
-DERUN
-g
-o
$@
$(
erun_SRCS
)
$(
plug_SRCS
)
$(
plug_OBJS
)
$(
LDFLAGS
)
$(
CC
)
$(
CC_FLAGS
)
$(
CFLAGS
)
-DERUN
-o
$@
$(
erun_SRCS
)
$(
plug_SRCS
)
$(
plug_OBJS
)
$(
LDFLAGS
)
######## OPTIONS
######## OPTIONS
install
:
plug.ginstall;
install
:
erun.ginstall
plug.ginstall;
%.install
:
;
%.install
:
;
clean
:
plug.gclean rclean;
clean
:
erun.gclean
plug.gclean rclean;
######## DEPENDENCIES
######## DEPENDENCIES
include
$(SRCDIR)/Makefile.depend
include
$(SRCDIR)/Makefile.depend
include
$(SRCDIR)/Makefile.extra
include
$(SRCDIR)/Makefile.extra
\ No newline at end of file
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