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 authored and js1tr3 committed Aug 12, 2024
1 parent b225da3 commit 3f58fcb
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 3f58fcb

Please sign in to comment.