Skip to content

Commit

Permalink
Stop CUDA 12 tests from running in CI
Browse files Browse the repository at this point in the history
The driver on Piz Daint is too old to run binaries built with CUDA 12.
  • Loading branch information
msimberg committed May 11, 2023
1 parent 289a381 commit 3487806
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .jenkins/cscs/batch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spack build-env ${spack_spec} -- ctest \
--verbose \
-S ${src_dir}/.jenkins/cscs/ctest.cmake \
-DCTEST_BUILD_EXTRA_OPTIONS="${build_extra_options:-}" \
-DCTEST_TEST_EXTRA_OPTIONS="${test_extra_options:-}" \
-DCTEST_CONFIGURE_EXTRA_OPTIONS="${configure_extra_options} -DCMAKE_INSTALL_PREFIX=${install_dir}" \
-DCTEST_BUILD_CONFIGURATION_NAME="${configuration_name_with_build_type}" \
-DCTEST_SOURCE_DIRECTORY="${src_dir}" \
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/cscs/ctest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ctest_submit(PARTS Configure)
ctest_build(TARGET install FLAGS "-k0 ${CTEST_BUILD_EXTRA_OPTIONS}")
ctest_build(TARGET tests FLAGS "-k0 ${CTEST_BUILD_EXTRA_OPTIONS}")
ctest_submit(PARTS Build)
ctest_test(${test_args})
ctest_test(${test_args} ${CTEST_TEST_EXTRA_OPTIONS})
ctest_submit(PARTS Test BUILD_ID CTEST_BUILD_ID)
file(WRITE "jenkins-pika-${CTEST_BUILD_CONFIGURATION_NAME}-cdash-build-id.txt"
"${CTEST_BUILD_ID}"
Expand Down
4 changes: 4 additions & 0 deletions .jenkins/cscs/env-gcc-12.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ configure_extra_options+=" -DPIKA_WITH_MALLOC=system"
configure_extra_options+=" -DPIKA_WITH_SPINLOCK_DEADLOCK_DETECTION=ON"

build_extra_options+=" -j10"

# All async_cuda tests are disabled from running because the driver on Piz Daint
# is too old for CUDA 12.
test_extra_options+=" EXCLUDE async_cuda"

0 comments on commit 3487806

Please sign in to comment.