Skip to content
Snippets Groups Projects
Commit 660dae60 authored by Alexander Pace's avatar Alexander Pace
Browse files

added --disable-massmodel option to turn off installation of...

added --disable-massmodel option to turn off installation of lnP_template_signal_BBH_logm_reweighted_mchirp.hdf5. Made madification to .gitlab-ci.yml
parent 5d7d7fd1
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,6 @@ level0:gstlal:
image: aepace/gstlal-dev:stretch-mkl
stage: level0
script:
#- echo "$PWD" > ./pwd_output.out
- cd gstlal
- ./00init.sh
- ./configure --prefix=${GSTLAL_DIR}
......@@ -73,7 +72,6 @@ level0:gstlal:
expire_in: 3h
paths:
- ${GSTLAL_DIR}
- gstlal
when: always
only:
- pushes
......@@ -94,7 +92,6 @@ level1:gstlal-ugly:
expire_in: 3h
paths:
- ${GSTLAL_DIR}
- gstlal-ugly
when: always
only:
- pushes
......@@ -115,7 +112,6 @@ level2:gstlal-calibration:
expire_in: 3h
paths:
- ${GSTLAL_DIR}
- gstlal-calibration
when: always
only:
- pushes
......@@ -129,14 +125,13 @@ level2:gstlal-inspiral:
script:
- cd gstlal-inspiral
- ./00init.sh
- ./configure --prefix=${GSTLAL_DIR}
- ./configure --prefix=${GSTLAL_DIR} --disable-massmodel
- make
- make install
artifacts:
expire_in: 3h
paths:
- ${GSTLAL_DIR}
- gstlal-inspiral
when: always
only:
- pushes
......@@ -157,7 +152,6 @@ level2:gstlal-burst:
expire_in: 3h
paths:
- ${GSTLAL_DIR}
- gstlal-burst
when: always
only:
- pushes
......@@ -200,7 +194,7 @@ gstlal-verify:
# -------------------------------------------------------------------
- cd gstlal-inspiral
- ./00init.sh
- ./configure --prefix=${GSTLAL_DIR}
- ./configure --prefix=${GSTLAL_DIR} --disable-massmodel
- make
- make install
- cd ..
......
......@@ -295,6 +295,28 @@ AC_SUBST([GSL_CFLAGS])
AC_SUBST([GSL_LIBS])
#
# Enable mass model data
#
AC_ARG_ENABLE(
[massmodel],
AS_HELP_STRING([--enable-massmodel], [enable/disable installation of hdf5 mass model data [default=yes]]),
[:],
[enable_massmodel=yes])
AS_IF([test "x$enable_massmodel" != "xyes"], [
AC_MSG_WARN([Disabling copying of hdf5 mass model data])
HAVE_MASSMODEL="no"
],[
AC_MSG_WARN([Copying hdf5 mass model data to $prefix/share])
HAVE_MASSMODEL="yes"
])
AM_CONDITIONAL([COND_MASSMODEL], [test "x$enable_massmodel" == "xyes"])
#
# Output configure information
#
......
SUBDIRS = population_models
if COND_MASSMODEL
MASSMODELS = population_models
else
MASSMODELS =
endif
dist_pkgdata_DATA = \
de_calc_likelihood.sql \
......@@ -23,3 +27,5 @@ inspiral_snr_pdf.xml.gz :
--horizon-distances H1=100,L1=0 \
--horizon-distances H1=100,L1=100 \
--min-instruments 1
SUBDIRS = $(MASSMODELS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment