Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
gpuCI: In ci/common/build.bash, don't bail on errors in `/etc/cccl.…
Browse files Browse the repository at this point in the history
…bashrc`.
  • Loading branch information
brycelelbach committed Jul 28, 2021
1 parent 4db1774 commit 1033c2c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/common/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Thrust and CUB build script for gpuCI
################################################################################

set -e
set -e # Stop on errors.

# append variable value
# Appends ${value} to ${variable}, adding a space before ${value} if
Expand Down Expand Up @@ -58,7 +58,9 @@ function join_delimit {
################################################################################

# Get the variables the Docker container set up for us: ${CXX}, ${CUDACXX}, etc.
set +e # Don't stop on errors from /etc/cccl.bashrc.
source /etc/cccl.bashrc
set -e # Stop on errors.

# Set path and build parallel level
export PATH=/usr/local/cuda/bin:${PATH}
Expand Down Expand Up @@ -196,6 +198,7 @@ fi
append CTEST_FLAGS "--output-on-failure"

CTEST_EXCLUSION_REGEXES=()
CTEST_INCLUSION_REGEXES=()

if [[ "${BUILD_TYPE}" == "cpu" ]]; then
CTEST_EXCLUSION_REGEXES+=("^cub" "^thrust.*cuda")
Expand Down

0 comments on commit 1033c2c

Please sign in to comment.