public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hiprt] rawhide: Find llvm-rocm clang
@ 2026-10-28 14:31 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-10-28 14:31 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/hiprt
            Branch : rawhide
            Commit : 5fa184cf219f16a91f6b2520cb1d4a7f8d430e68
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-10-28T07:30:39-07:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/hiprt/c/5fa184cf219f16a91f6b2520cb1d4a7f8d430e68?branch=rawhide

            Log:
            Find llvm-rocm clang

Needed for running tests

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/hiprt.spec b/hiprt.spec
index 61ad293..0dcd240 100644
--- a/hiprt.spec
+++ b/hiprt.spec
@@ -82,6 +82,10 @@ sed -i -e 's@-fvisibility=hidden@-fvisibility=default@' CMakeLists.txt
 sed -i -e 's@dist/bin/Release/@dist/bin/RelWithDebInfo/@g' scripts/bitcodes/precompile_bitcode.py
 sed -i -e 's@dist/bin/Release/@dist/bin/RelWithDebInfo/@g' scripts/bitcodes/compile.py
 
+# need to find clang++
+sed -i -e "s@clangpath = hipSdkPathFromArgument@clangpath = '/usr/lib64/rocm/llvm'@" scripts/bitcodes/precompile_bitcode.py
+# grep clang scripts/bitcodes/precompile_bitcode.py
+
 %build
 
 %cmake -G Ninja $src \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-28 14:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 14:31 [rpms/hiprt] rawhide: Find llvm-rocm clang Tom Rix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox