From f27bbec86906effae65cf03c63a390994f0f95a7 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Thu, 25 Jan 2024 14:38:29 -0500 Subject: [PATCH] CI: set rpath for rocm libraries --- docker/carpetx-rocm.dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/carpetx-rocm.dockerfile b/docker/carpetx-rocm.dockerfile index b6c43d32d..1eb3be7ee 100644 --- a/docker/carpetx-rocm.dockerfile +++ b/docker/carpetx-rocm.dockerfile @@ -270,6 +270,7 @@ RUN mkdir src && \ real64) precision=DOUBLE;; \ *) exit 1;; \ esac && \ + env LDFLAGS=-Wl,-rpath,/opt/rocm/lib \ cmake -B build -G Ninja -S . \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_CXX_COMPILER=/opt/rocm/llvm/bin/clang++ \