public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rocm-compilersupport] rawhide: Some more spirv enablement for preview
Date: Fri, 09 Oct 2026 00:29:56 GMT	[thread overview]
Message-ID: <179150579656.1.6340277775511259519.rpms-rocm-compilersupport-f2031e1f9938@fedoraproject.org> (raw)

            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}

                 reply	other threads:[~2026-10-09  0:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179150579656.1.6340277775511259519.rpms-rocm-compilersupport-f2031e1f9938@fedoraproject.org \
    --to=tom.rix@amd.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox