Skip to content

Commit 8e51bf0

Browse files
authored
Fix HIP CI by disabling IPO (#441)
1 parent 00a042d commit 8e51bf0

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/hip.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ concurrency:
99
jobs:
1010
build_hip:
1111
name: ROCm HIP 6.3.2
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
env:
1414
CXXFLAGS: "-Werror -Wno-deprecated-declarations -Wno-error=pass-failed"
1515
CMAKE_GENERATOR: Ninja
@@ -46,20 +46,12 @@ jobs:
4646
python3 -m pip install -U build packaging setuptools[core] wheel
4747
python3 -m pip install -U cmake
4848
49-
# "mpic++ --showme" forgets open-pal in Ubuntu 20.04 + OpenMPI 4.0.3
50-
# https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1941786
51-
# https://github.com/open-mpi/ompi/issues/9317
52-
export LDFLAGS="-lopen-pal"
53-
5449
cmake -S . -B build \
5550
-DCMAKE_VERBOSE_MAKEFILE=ON \
51+
-DpyAMReX_IPO=OFF \
5652
-DAMReX_GPU_BACKEND=HIP \
57-
-DAMReX_SPACEDIM="1;2;3" \
58-
-DCMAKE_C_COMPILER=$(which clang) \
59-
-DCMAKE_CXX_COMPILER=$(which clang++) \
60-
-DAMReX_AMD_ARCH=gfx1010 \
61-
-DAMReX_ROCTX=ON \
62-
-DCMAKE_CXX_STANDARD=17
53+
-DAMReX_AMD_ARCH=gfx90a \
54+
-DAMReX_SPACEDIM="1;2;3"
6355
cmake --build build --target pip_install -j 4
6456
6557
ccache -s

0 commit comments

Comments
 (0)