Skip to content
Snippets Groups Projects
Commit 90cb8dd1 authored by Marko Petric's avatar Marko Petric
Browse files

Test for Frank for compilation against desy

parent 47a56c10
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# General variables
export LCGRELEASES=/cvmfs/sft.cern.ch/lcg/releases/LCG_84
#--------------------------------------------------------------------------------
# GCC 4.8.4
#--------------------------------------------------------------------------------
source $LCGRELEASES/gcc/4.8.4/x86_64-slc6/setup.sh
#--------------------------------------------------------------------------------
# CMake 3.4.1
#--------------------------------------------------------------------------------
export CMAKE_HOME=$LCGRELEASES/CMake/3.4.1/x86_64-slc6-gcc48-opt
export PATH=${CMAKE_HOME}/bin:$PATH
#--------------------------------------------------------------------------------
# Python 2.7.10
#--------------------------------------------------------------------------------
export PYTHONDIR=$LCGRELEASES/Python/2.7.10/x86_64-slc6-gcc48-opt
export PATH=$PYTHONDIR/bin:$PATH
export LD_LIBRARY_PATH=$PYTHONDIR/lib:$LD_LIBRARY_PATH
#--------------------------------------------------------------------------------
# pytools 1.9
#--------------------------------------------------------------------------------
export PYTOOLSDIR=$LCGRELEASES/pytools/1.9_python2.7/x86_64-slc6-gcc48-opt
export PYTHONPATH=$PYTOOLSDIR/lib/python2.7/site-packages:$PYTHONPATH
export PATH=$PYTOOLSDIR/bin:$PATH
#--------------------------------------------------------------------------------
# CLHEP
#--------------------------------------------------------------------------------
#export CLHEP=$LCGRELEASES/clhep/2.3.1.1/x86_64-slc6-gcc48-opt
export CLHEP="/afs/desy.de/project/ilcsoft/sw/x86_64_gcc48_sl6/CLHEP/2.3.1.1/"
export CLHEP_BASE_DIR="$CLHEP"
export CLHEP_INCLUDE_DIR="$CLHEP/include"
export PATH="$CLHEP_BASE_DIR/bin:$PATH"
export LD_LIBRARY_PATH="$CLHEP_BASE_DIR/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# ROOT
#--------------------------------------------------------------------------------
export ROOTSYS=$LCGRELEASES/ROOT/6.06.02/x86_64-slc6-gcc48-opt
export PYTHONPATH="$ROOTSYS/lib:$PYTHONPATH"
export PATH="$ROOTSYS/bin:$PATH"
export LD_LIBRARY_PATH="$ROOTSYS/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# LCIO
#--------------------------------------------------------------------------------
export LCIO="/afs/cern.ch/eng/clic/software/lcio/v02-08/x86_64-slc6-gcc48-opt"
export PYTHONPATH="$LCIO/src/python:$LCIO/examples/python:$PYTHONPATH"
export PATH="$LCIO/tools:$LCIO/bin:$PATH"
export LD_LIBRARY_PATH="$LCIO/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# Geant4
#--------------------------------------------------------------------------------
#export G4INSTALL=$LCGRELEASES/../Geant4/10.02-7c0e3/x86_64-slc6-gcc48-opt
export G4INSTALL="/afs/desy.de/project/ilcsoft/sw/x86_64_gcc48_sl6/geant4/10.02.p01/"
export G4ENV_INIT="$G4INSTALL/bin/geant4.sh"
export G4SYSTEM="Linux-g++"
#--------------------------------------------------------------------------------
# QT
#--------------------------------------------------------------------------------
export QTDIR=$LCGRELEASES/qt/4.8.4/x86_64-slc6-gcc48-opt
export QMAKESPEC="$QTDIR/mkspecs/linux-g++"
export PATH="$QTDIR/bin:$PATH"
export LD_LIBRARY_PATH="$QTDIR/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# Boost
#--------------------------------------------------------------------------------
export BOOST_ROOT=$LCGRELEASES/Boost/1.59.0_python2.7/x86_64-slc6-gcc48-opt
#--------------------------------------------------------------------------------
# XercesC
#--------------------------------------------------------------------------------
export XercesC_HOME=$LCGRELEASES/XercesC/3.1.1p1/x86_64-slc6-gcc48-opt
export PATH="$XercesC_HOME/bin:$PATH"
export LD_LIBRARY_PATH="$XercesC_HOME/lib:$LD_LIBRARY_PATH"
......@@ -10,6 +10,20 @@ slc6-gcc48:
- make -j4
- make install
- make test
slc6-gcc48-desy:
tags:
- docker
image: clicdp/slc6-base
script:
- source .gitlab-ci.d/init_x86_64-slc6-gcc48-opt-desy.sh
- mkdir build
- cd build
- cmake -D DD4HEP_USE_GEANT4=ON -D DD4HEP_USE_BOOST=ON -DBoost_NO_BOOST_CMAKE=ON -D DD4HEP_USE_LCIO=ON -D BUILD_TESTING=ON -DCLHEP_DIR=$CLHEP -D Geant4_DIR=$G4INSTALL/lib64/Geant4-10.2.0 -D DD$
- make -j4
- make install
- make test
slc6-gcc49:
tags:
......
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