Skip to content
Snippets Groups Projects
Commit dcce7668 authored by Bienchen's avatar Bienchen
Browse files

Getting Cmake on in CI

parent 86101f68
Branches
Tags
No related merge requests found
...@@ -11,6 +11,7 @@ stages: ...@@ -11,6 +11,7 @@ stages:
before_script: before_script:
- echo "Running global 'before_script'..." - echo "Running global 'before_script'..."
- yum -y -q -e 0 install tcl - yum -y -q -e 0 install tcl
- yum -y -q -e 0 install make
- mkdir -p /scicore/soft/modules - mkdir -p /scicore/soft/modules
- ln -s /export/soft/apps/centos6/generic /scicore/soft/apps - ln -s /export/soft/apps/centos6/generic /scicore/soft/apps
- ln -s /export/soft/modules/centos6/generic/all /scicore/soft/modules - ln -s /export/soft/modules/centos6/generic/all /scicore/soft/modules
...@@ -34,25 +35,23 @@ build:centos6.6: ...@@ -34,25 +35,23 @@ build:centos6.6:
image: centos:6.6 image: centos:6.6
script: script:
- echo "Building on CentOS 6..." - echo "Building on CentOS 6..."
- module list
- cmake .. -DENABLE_MM=1 - cmake .. -DENABLE_MM=1
-DOPEN_MM_LIBRARY=$EBROOTOPENMM/lib/libOpenMM.so -DOPEN_MM_LIBRARY=$EBROOTOPENMM/lib/libOpenMM.so
-DOPEN_MM_PLUGIN_DIR=$EBROOTOPENMM/lib/plugins -DOPEN_MM_PLUGIN_DIR=$EBROOTOPENMM/lib/plugins
-DOPEN_MM_INCLUDE_DIR=$EBROOTOPENMM/include -DOPEN_MM_INCLUDE_DIR=$EBROOTOPENMM/include
-DCOMPILE_TMTOOLS=1 -DCOMPILE_TMTOOLS=1
-DENABLE_GFX=OFF -DENABLE_GFX=OFF
-DENABLE_GUI=OFF -DENABLE_GUI=OFF
-DUSE_NUMPY=1 -DUSE_NUMPY=1
-DUSE_RPATH=1 -DUSE_RPATH=1
-DPYTHON_ROOT=$EBROOTPYTHON -DPYTHON_ROOT=$EBROOTPYTHON
-DEIGEN3_INCLUDE_DIR=$EBROOTEIGEN/include -DEIGEN3_INCLUDE_DIR=$EBROOTEIGEN/include
-DFFTW_LIBRARY=$EBROOTFFTW/lib/libfftw3f.a -DFFTW_LIBRARY=$EBROOTFFTW/lib/libfftw3f.a
-DFFTW_INCLUDE_DIR=$EBROOTFFTW/include -DFFTW_INCLUDE_DIR=$EBROOTFFTW/include
-DBOOST_ROOT=$EBROOTBOOST -DBOOST_ROOT=$EBROOTBOOST
-DQT_QMAKE_EXECUTABLE=$EBROOTQT/bin/qmake -DQT_QMAKE_EXECUTABLE=$EBROOTQT/bin/qmake
-DCOMPOUND_LIB=$COMP_LIB -DCOMPOUND_LIB=$COMP_LIB
-DOPTIMIZE=1 -DOPTIMIZE=1
- cat /etc/redhat-release
- echo "... done building on CentOS 6." - echo "... done building on CentOS 6."
# TESTS STAGE # TESTS STAGE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment