Skip to content

Commit

Permalink
pybamm-team#3646 set parallel jobs for install_sundials.sh
Browse files Browse the repository at this point in the history
for Linux wheel builds
  • Loading branch information
agriyakhetarpal committed Dec 22, 2023
1 parent 139e34d commit 971ef8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/install_sundials.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ download $SUNDIALS_ROOT_ADDR $SUNDIALS_ARCHIVE_NAME
extract $SUITESPARSE_ARCHIVE_NAME
extract $SUNDIALS_ARCHIVE_NAME

# Build in parallel wherever possible
export MAKEFLAGS="-j$(nproc)"
export CMAKE_BUILD_PARALLEL_LEVEL=$(nproc)

### Compile and install SUITESPARSE ###
# SuiteSparse is required to compile SUNDIALS's
# KLU solver.
Expand Down

0 comments on commit 971ef8a

Please sign in to comment.