Commit 0653136e authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

build script for ci updated

parent 65132ec8
Pipeline #1747 failed with stages
in 24 minutes and 2 seconds
......@@ -20,9 +20,6 @@ if [ $# -gt 0 ]; then
--parallel)
COMPONENT="PARALLEL" # [SEQUENTIAL|PARALLEL]
shift ;;
--png)
ENABLE_PNG="1"
shift ;;
--)
shift
break ;;
......@@ -50,10 +47,6 @@ else
FLAGS="-DENABLE_UMFPACK:BOOL=OFF -DENABLE_PARALLEL_DOMAIN:BOOL=ON -DENABLE_ZOLTAN:BOOL=ON"
fi
if [ "${ENABLE_PNG}" == "1" ]; then
FLAGS="${FLAGS} -DENABLE_PNG:BOOL=ON"
fi
if [[ "${STAGE}" == "build" || "${STAGE}" == "all" ]]; then
# at first build AMDiS
cmake -E make_directory ${ROOT}/build_${POSTFIX}
......@@ -72,7 +65,7 @@ if [[ "${STAGE}" == "demo" || "${STAGE}" == "all" ]]; then
BASEDIR=${ROOT}/demo
cmake -E make_directory ${BASEDIR}/build_${POSTFIX}
cmake -E chdir ${BASEDIR}/build_${POSTFIX} cmake \
-DAMDIS_DIR=${ROOT}/install/share/amdis \
-DAMDiS_DIR=${ROOT}/install/lib/amdis/cmake \
-DCMAKE_BUILD_TYPE=${CONFIG} \
-DCOMPONENT=${COMPONENT} \
${BASEDIR}
......@@ -84,7 +77,7 @@ if [[ "${STAGE}" == "test" || "${STAGE}" == "all" ]]; then
BASEDIR=${ROOT}/test
cmake -E make_directory ${BASEDIR}/build_${POSTFIX}
cmake -E chdir ${BASEDIR}/build_${POSTFIX} cmake \
-DAMDIS_DIR=${ROOT}/install/share/amdis \
-DAMDiS_DIR=${ROOT}/install/lib/amdis/cmake \
-DCMAKE_BUILD_TYPE=${CONFIG} \
-DCOMPONENT=${COMPONENT} \
${BASEDIR}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment