Browse Source

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
pull/369/head
Brad King 2 years ago
parent
commit
cffa56c918
  1. 10
      .gitlab-ci.yml
  2. 3
      .gitlab/ci/configure_fedora38_hip_radeon.cmake
  3. 1
      .gitlab/ci/env_fedora38_hip_radeon.sh
  4. 7
      .gitlab/os-linux.yml

10
.gitlab-ci.yml

@ -205,6 +205,16 @@ t:debian12-hip-radeon:
variables:
CMAKE_CI_NO_MR: "true"
t:fedora38-hip-radeon:
extends:
- .fedora38_hip_radeon
- .cmake_test_linux_release
- .linux_x86_64_tags_radeon
- .run_dependent
- .needs_centos6_x86_64
variables:
CMAKE_CI_NO_MR: "true"
t:fedora38-ninja-clang:
extends:
- .fedora38_ninja_clang

3
.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")

1
.gitlab/ci/env_fedora38_hip_radeon.sh

@ -0,0 +1 @@
export HIPCXX=/usr/bin/clang++-16

7
.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:

Loading…
Cancel
Save