diff --git a/.dd4hep-ci.d/init_x86_64.sh b/.dd4hep-ci.d/init_x86_64.sh index a9131a49cd6fc1c33a0d302ca3c08de8f4c46d88..658838dce9db5bce9213f185a34e4293a5900a78 100644 --- a/.dd4hep-ci.d/init_x86_64.sh +++ b/.dd4hep-ci.d/init_x86_64.sh @@ -28,11 +28,13 @@ fi if [ -z ${COMPILER_TYPE} ]; then COMPILER_TYPE="gcc" fi -if [ ${COMPILER_TYPE} == "gcc" ]; then - COMPILER_VERSION="gcc8" -fi -if [[ ${COMPILER_TYPE} == "clang" ]]; then - COMPILER_VERSION="clang8" +if [ -z ${COMPILER_VERSION} ]; then + if [ ${COMPILER_TYPE} == "gcc" ]; then + COMPILER_VERSION="gcc8" + fi + if [[ ${COMPILER_TYPE} == "clang" ]]; then + COMPILER_VERSION="clang8" + fi fi