Commit a36948e9 authored by Duncan Macleod's avatar Duncan Macleod
Browse files

conda: manually rebuild nightly version

in case the tarball the meta.yaml.in is inside was generated on a different day
parent c8b9b4e8
......@@ -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@" %}
......@@ -74,6 +85,12 @@ outputs:
# 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/
......@@ -86,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
......
......@@ -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" %}
......
......@@ -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/
......
......@@ -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@" %}
......@@ -66,7 +77,7 @@ outputs:
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/
......
......@@ -5,7 +5,17 @@
# production-ready at any time.
{% set name = "lalinference" %}
{% 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" %}
......@@ -85,6 +95,14 @@ outputs:
- liblalinspiral >={{ lalinspiral_version }}
- liblalpulsar >={{ lalpulsar_version }}
- llvm-openmp # [osx]
run_constrained:
- lalinference >=2.0.6
- python-lalinference >=2.0.6
test:
requires:
- pkg-config
commands:
- test $(pkg-config --modversion --print-errors lalinference) == "${PKG_VERSION}"
- name: python-lalinference
script: install-python.sh
......
......@@ -5,8 +5,19 @@
# production-ready at any time.
{% set name = "lalinspiral" %}
{% 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 lalframe_version = "@MIN_LALFRAME_VERSION@a0" %}
{% set lalmetaio_version = "@MIN_LALMETAIO_VERSION@a0" %}
......@@ -73,11 +84,14 @@ outputs:
- liblalmetaio >={{ lalmetaio_version }}
- liblalsimulation >={{ lalsimulation_version }}
- metaio
run_constrained:
- lalinspiral >=2.0.1
- python-lalinspiral >=2.0.1
test:
requires:
- pkg-config
commands:
- test $(pkg-config --modversion --print-errors lalinspiral) == "@VERSION@"
- test $(pkg-config --modversion --print-errors lalinspiral) == "${PKG_VERSION}"
about:
home: https://wiki.ligo.org/Computing/LALSuite
doc_url: https://docs.ligo.org/lscsoft/lalsuite/lalinspiral/
......
......@@ -5,9 +5,17 @@
# production-ready at any time.
{% set name = "lalmetaio" %}
{% 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" %}
......@@ -61,6 +69,14 @@ outputs:
run:
- liblal >={{ lal_version }}
- metaio >={{ metaio_version }}
run_constrained:
- lalmetaio >=2.0.1
- python-lalmetaio >=2.0.1
test:
requires:
- pkg-config
commands:
- test $(pkg-config --modversion --print-errors lalmetaio) == "${PKG_VERSION}"
about:
home: https://wiki.ligo.org/Computing/LALSuite
doc_url: https://lscsoft.docs.ligo.org/lalsuite/lalmetaio/
......
......@@ -5,8 +5,19 @@
# production-ready at any time.
{% set name = "lalpulsar" %}
{% 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 swig_version = "@MIN_SWIG_VERSION@" %}
{% set numpy_version = "@MIN_NUMPY_VERSION@" %}
......@@ -75,6 +86,14 @@ outputs:
- fftw
- gsl
- liblal >={{ lal_version }}
run_constrained:
- lalpulsar >=3.0.0
- python-lalpulsar >=3.0.0
test:
requires:
- pkg-config
commands:
- test $(pkg-config --modversion --print-errors lalpulsar) == "${PKG_VERSION}"
- name: python-lalpulsar
script: install-python.sh
......
......@@ -5,7 +5,17 @@
# production-ready at any time.
{% set name = "lalsimulation" %}
{% 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" %}
......@@ -65,6 +75,14 @@ outputs:
- gsl
- liblal >={{ lal_version }}
- llvm-openmp # [osx]
run_constrained:
- lalsimulation >=2.5.0
- python-lalsimulation >=2.5.0
test:
requires:
- pkg-config
commands:
- test $(pkg-config --modversion --print-errors lalsimulation) == "${PKG_VERSION}"
about:
home: https://wiki.ligo.org/Computing/LALSuite
doc_url: https://lscsoft.docs.ligo.org/lalsuite/lalsimulation/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment