Skip to content

Commit

Permalink
ENH Rename env var for parallel level
Browse files Browse the repository at this point in the history
This is to distinguish it from the old env var `CMAKE_BUILD_PARALLEL_LEVEL`
  • Loading branch information
mike-wendt authored Jan 24, 2019
1 parent 9d23f94 commit c1ff82f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function logger() {

# Set path and build parallel level
export PATH=/conda/bin:/usr/local/cuda/bin:$PATH
export CMAKE_BUILD_PARALLEL_LEVEL=4
export PARALLEL_LEVEL=4

# Set home to the job's workspace
export HOME=$WORKSPACE
Expand Down Expand Up @@ -53,10 +53,10 @@ logger "Clean up make..."
make clean

logger "Make libcudf..."
make -j${CMAKE_BUILD_PARALLEL_LEVEL}
make -j${PARALLEL_LEVEL}

logger "Install libcudf..."
make -j${CMAKE_BUILD_PARALLEL_LEVEL} install
make -j${PARALLEL_LEVEL} install

logger "Install libcudf for Python..."
make python_cffi
Expand All @@ -75,7 +75,7 @@ nvidia-smi

logger "GoogleTest for libcudf..."
cd $WORKSPACE/cpp/build
GTEST_OUTPUT="xml:${WORKSPACE}/test-results/" make -j${CMAKE_BUILD_PARALLEL_LEVEL} test
GTEST_OUTPUT="xml:${WORKSPACE}/test-results/" make -j${PARALLEL_LEVEL} test

logger "Python py.test for libcudf..."
cd $WORKSPACE/cpp/build/python
Expand Down

0 comments on commit c1ff82f

Please sign in to comment.