Commit c6d00e79 authored by Adam Mercer's avatar Adam Mercer
Browse files

Merge branch 'conda-all-python-nightly' into 'master'

Only run conda builds for all python versions nightly

See merge request lscsoft/lalsuite!1520
parents a217ea96 5cf97ad6
......@@ -29,6 +29,7 @@ variables:
COMMIT: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
CONDA_BLD_PATH: "${CI_PROJECT_DIR}/conda/bld"
CONDA_PKGS_DIRS: "${CI_PROJECT_DIR}/conda/pkgs"
CONDA_PYTHON_VERSION: "3.8"
CPU_COUNT: 4
DOCKER_DRIVER: overlay
GIT_DEPTH: 1
......@@ -266,10 +267,12 @@ cache:
CONDA_BLD_PATH: "${CI_PROJECT_DIR}/conda/bld"
CONDA_CONFIG: "linux_64_"
CONDA_PKGS_DIRS: "${CI_PROJECT_DIR}/conda/pkgs"
CONDA_PYTHON_VERSION: "3.8"
GIT_STRATEGY: none
before_script:
- *define-retry
- *conda-init
- conda config --set channel_priority strict
script:
- PACKAGE=${CI_JOB_NAME%%:*}
- cd ${PACKAGE}/
......@@ -287,16 +290,29 @@ cache:
- retry conda smithy regenerate --no-check-uptodate
- git ls-files
# build packages (preferring local packages over everything)
- conda config --set channel_priority strict
- conda build
# note: we use a variable and `eval` to get around the
# _pyversion string having spaces in it
- cmd="conda build
recipe/
--dirty
--error-overlinking
--error-overdepending
--keep-old-work
--no-anaconda-upload
--use-channeldata
--use-local
--variant-config-files .ci_support/${CONDA_CONFIG}.yaml
${CONDA_BUILD_ARGS}
${CONDA_BUILD_ARGS}"
# if not a nightly or web-triggered pipeline, just build one python version
- if [ ${CI_PIPELINE_SOURCE} != "schedule" ] && [ ${CI_PIPELINE_SOURCE} != "web" ]; then
cmd="${cmd} --python \"${CONDA_PYTHON_VERSION}.* *_cpython\"";
fi
# run the build
- echo $cmd && eval $cmd
after_script:
# clean cache of old files
- find ${CONDA_PKGS_DIRS%:*} -atime +30 -delete
- find ${CONDA_PKGS_DIRS%:*} -type d -empty -delete
artifacts:
expire_in: 18h
paths:
......@@ -319,8 +335,8 @@ cache:
- "${CI_JOB_NAME%%:*}/${CI_JOB_NAME%%:*}-feedstock/"
reports:
junit:
- "conda/bld/${CI_JOB_NAME%%:*}[-_]*/work/_build*/test/python/junit*.xml"
- "conda/bld/${CI_JOB_NAME%%:*}[-_]*/test_tmp/junit*.xml"
- "conda/bld/${CI_JOB_NAME%%:*}-*/work/_build*/test/python/junit*.xml"
- "conda/bld/${CI_JOB_NAME%%:*}-*/test_tmp/junit*.xml"
when: always
cache:
key: $CI_JOB_NAME
......@@ -749,7 +765,7 @@ lalapps:conda:
- lalinference:conda
variables:
CONDA_BLD_PATH: "${CI_PROJECT_DIR}/conda/bld"
CONDA_CONFIG: "linux_64_python3.7.____cpython"
CONDA_CONFIG: "linux_64_python${CONDA_PYTHON_VERSION}.____cpython"
CONDA_PKGS_DIRS: "${CI_PROJECT_DIR}/conda/pkgs"
# -- integration tests --------------------------
......
......@@ -11,27 +11,3 @@ make -j ${CPU_COUNT} V=1 VERBOSE=1 install -C bin
# install system configuration files
make -j ${CPU_COUNT} V=1 VERBOSE=1 install-sysconfDATA
# -- create activate/deactivate scripts
PKG_NAME_UPPER=$(echo ${PKG_NAME} | awk '{ print toupper($0) }')
# activate.sh
ACTIVATE_SH="${PREFIX}/etc/conda/activate.d/activate_${PKG_NAME}.sh"
mkdir -p $(dirname ${ACTIVATE_SH})
cat > ${ACTIVATE_SH} << EOF
#!/bin/bash
export CONDA_BACKUP_${PKG_NAME_UPPER}_DATADIR="\${${PKG_NAME_UPPER}_DATADIR:-empty}"
export ${PKG_NAME_UPPER}_DATADIR="/opt/anaconda1anaconda2anaconda3/share/${PKG_NAME}"
EOF
# deactivate.sh
DEACTIVATE_SH="${PREFIX}/etc/conda/deactivate.d/deactivate_${PKG_NAME}.sh"
mkdir -p $(dirname ${DEACTIVATE_SH})
cat > ${DEACTIVATE_SH} << EOF
#!/bin/bash
if [ "\${CONDA_BACKUP_${PKG_NAME_UPPER}_DATADIR}" == "empty" ]; then
unset ${PKG_NAME_UPPER}_DATADIR
else
export ${PKG_NAME_UPPER}_DATADIR="\${CONDA_BACKUP_${PKG_NAME_UPPER}_DATADIR}"
fi
unset CONDA_BACKUP_${PKG_NAME_UPPER}_DATADIR
EOF
......@@ -12,3 +12,30 @@ make -j ${CPU_COUNT} V=1 VERBOSE=1 -C swig install-data
# install pkg-config
make -j ${CPU_COUNT} V=1 VERBOSE=1 install-pkgconfigDATA
# -- create activate/deactivate scripts
# strip out the 'lib' package name prefix
LALSUITE_NAME=${PKG_NAME#"lib"}
LALSUITE_NAME_UPPER=$(echo ${LALSUITE_NAME} | awk '{ print toupper($0) }')
# activate.sh
ACTIVATE_SH="${PREFIX}/etc/conda/activate.d/activate_${PKG_NAME}.sh"
mkdir -p $(dirname ${ACTIVATE_SH})
cat > ${ACTIVATE_SH} << EOF
#!/bin/bash
export CONDA_BACKUP_${LALSUITE_NAME_UPPER}_DATADIR="\${${LALSUITE_NAME_UPPER}_DATADIR:-empty}"
export ${LALSUITE_NAME_UPPER}_DATADIR="/opt/anaconda1anaconda2anaconda3/share/${LALSUITE_NAME}"
EOF
# deactivate.sh
DEACTIVATE_SH="${PREFIX}/etc/conda/deactivate.d/deactivate_${PKG_NAME}.sh"
mkdir -p $(dirname ${DEACTIVATE_SH})
cat > ${DEACTIVATE_SH} << EOF
#!/bin/bash
if [ "\${CONDA_BACKUP_${LALSUITE_NAME_UPPER}_DATADIR}" = "empty" ]; then
unset ${LALSUITE_NAME_UPPER}_DATADIR
else
export ${LALSUITE_NAME_UPPER}_DATADIR="\${CONDA_BACKUP_${LALSUITE_NAME_UPPER}_DATADIR}"
fi
unset CONDA_BACKUP_${LALSUITE_NAME_UPPER}_DATADIR
EOF
......@@ -31,6 +31,7 @@ ${SRC_DIR}/configure \
--disable-python \
--disable-swig-octave \
--disable-swig-python \
--enable-help2man \
--enable-swig-iface \
--prefix="${PREFIX}" \
${FFT_CONFIG_ARGS} \
......
......@@ -30,6 +30,7 @@ export GSL_LIBS="-L${PREFIX}/lib -lgsl"
${SRC_DIR}/configure \
--disable-doxygen \
--disable-swig-iface \
--enable-help2man \
--enable-python \
--enable-swig-python \
--prefix=$PREFIX \
......
......@@ -5,8 +5,19 @@
# production-ready at any time.
{% set name = "lal" %}
{% set version = "@VERSION@".replace('-', '.') %}
# set version based on nightly
# (we rebuild the nightly version ourselves because the tarball might have
# been generate on a different day)
{% set base_version = "@BASE_VERSION@" %}
{% set nightly_version = "@NIGHTLY_VERSION@" %}
{% if nightly_version %}
{% set version = base_version + ".dev" + datetime.datetime.utcnow().strftime("%Y%m%d") %}
{% else %}
{% set version = base_version %}
{% endif %}
# dependencies
{% set swig_version = "@MIN_SWIG_VERSION@" %}
{% set numpy_version = "@MIN_NUMPY_VERSION@" %}
......@@ -69,6 +80,17 @@ outputs:
- gsl
- hdf5
- zlib
run_constrained:
# make sure downstream packages are updated beyond the first
# appearance of liblal
- lal >=7.1.1
- python-lal >=7.1.1
test:
requires:
- pkg-config
commands:
- test $(pkg-config --modversion --print-errors lal) == "${PKG_VERSION}"
- test $(pkg-config --modversion --print-errors lalsupport) == "${PKG_VERSION}"
about:
home: https://wiki.ligo.org/Computing/LALSuite
doc_url: https://lscsoft.docs.ligo.org/lalsuite/lal/
......@@ -81,12 +103,6 @@ outputs:
The LSC Algorithm Library for gravitational wave data analysis.
This package contains the shared object libraries need to build
applications that use LAL.
test:
requires:
- pkg-config
commands:
- test $(pkg-config --modversion --print-errors lal) == "@VERSION@"
- test $(pkg-config --modversion --print-errors lalsupport) == "@VERSION@"
- name: python-lal
script: install-python.sh
......@@ -100,6 +116,7 @@ outputs:
requirements:
build:
- {{ compiler('c') }}
- help2man >=1.37
- make
- pkg-config >=0.18.0
- swig >={{ swig_version }}
......@@ -167,6 +184,7 @@ outputs:
requirements:
build:
- {{ compiler('c') }}
- help2man >=1.37
- make
host:
- {{ pin_subpackage('liblal', exact=True) }}
......
......@@ -5,8 +5,19 @@
# production-ready at any time.
{% set name = "lalapps" %}
{% set version = "@VERSION@".replace('-', '.') %}
# set version based on nightly
# (we rebuild the nightly version ourselves because the tarball might have
# been generate on a different day)
{% set base_version = "@BASE_VERSION@" %}
{% set nightly_version = "@NIGHTLY_VERSION@" %}
{% if nightly_version %}
{% set version = base_version + ".dev" + datetime.datetime.utcnow().strftime("%Y%m%d") %}
{% else %}
{% set version = base_version %}
{% endif %}
# dependencies
{% set framel_version = "@MIN_FRAMEL_VERSION@" %}
{% set lal_version = "@MIN_LAL_VERSION@a0" %}
{% set lalburst_version = "@MIN_LALBURST_VERSION@a0" %}
......@@ -73,22 +84,21 @@ requirements:
- fftw
- gsl
- h5py
- lal >={{ lal_version }}
- lalframe >={{ lalframe_version }}
- lalmetaio >={{ lalmetaio_version }}
- lalsimulation >={{ lalsimulation_version }}
- lalburst >={{ lalburst_version }}
- lalinspiral >={{ lalinspiral_version }}
- lalpulsar >={{ lalpulsar_version }}
- lalinference >={{ lalinference_version }}
- libframel >={{ framel_version }}
- liblal >={{ lal_version }}
- liblalframe >={{ lalframe_version }}
- liblalmetaio >={{ lalmetaio_version }}
- liblalsimulation >={{ lalsimulation_version }}
- liblalburst >={{ lalburst_version }}
- liblalinspiral >={{ lalinspiral_version }}
- liblalpulsar >={{ lalpulsar_version }}
- ligo-segments
- numpy
- pillow
- python
- python-lal >={{ lal_version }}
- python-lalburst >={{ lalburst_version }}
- python-lalframe >={{ lalframe_version }}
- python-lalinference >={{ lalinference_version }}
- python-lalinspiral >={{ lalinspiral_version }}
- python-lalmetaio >={{ lalmetaio_version }}
......@@ -99,46 +109,72 @@ requirements:
test:
imports:
- lalapps
- lalapps.git_version
- lalapps.cosmicstring
- lalapps.inspiral
- lalapps.inspiralutils
- lalapps.knope_utils
- lalapps.pulsarhtmlutils
- lalapps.pulsarpputils
requires:
- ldas-tools-framecpp
commands:
- lalapps_version --help
# set up test data (creates Z-ilwd_test_frame-600000000-1.gwf)
- framecpp_sample
# run --help
- lalapps_binj --help
- lalapps_binjfind --help
- lalapps_binj_pic --help
- lalapps_binjfind --help
- lalapps_blindinj --help
- lalapps_bucluster --help
- lalapps_bucut --help
- lalapps_burca --help
- lalapps_burca_tailor --help
- lalapps_cache Z-ilwd_test_frame-600000000-1.gwf
- lalapps_cafe --help
- lalapps_calcexpsnr --help
- lalapps_cbc_sbank --help
- lalapps_cbc_sbank_choose_mchirp_boundaries --help
- lalapps_cbc_sbank_hdf5_bankcombiner --help
- lalapps_cbc_sbank_hdf5_choose_mchirp_boundaries --help
- TMPDIR="." lalapps_cbc_sbank_pipe --help
- lalapps_cbc_sbank_sim --help
- TMPDIR="." lalapps_cbc_sbank_sim_pipe --help
- lalapps_cbc_stochasticbank --help
- lalapps_chirplen --m1 1.4 --m2 1.4 --flow 30
- lalapps_coh_PTF_inspiral --help
- lalapps_coh_PTF_spin_checker --help
- lalapps_coinj --help
- lalapps_cosmicstring_pipe --help
- lalapps_create_pulsar_signal_frame --help
- lalapps_create_solar_system_ephemeris --help
- lalapps_create_solar_system_ephemeris_python --help
- TEMPO2="" lalapps_create_time_correction_ephemeris --help
- lalapps_effdist --help
- lalapps_fftwf_wisdom --help
- lalapps_exc_resp -h
- lalapps_fftw_wisdom --help
- lalapps_fftwf_wisdom --help
- lalapps_fits_header_getval --help
- lalapps_fits_header_list --help
- lalapps_fits_overview --help
- lalapps_fits_table_list --help
- lalapps_frjoin --help
- lalapps_fr_ninja --help
- lalapps_frextr test.gwf Z-ilwd_test_frame-600000000-1.gwf Z0:RAMPED_INT_2U_1
- lalapps_frinfo Z-ilwd_test_frame-600000000-1.gwf
- lalapps_frjoin --verbose --output test.gwf Z-ilwd_test_frame-600000000-1.gwf
- lalapps_frread Z-ilwd_test_frame-600000000-1.gwf Z0:RAMPED_INT_2U_1
- lalapps_frview --help
- lalapps_gen_timeslides --help
- lalapps_gwf2xml --help
- lalapps_heterodyne_pulsar --help
- lalapps_inspfrinj --help
- lalapps_inspinj --help
- lalapps_inspinj --f-lower 30 --waveform IMRPhenomD --gps-start-time 1000000000 --gps-end-time 1000000010 --d-distr volume --l-distr random --m-distr log --i-distr gaussian --incl-std 2 --min-distance 100000 --max-distance 120000 --min-mass1 10 --max-mass1 20 --min-mass2 10 --max-mass2 20 --disable-spin --time-step
2
- lalapps_inspinjfind --help
- lalapps_makeblindinj --help
- lalapps_makeblindinj_himass --help
- lalapps_knope --help
- lalapps_knope_collate_results --help
#- lalapps_knope_result_page --help <- needs scotchcorner
- lalapps_make_nr_hdf_catalog --help
- lalapps_MakeSFTs --help
- lalapps_path2cache --help
- lalapps_path2cache <<< Z-ilwd_test_frame-600000000-1.gwf
- lalapps_plot_tisi --help
- lalapps_power --help
- lalapps_power_calc_likelihood --help
......@@ -147,24 +183,31 @@ test:
- lalapps_power_pipe --help
- lalapps_power_plot_binj --help
- lalapps_power_plot_binjtf --help
- lalapps_psinject -h
- lalapps_pulsar_frequency_evolution --help
- lalapps_pulsar_parameter_estimation_nested --help
- lalapps_randombank --help
- lalapps_random_bank 10 20 10
- lalapps_randombank --minimum-mass 10 --maximum-mass 20 --number-of-templates 10
- lalapps_run_sqlite --help
- lalapps_searchsum2cache --help
- lalapps_splitSFTs --help
- lalapps_ssbtodetector --help
- lalapps_splitbank --verbose --bank-file P1-TMPLTBANK-0-0.xml --number-of-banks 2 --minimal-match 0.9
- test "$(lalapps_ssbtodetector --gps 1000000000 --ra 0 --dec 0 --telescope JBO)" == "999999506.306100250"
- lalapps_string_apply_vetoes --help
- lalapps_string_calc_likelihood --help
- lalapps_string_contour_plotter --help
- lalapps_string_contour_plotter_largeloops --help
- lalapps_string_cs_gamma --help
- lalapps_string_cs_gamma_largeloops --help
- lalapps_string_final --help
- lalapps_string_meas_likelihood --help
- lalapps_string_plot_binj --help
- lalapps_string_plot_likelihood --help
- lalapps_StringSearch --help
- lalapps_tconvert --help
- test "$(lalapps_tconvert --rfc-2822 800000000)" == "Fri, 13 May 2005 06:13:07 +0000"
- test "$(lalapps_tconvert Fri, 13 May 2005 06:13:07 +0000)" -eq 800000000
- lalapps_thinca --help
- lalapps_tmpltbank --help
- lalapps_version
about:
home: https://wiki.ligo.org/Computing/LALSuite
......
......@@ -24,6 +24,7 @@ ${SRC_DIR}/configure \
--disable-python \
--disable-swig-octave \
--disable-swig-python \
--enable-help2man \
--enable-swig-iface \
--prefix="${PREFIX}" \
${EXTRA_CONFIG_FLAGS} \
......
......@@ -22,6 +22,7 @@ export GSL_LIBS="-L${PREFIX}/lib -lgsl"
${SRC_DIR}/configure \
--disable-doxygen \
--disable-swig-iface \
--enable-help2man \
--enable-python \
--enable-swig-python \
--prefix=$PREFIX \
......
......@@ -5,9 +5,17 @@
# production-ready at any time.
{% set name = "lalburst" %}
{% set version = "@VERSION@".replace('-', '.') %}
{% set url = "file://@TARBALL@" %}
{% set sha256 = "@SHA256@" %}
# set version based on nightly
# (we rebuild the nightly version ourselves because the tarball might have
# been generate on a different day)
{% set base_version = "@BASE_VERSION@" %}
{% set nightly_version = "@NIGHTLY_VERSION@" %}
{% if nightly_version %}
{% set version = base_version + ".dev" + datetime.datetime.utcnow().strftime("%Y%m%d") %}
{% else %}
{% set version = base_version %}
{% endif %}
# dependencies
{% set lal_version = "@MIN_LAL_VERSION@a0" %}
......@@ -69,11 +77,14 @@ outputs:
- liblalmetaio >={{ lalmetaio_version }}
- liblalsimulation >={{ lalsimulation_version }}
- metaio
run_constrained:
- lalburst >=1.5.7
- python-lalburst >=1.5.7
test:
requires:
- pkg-config
commands:
- test $(pkg-config --modversion --print-errors lalburst) == "@VERSION@"
- test $(pkg-config --modversion --print-errors lalburst) == "${PKG_VERSION}"
about:
home: https://wiki.ligo.org/Computing/LALSuite
doc_url: https://lscsoft.docs.ligo.org/lalsuite/lalframe/
......@@ -98,6 +109,7 @@ outputs:
requirements:
build:
- {{ compiler('c') }}
- help2man >=1.37
- make
- pkg-config >=0.18.0
- swig >={{ swig_version }}
......@@ -172,6 +184,7 @@ outputs:
requirements:
build:
- {{ compiler('c') }}
- help2man >=1.37
- make
host:
- liblal >={{ lal_version }}
......
......@@ -21,6 +21,7 @@ ${SRC_DIR}/configure \
--disable-python \
--disable-swig-octave \
--disable-swig-python \
--enable-help2man \
--enable-swig-iface \
--prefix="${PREFIX}" \
${EXTRA_CONFIG_FLAGS} \
......
......@@ -19,6 +19,7 @@ export CPPFLAGS="${CPPFLAGS} -UNDEBUG"
${SRC_DIR}/configure \
--disable-doxygen \
--disable-swig-iface \
--enable-help2man \
--enable-python \
--enable-swig-python \
--prefix=$PREFIX \
......
......@@ -5,8 +5,19 @@
# production-ready at any time.
{% set name = "lalframe" %}
{% set version = "@VERSION@".replace('-', '.') %}
# set version based on nightly
# (we rebuild the nightly version ourselves because the tarball might have
# been generate on a different day)
{% set base_version = "@BASE_VERSION@" %}
{% set nightly_version = "@NIGHTLY_VERSION@" %}
{% if nightly_version %}
{% set version = base_version + ".dev" + datetime.datetime.utcnow().strftime("%Y%m%d") %}
{% else %}
{% set version = base_version %}
{% endif %}
# dependencies
{% set lal_version = "@MIN_LAL_VERSION@a0" %}
{% set framel_version = "@MIN_FRAMEL_VERSION@" %}
{% set framecpp_version = "@MIN_FRAMECPPC_VERSION@" %}
......@@ -62,11 +73,14 @@ outputs:
- ldas-tools-framecpp >={{ framecpp_version }}
- libframel >={{ framel_version }}
- liblal >={{ lal_version }}
run_constrained:
- lalframe >=1.5.3
- python-lalframe >=1.5.3
test:
requires:
- pkg-config
commands:
- test $(pkg-config --modversion --print-errors lalframe) == "@VERSION@"
- test $(pkg-config --modversion --print-errors lalframe) == "${PKG_VERSION}"
about:
home: https://wiki.ligo.org/Computing/LALSuite
doc_url: https://lscsoft.docs.ligo.org/lalsuite/lalframe/
......@@ -91,6 +105,7 @@ outputs:
requirements:
build:
- {{ compiler('c') }}
- help2man >=1.37
- make
- pkg-config
- swig >={{ swig_version }}
......@@ -139,6 +154,7 @@ outputs:
requirements:
build:
- {{ compiler('c') }}
- help2man >=1.37
- make
host:
- liblal >={{ lal_version }}
......
EXTRA_DIST = \
build.sh \
conda_build_config.yaml \
install-bin.sh \
install-lib.sh \
install-python.sh \
......
......@@ -28,7 +28,6 @@ ${SRC_DIR}/configure \
--disable-python \
--disable-swig-octave \
--disable-swig-python \
--enable-help2man \
--enable-mpi \
--enable-openmp \
--enable-swig-iface \
......
mpi:
# in CI we only want to test vanilla openmpi
#- nompi
#- mpich # [unix]
- openmpi # [unix]
pin_run_as_build:
mpich:
max_pin: x.x
openmpi:
max_pin: x.x
../../conda/install-bin.sh
\ No newline at end of file
#!/bin/bash
set -ex
# build in a sub-directory using a copy of the python build
_builddir="_build${PY_VER}_${mpi}"
cp -r _build${PY_VER} ${_builddir}
cd ${_builddir}
# when running on gitlab-ci, we are not using a production
# build, so we don't want to use NDEBUG
export CPPFLAGS="${CPPFLAGS} -UNDEBUG"
# only link libraries we actually use
export GSL_LIBS="-L${PREFIX}/lib -lgsl"
# configure only python bindings and pure-python extras
${SRC_DIR}/configure \
--disable-doxygen \
--disable-gcc-flags \
--disable-swig \
--enable-help2man \
--enable-openmp \
--enable-mpi \
--enable-python \
--prefix=$PREFIX \
;
# install binaries
make -j ${CPU_COUNT} V=1 VERBOSE=1 install -C bin
# install system configuration files
make -j ${CPU_COUNT} V=1 VERBOSE=1 install-sysconfDATA
# -- create activate/deactivate scripts
PKG_NAME_UPPER=$(echo ${PKG_NAME} | awk '{ print toupper($0) }')
# activate.sh
ACTIVATE_SH="${PREFIX}/etc/conda/activate.d/activate_${PKG_NAME}.sh"
mkdir -p $(dirname ${ACTIVATE_SH})
cat > ${ACTIVATE_SH} << EOF
#!/bin/bash
export CONDA_BACKUP_${PKG_NAME_UPPER}_DATADIR="\${${PKG_NAME_UPPER}_DATADIR:-empty}"
export ${PKG_NAME_UPPER}_DATADIR="/opt/anaconda1anaconda2anaconda3/share/${PKG_NAME}"
EOF
# deactivate.sh
DEACTIVATE_SH="${PREFIX}/etc/conda/deactivate.d/deactivate_${PKG_NAME}.sh"
mkdir -p $(dirname ${DEACTIVATE_SH})
cat > ${DEACTIVATE_SH} << EOF
#!/bin/bash
if [ "\${CONDA_BACKUP_${PKG_NAME_UPPER}_DATADIR}" = "empty" ]; then
unset ${PKG_NAME_UPPER}_DATADIR
else
export ${PKG_NAME_UPPER}_DATADIR="\${CONDA_BACKUP_${PKG_NAME_UPPER}_DATADIR}"
fi
unset CONDA_BACKUP_${PKG_NAME_UPPER}_DATADIR
EOF
......@@ -23,7 +23,6 @@ ${SRC_DIR}/configure \
--disable-doxygen \
--disable-swig-iface \
--enable-help2man \
--enable-mpi \
--enable-python \
--enable-swig-python \
--prefix=$PREFIX \
......
......@@ -5,7 +5,18 @@
# production-ready at any time.
{% set name = "lalinference" %}
{% set version = "@VERSION@".replace('-', '.') %}
{% set build = 9999 %}
# set version based on nightly
# (we rebuild the nightly version ourselves because the tarball might have
# been generate on a different day)
{% set base_version = "@BASE_VERSION@" %}