Skip to content
Snippets Groups Projects
Verified Commit 5d16d160 authored by Xavier Robin's avatar Xavier Robin
Browse files

CI: try to link the compound lib differently

parent 1e9803eb
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@ stages:
test:centos7.3:
stage: test
image: centos:7.3.1611
variables:
COMP_LIB: "/scicore/home/schwede/GROUP/OpenStructure/ChemLib/2.6/compounds.chemlib"
before_script:
- echo "Running centos7.3 'before_script'..."
- yum -y -q -e 0 install tcl
......@@ -74,11 +76,9 @@ test:centos7.3:
-DCMAKE_C_FLAGS='-L${EBROOTLIBPNG}/lib/ -L${EBROOTLIBTIFF}/lib/ -L${EBROOTZLIB}/lib/ -isystem ${EBROOTBOOST}/include -isystem ${EBROOTOPENMM}/include'
-DCMAKE_CXX_FLAGS='-L${EBROOTLIBPNG}/lib/ -L${EBROOTLIBTIFF}/lib/ -L${EBROOTZLIB}/lib/ -isystem ${EBROOTBOOST}/include -isystem ${EBROOTOPENMM}/include'
-DCMAKE_EXE_LINKER_FLAGS=" -pthread"
-DCOMPOUND_LIB="$COMP_LIB"
- make -j 2
- echo " ... done building OST."
- echo " Linking the compound library..."
- ln -s /scicore/home/schwede/GROUP/OpenStructure/ChemLib/2.6/compounds.chemlib stage/share/openstructure/
- echo " ... done linking the compound library..."
- echo " Running unit tests for OST..."
- make check
- echo " ... done running unit tests for OST..."
......
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