Skip to content

Commit

Permalink
Restore disabling benchmarks from ci scripts (removed in #493)
Browse files Browse the repository at this point in the history
  • Loading branch information
wmaxey committed Feb 29, 2024
1 parent 75e867e commit de76435
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/build_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ while [ "${#args[@]}" -ne 0 ]; do
-std) CXX_STANDARD="${args[1]}"; args=("${args[@]:2}");;
-cuda) CUDA_COMPILER="${args[1]}"; args=("${args[@]:2}");;
-arch) CUDA_ARCHS="${args[1]}"; args=("${args[@]:2}");;
-disable-benchmarks) ENABLE_CUB_BENCHMARKS="false"; args=("${args[@]:1}");;
-disable-benchmarks) DISABLE_CUB_BENCHMARKS=1; args=("${args[@]:1}");;
-cmake-options)
if [ -n "${args[1]}" ]; then
IFS=' ' read -ra split_args <<< "${args[1]}"
Expand Down
4 changes: 4 additions & 0 deletions ci/build_cub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ if [[ "$HOST_COMPILER" == *icpc* ]]; then
ENABLE_CUB_BENCHMARKS="false"
fi

if [[ $DISABLE_CUB_BENCHMARKS ]]; then
ENABLE_CUB_BENCHMARKS="false"
fi

PRESET="cub-cpp$CXX_STANDARD"

CMAKE_OPTIONS="
Expand Down

0 comments on commit de76435

Please sign in to comment.