public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocm-compilersupport] rawhide: Some more spirv enablement for preview
@ 2026-10-09 0:29 Tom Rix
0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-10-09 0:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rocm-compilersupport
Branch : rawhide
Commit : f2031e1f99380820f111a39330a116c5c73aba0c
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-10-08T17:29:16-07:00
Stats : +12/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocm-compilersupport/c/f2031e1f99380820f111a39330a116c5c73aba0c?branch=rawhide
Log:
Some more spirv enablement for preview
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocm-compilersupport.spec b/rocm-compilersupport.spec
index 48b69c2..e624944 100644
--- a/rocm-compilersupport.spec
+++ b/rocm-compilersupport.spec
@@ -212,8 +212,12 @@ ExclusiveArch: x86_64
%ifarch x86_64
%if %{with preview}
%global targets_to_build "X86;AMDGPU;SPIRV"
+%global build_spirv ON
+%global comgr_spirv OFF
%else
%global targets_to_build "X86;AMDGPU"
+%global build_spirv OFF
+%global comgr_spirv ON
%endif
%endif
%ifarch aarch64
@@ -385,6 +389,9 @@ Requires: %{rocm_llvm_name}-filesystem = %{version}-%{release}
%if %{with libcxx}
Requires: %{rocm_libcxx_name}-devel%{?_isa} = %{version}-%{release}
%endif
+%if %{with preview}
+Requires: spirv-tools
+%endif
%description -n %{rocm_clang_name}
%{summary}
@@ -566,9 +573,10 @@ p=$PWD
%global llvmrocm_cmake_config \\\
-DBUILD_SHARED_LIBS=OFF \\\
-DBUILD_TESTING=OFF \\\
- -DCLANG_ENABLE_STATIC_ANALYZER=%{build_sa} \\\
-DCLANG_ENABLE_ARCMT=OFF \\\
-DCLANG_ENABLE_CLANGD=OFF \\\
+ -DCLANG_ENABLE_SPIRV=%{build_spirv} \\\
+ -DCLANG_ENABLE_STATIC_ANALYZER=%{build_sa} \\\
-DCLANG_TOOL_CLANG_FUZZER_BUILD=OFF \\\
-DCLANG_TOOL_C_INDEX_TEST_BUILD=OFF \\\
-DCMAKE_BUILD_TYPE=%{build_type} \\\
@@ -604,6 +612,7 @@ p=$PWD
-DLLVM_ENABLE_LIBCXX=%{build_libcxx} \\\
-DLLVM_ENABLE_OCAMLDOC=OFF \\\
-DLLVM_ENABLE_RTTI=ON \\\
+ -DLLVM_ENABLE_SPIRV=%{build_spirv} \\\
-DLLVM_ENABLE_ZLIB=ON \\\
-DLLVM_ENABLE_ZSTD=ON \\\
-DLLVM_INCLUDE_BENCHMARKS=OFF \\\
@@ -803,7 +812,8 @@ pushd .
%{llvmrocm_devicelibs_config} \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_PREFIX=%{pkg_prefix} \
- -DCMAKE_INSTALL_LIBDIR=%{pkg_libdir}
+ -DCMAKE_INSTALL_LIBDIR=%{pkg_libdir} \
+ -DCOMGR_DISABLE_SPIRV=%{comgr_spirv}
# cmake produces a link.txt that includes libLLVM*.so, hack it out
%if 0%{?suse_version}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-09 0:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 0:29 [rpms/rocm-compilersupport] rawhide: Some more spirv enablement for preview Tom Rix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox