Skip to content

Commit

Permalink
Propagate installation script failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mscuttari committed Jan 22, 2025
1 parent a5d55ef commit dbe78f2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .jenkins/install_llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ cmake \
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;mlir;openmp" \
-DLLVM_ENABLE_ASSERTIONS=${LLVM_ENABLE_ASSERTIONS} \
-DLLVM_PARALLEL_COMPILE_JOBS=${LLVM_PARALLEL_COMPILE_JOBS} \
-DLLVM_PARALLEL_LINK_JOBS=${LLVM_PARALLEL_LINK_JOBS}
-DLLVM_PARALLEL_LINK_JOBS=${LLVM_PARALLEL_LINK_JOBS} \
|| exit 1

cmake --build build --target install
cmake --build build --target install || exit 1
rm -rf build
5 changes: 3 additions & 2 deletions .jenkins/install_marco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ cmake \
-B build \
-G Ninja \
-DCMAKE_LINKER_TYPE=MOLD \
-DCMAKE_BUILD_TYPE=${MARCO_BUILD_TYPE}
-DCMAKE_BUILD_TYPE=${MARCO_BUILD_TYPE} \
|| exit 1

cmake --build build --target install
cmake --build build --target install || exit 1
rm -rf build
5 changes: 3 additions & 2 deletions .jenkins/install_marco_runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ cmake \
-S . -B build -G Ninja \
-DCMAKE_LINKER_TYPE=MOLD \
-DCMAKE_BUILD_TYPE=${MARCO_RUNTIME_BUILD_TYPE} \
-DMARCO_USE_BUILTIN_SUNDIALS=OFF
-DMARCO_USE_BUILTIN_SUNDIALS=OFF \
|| exit 1

cmake --build build --target install
cmake --build build --target install || exit 1
rm -rf build
5 changes: 3 additions & 2 deletions .jenkins/install_openmodelica.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DOM_USE_CCACHE=OFF \
-DOM_ENABLE_GUI_CLIENTS=OFF
-DOM_ENABLE_GUI_CLIENTS=OFF \
|| exit 1

cmake --build build --target install
cmake --build build --target install || exit 1
rm -rf build

0 comments on commit dbe78f2

Please sign in to comment.