Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
Trying same nprocs as gcc build to compare make time
Browse files Browse the repository at this point in the history
  • Loading branch information
pjh5 committed Jan 17, 2018
1 parent 5722eef commit ac9506b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions conda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ CMAKE_ARGS+=("-DCMAKE_PREFIX_PATH=$PREFIX")
mkdir -p build
cd build
cmake "${CMAKE_ARGS[@]}" $CONDA_CMAKE_ARGS $PYTHON_ARGS ..
if [ "$(uname)" == 'Darwin' ]; then
make "-j$(sysctl -n hw.ncpu)"
else
make "-j$(nproc)"
fi
make -j4
#if [ "$(uname)" == 'Darwin' ]; then
# make "-j$(sysctl -n hw.ncpu)"
#else
# make "-j$(nproc)"
#fi

make install/fast

Expand Down

0 comments on commit ac9506b

Please sign in to comment.