diff --git a/.gitlab-ci.d/init_clang.sh b/.gitlab-ci.d/init_clang.sh
new file mode 100644
index 0000000000000000000000000000000000000000..48b80b397aaf31e3d0add3e609e127108625dc12
--- /dev/null
+++ b/.gitlab-ci.d/init_clang.sh
@@ -0,0 +1,87 @@
+#!/bin/bash
+
+
+if [ "$( cat /etc/*-release | grep Scientific )" ]; then
+    OS=slc6
+elif [ "$( cat /etc/*-release | grep CentOS )" ]; then
+    OS=centos7
+else
+    echo "UNKNOWN OS"
+    exit 1
+fi
+
+BUILD_TYPE=opt
+
+# General variables
+CLICREPO=/cvmfs/clicdp.cern.ch
+BUILD_FLAVOUR=x86_64-slc6-llvm39-${BUILD_TYPE}
+#--------------------------------------------------------------------------------
+#     LLVM
+#--------------------------------------------------------------------------------
+
+source ${CLICREPO}/compilers/llvm/3.9.0/x86_64-${OS}/setup.sh
+
+#--------------------------------------------------------------------------------
+#     CMake
+#--------------------------------------------------------------------------------
+
+export CMAKE_HOME=${CLICREPO}/software/CMake/3.6.2/${BUILD_FLAVOUR}
+export PATH=${CMAKE_HOME}/bin:$PATH
+
+#--------------------------------------------------------------------------------
+#     Python
+#--------------------------------------------------------------------------------
+
+export PYTHONDIR=${CLICREPO}/software/Python/2.7.12/${BUILD_FLAVOUR}
+export PATH=$PYTHONDIR/bin:$PATH
+export LD_LIBRARY_PATH=$PYTHONDIR/lib:$LD_LIBRARY_PATH
+
+#--------------------------------------------------------------------------------
+#     ROOT
+#--------------------------------------------------------------------------------
+
+export ROOTSYS=${CLICREPO}/software/ROOT/6.08.00-rc1/${BUILD_FLAVOUR}
+export PYTHONPATH="$ROOTSYS/lib:$PYTHONPATH"
+export PATH="$ROOTSYS/bin:$PATH"
+export LD_LIBRARY_PATH="$ROOTSYS/lib:$LD_LIBRARY_PATH"
+
+#--------------------------------------------------------------------------------
+#     XercesC
+#--------------------------------------------------------------------------------
+
+export XercesC_HOME=${CLICREPO}/software/Xerces-C/3.1.4/${BUILD_FLAVOUR}
+export PATH="$XercesC_HOME/bin:$PATH"
+export LD_LIBRARY_PATH="$XercesC_HOME/lib:$LD_LIBRARY_PATH"
+
+
+#--------------------------------------------------------------------------------
+#     Geant4	
+#--------------------------------------------------------------------------------
+
+export G4INSTALL=${CLICREPO}/software/Geant4/10.02.p02/${BUILD_FLAVOUR}
+export G4ENV_INIT="$G4INSTALL/bin/geant4.sh"
+export G4SYSTEM="Linux-g++"
+
+
+#--------------------------------------------------------------------------------
+#     LCIO
+#--------------------------------------------------------------------------------
+export LCIO=${CLICREPO}/software/LCIO/2.7.1/x86_64-slc6-gcc48-opt
+# export PYTHONPATH="$LCIO/src/python:$LCIO/examples/python:$PYTHONPATH"
+export PATH="$LCIO/bin:$PATH"
+export LD_LIBRARY_PATH="$LCIO/lib:$LD_LIBRARY_PATH"
+
+
+#--------------------------------------------------------------------------------
+#     Boost
+#--------------------------------------------------------------------------------
+
+export BOOST_ROOT=${CLICREPO}/software/Boost/1.62.0/${BUILD_FLAVOUR}
+export LD_LIBRARY_PATH="${BOOST_ROOT}/lib:$LD_LIBRARY_PATH"
+
+#--------------------------------------------------------------------------------
+#     Ninja
+#--------------------------------------------------------------------------------
+
+export Ninja_HOME=${CLICREPO}/software/Ninja/1.7.1/${BUILD_FLAVOUR}
+export PATH="$Ninja_HOME:$PATH"