Skip to content

Commit

Permalink
ci: enable multicore builds for unit test (#3753)
Browse files Browse the repository at this point in the history
This commit passes in an additional parameter to the cmake build
invocation which will allow the build process to run in parallel. This
should speed up builds
  • Loading branch information
jmayclin authored Jan 18, 2023
1 parent 97bed6e commit 52661e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codebuild/bin/s2n_codebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ run_unit_tests() {
-D${CMAKE_PQ_OPTION} \
-DS2N_BLOCK_NONPORTABLE_OPTIMIZATIONS=True \
-DBUILD_SHARED_LIBS=on
cmake --build ./build
cmake --build ./build -- -j $(nproc)
test_linked_libcrypto ./build/bin/s2nc
make -C build test ARGS=-j$(nproc);
}
Expand Down

0 comments on commit 52661e9

Please sign in to comment.