[blfs] 04/05: libclc: demote spirv-llvm-translator to recommended

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

commit 8114a93f7b5ba4e48786271fbb2ab3812ad51ab8
Author: Xi Ruoyao <[email protected]>
AuthorDate: Wed May 6 17:39:07 2026 +0800

    libclc: demote spirv-llvm-translator to recommended
    
    If spirv-llvm-translator is not installed, libclc can build but the
    installation will lack the spirv{,64}-mesa3d.spv files that mesa
    requires.
    
    The build system seems supposed to support building those .spv files
    with clang instead of spirv-llvm-translator with -D
    LIBCLC_USE_SPIRV_BACKEND, if the -D LLVM_TARGETS_TO_BUILD option
    contains SPIRV.  But the clang SPIRV target is currently buggy (upstream
    issues 170339 and 183400), and Mesa itself requires spirv-llvm-translator
    for iris anyway.  So there's almost no benefit to experiment building the
    .spv files with clang as at now.
---
 general/genlib/libclc.xml | 8 +++++++-
 x/installing/mesa.xml     | 5 +++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/general/genlib/libclc.xml b/general/genlib/libclc.xml
index 179f3002a7..704bf5c1b8 100644
--- a/general/genlib/libclc.xml
+++ b/general/genlib/libclc.xml
@@ -63,7 +63,13 @@
 
     <bridgehead renderas="sect4">Required</bridgehead>
     <para role="required">
-      <xref linkend="spirv-llvm-translator"/>
+      <xref linkend="llvm"/>
+    </para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="spirv-llvm-translator"/> (required for the iris
+      gallium driver in <xref linkend='mesa' role='nodep'/>)
     </para>
 
   </sect2>
diff --git a/x/installing/mesa.xml b/x/installing/mesa.xml
index 5e4ec3d5c8..ad167d0610 100644
--- a/x/installing/mesa.xml
+++ b/x/installing/mesa.xml
@@ -145,8 +145,9 @@
         </listitem>
         <listitem>
           <para>
-            <xref linkend="libclc"/> (required for the Intel iris
-            gallium driver)
+            <xref linkend="libclc"/> (built after
+            <xref linkend='spirv-llvm-translator'/>, required
+            for the Intel iris gallium driver)
           </para>
         </listitem>
         <listitem>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.