Skip to content

Commit 1eefbcb

Browse files
authored
CI: Fix to ROCm 6.1 (#350)
* CI: Fix ROCm 6.2.0 ROCm 6.1.2->6.2.0 switches Clang 17 to 18. The current setup led to linker issues: ``` ld.lld: error: undefined hidden symbol: __hip_gpubin_handle_f20551e8c5453d2a >>> referenced by ld-temp.o >>> lto.tmp:(__hip_module_ctor.1796) >>> referenced by ld-temp.o >>> lto.tmp:(__hip_module_ctor.1796) >>> referenced by ld-temp.o >>> lto.tmp:(__hip_module_dtor.1798) >>> referenced 1 more times ``` switch from clang++ to hipcc as the compiler. * HIP CI: Ubuntu 20 -> 22 * Remove Workaround from Ubuntu 20 MPI * ROCm 6.2 * HIP 6.1, Ubuntu 20.04
1 parent 3c3e5a6 commit 1eefbcb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/dependencies/hip.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Copyright 2022 The ImpactX Community
3+
# Copyright 2022 The AMReX Community
44
#
55
# License: BSD-3-Clause-LBNL
66
# Authors: Axel Huebl
@@ -32,6 +32,7 @@ echo "deb [arch=amd64] https://repo.radeon.com/rocm/apt/${1-latest} ${UBUNTU_COD
3232
| sudo tee /etc/apt/sources.list.d/rocm.list
3333
echo 'export PATH=/opt/rocm/llvm/bin:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin:$PATH' \
3434
| sudo tee -a /etc/profile.d/rocm.sh
35+
3536
# we should not need to export HIP_PATH=/opt/rocm/hip with those installs
3637

3738
sudo apt-get update
@@ -65,3 +66,4 @@ which clang++
6566
sudo curl -L -o /usr/local/bin/cmake-easyinstall https://raw.githubusercontent.com/ax3l/cmake-easyinstall/main/cmake-easyinstall
6667
sudo chmod a+x /usr/local/bin/cmake-easyinstall
6768
export CEI_SUDO="sudo"
69+
export CEI_TMP="/tmp/cei"

.github/workflows/hip.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ concurrency:
88

99
jobs:
1010
build_hip:
11-
name: HIP
11+
name: ROCm HIP 6.1
1212
runs-on: ubuntu-20.04
1313
env:
1414
CXXFLAGS: "-Werror -Wno-deprecated-declarations -Wno-error=pass-failed"
@@ -18,7 +18,7 @@ jobs:
1818
- name: install dependencies
1919
shell: bash
2020
run: |
21-
.github/workflows/dependencies/hip.sh
21+
.github/workflows/dependencies/hip.sh 6.1
2222
.github/workflows/dependencies/dependencies_ccache.sh
2323
- name: Set Up Cache
2424
uses: actions/cache@v4

0 commit comments

Comments
 (0)