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

Update .gitlab-ci.yml: switched to system-build of gstlal deps in el7...

Update .gitlab-ci.yml: switched to system-build of gstlal deps in el7 container. general clean up. this switch involves migration of to gstreamer 1.14
parent 310c36df
No related branches found
No related tags found
No related merge requests found
...@@ -13,9 +13,6 @@ before_script: ...@@ -13,9 +13,6 @@ before_script:
- mkdir public - mkdir public
- mkdir -p ${GSTLAL_DIR} - mkdir -p ${GSTLAL_DIR}
# Update apt info
- apt update
# Define GstLAL build parameters: # Define GstLAL build parameters:
- export PATH="${GSTLAL_DIR}/bin:/usr/lib/ccache:/opt/local/libexec/ccache:${PATH}" - export PATH="${GSTLAL_DIR}/bin:/usr/lib/ccache:/opt/local/libexec/ccache:${PATH}"
- export LD_LIBRARY_PATH="${GSTLAL_DIR}/lib:${GSTLAL_DIR}/lib64:${LD_LIBRARY_PATH}" - export LD_LIBRARY_PATH="${GSTLAL_DIR}/lib:${GSTLAL_DIR}/lib64:${LD_LIBRARY_PATH}"
...@@ -37,8 +34,7 @@ before_script: ...@@ -37,8 +34,7 @@ before_script:
# Define build and linking parameters: # Define build and linking parameters:
- export CFLAGS="-O3 -fPIC -DMKL_ILP64 -m64 -I${MKLROOT}/include -I${GSTLAL_DIR}/include" - export CFLAGS="-O3 -fPIC -DMKL_ILP64 -m64 -I${MKLROOT}/include -I${GSTLAL_DIR}/include"
- export LDFLAGS="-lfftw3 -lfftw3f -lfftw3_threads -lfftw3f_threads -L${GSTLAL_DIR}/lib -L${MKLROOT}/lib/intel64 -Wl,--no-as-needed -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl" - export LDFLAGS="-l:libfftw3.so -l:libfftw3f.so -l:libfftw3_threads.so -l:libfftw3f_threads.so -L${GSTLAL_DIR}/lib -L${MKLROOT}/lib/intel64 -Wl,--no-as-needed -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl"
- export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libfftw3.so:/usr/lib/x86_64-linux-gnu/libfftw3f.so"
- export TMPDIR=/tmp - export TMPDIR=/tmp
...@@ -60,7 +56,7 @@ stages: ...@@ -60,7 +56,7 @@ stages:
- verify - verify
level0:gstlal: level0:gstlal:
image: aepace/gstlal-dev:stretch-mkl image: aepace/gstlal-dev:el7-mkl-1.14
stage: level0 stage: level0
script: script:
- cd gstlal - cd gstlal
...@@ -78,7 +74,7 @@ level0:gstlal: ...@@ -78,7 +74,7 @@ level0:gstlal:
- schedules - schedules
level1:gstlal-ugly: level1:gstlal-ugly:
image: aepace/gstlal-dev:stretch-mkl image: aepace/gstlal-dev:el7-mkl-1.14
stage: level1 stage: level1
dependencies: dependencies:
- level0:gstlal - level0:gstlal
...@@ -98,7 +94,7 @@ level1:gstlal-ugly: ...@@ -98,7 +94,7 @@ level1:gstlal-ugly:
- schedules - schedules
level2:gstlal-calibration: level2:gstlal-calibration:
image: aepace/gstlal-dev:stretch-mkl image: aepace/gstlal-dev:el7-mkl-1.14
stage: level2 stage: level2
dependencies: dependencies:
- level1:gstlal-ugly - level1:gstlal-ugly
...@@ -118,7 +114,7 @@ level2:gstlal-calibration: ...@@ -118,7 +114,7 @@ level2:gstlal-calibration:
- schedules - schedules
level2:gstlal-inspiral: level2:gstlal-inspiral:
image: aepace/gstlal-dev:stretch-mkl image: aepace/gstlal-dev:el7-mkl-1.14
stage: level2 stage: level2
dependencies: dependencies:
- level1:gstlal-ugly - level1:gstlal-ugly
...@@ -158,7 +154,7 @@ level2:gstlal-burst: ...@@ -158,7 +154,7 @@ level2:gstlal-burst:
- schedules - schedules
gstlal-verify: gstlal-verify:
image: aepace/gstlal-dev:stretch-mkl image: aepace/gstlal-dev:el7-mkl-1.14
stage: verify stage: verify
script: script:
# ------------------------------------------------------------------- # -------------------------------------------------------------------
...@@ -211,7 +207,7 @@ gstlal-verify: ...@@ -211,7 +207,7 @@ gstlal-verify:
- manual - manual
test:gstlal: test:gstlal:
image: aepace/gstlal-dev:stretch-mkl image: aepace/gstlal-dev:el7-mkl-1.14
stage: test-gstlal stage: test-gstlal
dependencies: dependencies:
- level0:gstlal - level0:gstlal
...@@ -219,12 +215,10 @@ test:gstlal: ...@@ -219,12 +215,10 @@ test:gstlal:
- export GSTLAL_FIR_WHITEN=0 - export GSTLAL_FIR_WHITEN=0
# Get the necessary ROM data: # Get the necessary ROM data:
- git lfs install
- git clone https://git.ligo.org/lscsoft/lalsuite-extra.git ${GSTLAL_DIR}/lalsuite-extra - git clone https://git.ligo.org/lscsoft/lalsuite-extra.git ${GSTLAL_DIR}/lalsuite-extra
- export LAL_DATA_PATH=${GSTLAL_DIR}/lalsuite-extra/data/lalsimulation/ - export LAL_DATA_PATH=${GSTLAL_DIR}/lalsuite-extra/data/lalsimulation/
# Run doctests # Run doctests
- apt-get install -y python-pytest
- cd gstlal - cd gstlal
- python -m pytest -v --doctest-modules --ignore gst/python --ignore port-tools --ignore tests --ignore python/misc.py --ignore python/pipeparts/__init__.py --ignore python/matplotlibhelper.py - python -m pytest -v --doctest-modules --ignore gst/python --ignore port-tools --ignore tests --ignore python/misc.py --ignore python/pipeparts/__init__.py --ignore python/matplotlibhelper.py
only: only:
...@@ -232,13 +226,12 @@ test:gstlal: ...@@ -232,13 +226,12 @@ test:gstlal:
- schedules - schedules
test:gstlal-inspiral: test:gstlal-inspiral:
image: aepace/gstlal-dev:stretch-mkl image: aepace/gstlal-dev:el7-mkl-1.14
stage: test-inspiral stage: test-inspiral
dependencies: dependencies:
- level2:gstlal-inspiral - level2:gstlal-inspiral
script: script:
- export GSTLAL_FIR_WHITEN=0 - export GSTLAL_FIR_WHITEN=0
- apt-get install -y python-pytest
- cd gstlal-inspiral - cd gstlal-inspiral
- python -m pytest -v --doctest-modules --ignore gst/python --ignore tests --ignore python/lloidplots.py --ignore python/llweb.py --ignore python/plotsegments.py --ignore python/plotsensitivity.py --ignore python/snglinspiraltable.py --ignore python/spawaveform.py --ignore python/spiirparts.py --ignore python/webpage.py --ignore python/imr_utils.py --ignore python/stats/inspiral_extrinsics.py --ignore python/templates.py - python -m pytest -v --doctest-modules --ignore gst/python --ignore tests --ignore python/lloidplots.py --ignore python/llweb.py --ignore python/plotsegments.py --ignore python/plotsensitivity.py --ignore python/snglinspiraltable.py --ignore python/spawaveform.py --ignore python/spiirparts.py --ignore python/webpage.py --ignore python/imr_utils.py --ignore python/stats/inspiral_extrinsics.py --ignore python/templates.py
only: only:
...@@ -246,12 +239,11 @@ test:gstlal-inspiral: ...@@ -246,12 +239,11 @@ test:gstlal-inspiral:
- schedules - schedules
test:gstlal-burst: test:gstlal-burst:
image: aepace/gstlal-dev:stretch-mkl image: aepace/gstlal-dev:el7-mkl-1.14
stage: test-burst stage: test-burst
dependencies: dependencies:
- level2:gstlal-burst - level2:gstlal-burst
script: script:
- apt-get install -y python-pytest
- cd gstlal-burst - cd gstlal-burst
- python -m pytest -v --doctest-modules --ignore python/excesspower --ignore tests/trigger_test_01.py - python -m pytest -v --doctest-modules --ignore python/excesspower --ignore tests/trigger_test_01.py
only: only:
...@@ -259,7 +251,7 @@ test:gstlal-burst: ...@@ -259,7 +251,7 @@ test:gstlal-burst:
- schedules - schedules
test:offline: test:offline:
image: aepace/gstlal-dev:stretch-mkl image: aepace/gstlal-dev:el7-mkl-1.14
stage: test-offline stage: test-offline
dependencies: dependencies:
- level1:gstlal-ugly - level1:gstlal-ugly
...@@ -272,12 +264,11 @@ test:offline: ...@@ -272,12 +264,11 @@ test:offline:
- export USER=gstlal_CI_test - export USER=gstlal_CI_test
# Get documentation packages, and download lalsuite-extra data: # Get documentation packages, and download lalsuite-extra data:
- apt-get install --assume-yes texlive-base texlive-binaries texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended dvipng - yum -y install --assume-yes texlive-base texlive-dvipng
- apt-get install --assume-yes texlive-fonts-recommended-doc texlive-generic-extra texlive-generic-recommended texlive-latex-base texlive-latex-base-doc texlive-latex-extra - yum -y install --assume-yes texlive-latex texlive-latex-base-doc texlive-latex-fonts texlive-latex-bin texlive-latex-bin-bin
- apt-get install --assume-yes texlive-latex-extra-doc texlive-latex-recommended texlive-latex-recommended-doc texlive-pictures texlive-pictures-doc texlive-pstricks texlive-pstricks-doc texlive-science texlive-science-doc - yum -y install --assume-yes texlive-pictures texlive-pstricks texlive-pstricks-doc
# Get the necessary ROM data: # Get the necessary ROM data:
- git lfs install
- git clone https://git.ligo.org/lscsoft/lalsuite-extra.git ${GSTLAL_DIR}/lalsuite-extra - git clone https://git.ligo.org/lscsoft/lalsuite-extra.git ${GSTLAL_DIR}/lalsuite-extra
- export LAL_DATA_PATH=${GSTLAL_DIR}/lalsuite-extra/data/lalsimulation/ - export LAL_DATA_PATH=${GSTLAL_DIR}/lalsuite-extra/data/lalsimulation/
...@@ -295,7 +286,7 @@ test:offline: ...@@ -295,7 +286,7 @@ test:offline:
- schedules - schedules
pages: pages:
image: aepace/gstlal-dev:stretch-mkl image: aepace/gstlal-dev:el7-mkl-1.14l
stage: nightly-pages stage: nightly-pages
script: script:
- echo "Building Documentation" - echo "Building Documentation"
...@@ -303,9 +294,9 @@ pages: ...@@ -303,9 +294,9 @@ pages:
# since they don't need to be part of the dev container for running, only # since they don't need to be part of the dev container for running, only
# for building documentation. This shaves ~600MB off the size of the gstlal-dev # for building documentation. This shaves ~600MB off the size of the gstlal-dev
# container: # container:
- apt-get install --assume-yes python-sphinx texlive-base texlive-binaries texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended - yum -y install --assume-yes texlive-base texlive-dvipng python-sphinx
- apt-get install --assume-yes texlive-fonts-recommended-doc texlive-generic-extra texlive-generic-recommended texlive-latex-base texlive-latex-base-doc texlive-latex-extra - yum -y install --assume-yes texlive-latex texlive-latex-base-doc texlive-latex-fonts texlive-latex-bin texlive-latex-bin-bin
- apt-get install --assume-yes texlive-latex-extra-doc texlive-latex-recommended texlive-latex-recommended-doc texlive-pictures texlive-pictures-doc texlive-pstricks texlive-pstricks-doc texlive-science texlive-science-doc - yum -y install --assume-yes texlive-pictures texlive-pstricks texlive-pstricks-doc
- export GSTLAL_FIR_WHITEN=0 - export GSTLAL_FIR_WHITEN=0
- export TMPDIR=tmp/ - export TMPDIR=tmp/
- cd doc; make html - cd doc; make html
......
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