Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sten Delos
Gadget4
Commits
3264a986
Commit
3264a986
authored
Dec 03, 2020
by
Volker Springel
Browse files
only compile vectorclass/instrset_detect.o when EXPLICIT_VECTORIZATION is activated
parent
9315b1db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
3264a986
...
...
@@ -243,6 +243,7 @@ SUBDIRS += logs
OBJS
+=
logs/logs.o
INCL
+=
logs/logs.h logs/timer.h
SUBDIRS
+=
gitversion
INCL
+=
gitversion/version.h
...
...
@@ -260,11 +261,6 @@ OBJS += pm/pm_nonperiodic.o pm/pm_periodic.o \
INCL
+=
pm/pm.h pm/pm_mpi_fft.h pm/pm_periodic.h pm/pm_nonperiodic.h
SUBDIRS
+=
vectorclass
OBJS
+=
vectorclass/instrset_detect.o
INCL
+=
SUBDIRS
+=
sort
OBJS
+=
sort
/peano.o
INCL
+=
sort
/peano.h
sort
/cxxsort.h
sort
/parallel_sort.h
...
...
@@ -274,6 +270,7 @@ SUBDIRS += sph
OBJS
+=
sph/density.o sph/hydra.o sph/init_entropy.o sph/artificial_viscosity.o
INCL
+=
sph/kernel.h sph/sph.h
SUBDIRS
+=
system
OBJS
+=
system/pinning.o system/system.o
INCL
+=
system/system.h system/pinning.h
...
...
@@ -308,6 +305,13 @@ OBJS += ngbtree/ngbtree_build.o
INCL
+=
ngbtree/ngbtree.h
ifeq
(EXPLICIT_VECTORIZATION,$(findstring EXPLICIT_VECTORIZATION,$(CONFIGVARS)))
SUBDIRS
+=
vectorclass
OBJS
+=
vectorclass/instrset_detect.o
INCL
+=
endif
ifeq
(COOLING,$(findstring COOLING,$(CONFIGVARS)))
OBJS
+=
cooling_sfr/cooling.o cooling_sfr/sfr_eos.o cooling_sfr/starformation.o
INCL
+=
cooling_sfr/cooling.h
...
...
@@ -362,6 +366,7 @@ ifeq (LIGHTCONE_MASSMAPS,$(findstring LIGHTCONE_MASSMAPS,$(CONFIGVARS)))
MAPS_LIBS
+=
-lchealpix
-lcfitsio
#-lcurl
endif
ifeq
(LIGHTCONE_PARTICLES,$(findstring LIGHTCONE_PARTICLES,$(CONFIGVARS)))
MAPS_LIBS
+=
-lchealpix
-lcfitsio
#-lcurl
endif
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment