diff options
author | Brad King <brad.king@kitware.com> | 2023-08-07 20:46:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-08-07 20:46:38 (GMT) |
commit | cffa56c9186e1fadf24b9410240d7f9774501eee (patch) | |
tree | 1c69a9f4f58c4e203a5e238b97062a9966feece4 /.gitlab | |
parent | 05277d92da7802830ef52ddda6a621e970f64795 (diff) | |
download | CMake-cffa56c9186e1fadf24b9410240d7f9774501eee.zip CMake-cffa56c9186e1fadf24b9410240d7f9774501eee.tar.gz CMake-cffa56c9186e1fadf24b9410240d7f9774501eee.tar.bz2 |
ci: Add HIP job based on Fedora image
The Fedora `rocm-hip-devel` package organizes the `hip-lang` cmake package
differently from the official ROCm base images. Cover it separately.
Issue: #25050
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/configure_fedora38_hip_radeon.cmake | 3 | ||||
-rw-r--r-- | .gitlab/ci/env_fedora38_hip_radeon.sh | 1 | ||||
-rw-r--r-- | .gitlab/os-linux.yml | 7 |
3 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_fedora38_hip_radeon.cmake b/.gitlab/ci/configure_fedora38_hip_radeon.cmake new file mode 100644 index 0000000..58036b0 --- /dev/null +++ b/.gitlab/ci/configure_fedora38_hip_radeon.cmake @@ -0,0 +1,3 @@ +set(CMake_TEST_HIP "ON" CACHE BOOL "") + +include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/env_fedora38_hip_radeon.sh b/.gitlab/ci/env_fedora38_hip_radeon.sh new file mode 100644 index 0000000..812ef5a --- /dev/null +++ b/.gitlab/ci/env_fedora38_hip_radeon.sh @@ -0,0 +1 @@ +export HIPCXX=/usr/bin/clang++-16 diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index e4ece1e..ee06a48 100644 --- a/.gitlab/os-linux.yml +++ b/.gitlab/os-linux.yml @@ -366,6 +366,13 @@ CMAKE_CONFIGURATION: debian12_hip_radeon CTEST_LABELS: "HIP" +.fedora38_hip_radeon: + extends: .fedora38 + + variables: + CMAKE_CONFIGURATION: fedora38_hip_radeon + CTEST_LABELS: "HIP" + ### C++ modules .gcc_cxx_modules_x86_64: |