[blfs] branch trunk updated: FreeRDP and Mesa: Link to OpenCL-ICD-Loader.

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

git pushed a commit to branch trunk
in repository blfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 40aab2c0c1 FreeRDP and Mesa: Link to OpenCL-ICD-Loader.
40aab2c0c1 is described below

commit 40aab2c0c17f02ada0adee03a76966318ffa7fb4
Author: Zeckmathederg <[email protected]>
AuthorDate: Sat May 30 13:53:54 2026 -0600

    FreeRDP and Mesa: Link to OpenCL-ICD-Loader.
    
    For FreeRDP, it uses `find_package(OpenCL REQUIRED)` to find OpenCL. If
    OCL-ICD is installed, it still won't provide the CMake files CMake will
    need to find OpenCL. OpenCL-ICD-Loader provides those CMake files as
    well as the loader.
    
    For Mesa, the ICD can be installed if RustICL is enabled, which requires
    the ICD loader. It wasn't mentioned as an optional dependency, so it got
    added. RustICL is an opt-in feature, not an auto feature. It differs
    from libclc. libclc is essentially a static version of OpenCL, being
    provided by SPIRV files, while standard OpenCL is handled by ICDs which
    often use LLVM, and an ICD loader, a process very similar to Vulkan.
    ICDs have a corrosponding ICD file. Mesa does not provide ICDs by
    default. RustICL also is in general very buggy at current, though Clover
    was very good in the past but couldn't be extended to Rust-based drivers
    like Nouveau VulKan.
    
    GLFS installs OpenCL-ICD-Loader under the OpenCL-SDK, but I'm holding
    off on linking to it for now. If anyone feels differently,
    https://linuxfromscratch.org/glfs/view/dev/shareddeps/opencl-sdk.html
    can be linked to within FreeRDP and Mesa.
    
    Anyone can contact me if I should go ahead and link to that page.
---
 x/installing/mesa.xml   | 3 ++-
 xsoft/other/freerdp.xml | 7 ++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/x/installing/mesa.xml b/x/installing/mesa.xml
index dbc21e9515..eecc2bd601 100644
--- a/x/installing/mesa.xml
+++ b/x/installing/mesa.xml
@@ -240,7 +240,8 @@
       Layer</ulink> (for mobile platforms),
       <ulink
       url="/glfs/view/dev/shareddeps/libglvnd.html">libglvnd</ulink>
-      (provides OpenGL libraries), and
+      (provides OpenGL libraries),
+      <ulink url="https://github.com/KhronosGroup/OpenCL-ICD-Loader">OpenCL-ICD-Loader</ulink>, and
       <ulink url="https://github.com/tizonia/tizonia-openmax-il/wiki/Tizonia-OpenMAX-IL/">
       libtizonia</ulink>
     </para>
diff --git a/xsoft/other/freerdp.xml b/xsoft/other/freerdp.xml
index f2fcbcfbb4..617b398dd6 100644
--- a/xsoft/other/freerdp.xml
+++ b/xsoft/other/freerdp.xml
@@ -108,7 +108,7 @@
       <ulink url="https://github.com/libsdl-org/SDL_ttf">SDL_ttf</ulink>,
       <ulink url="https://github.com/DaveGamble/cJSON">cJSON</ulink>,
       <ulink url="https://www.quut.com/gsm/">GSM</ulink>,
-      <ulink url="https://github.com/OCL-dev/ocl-icd">ocl-icd</ulink>,
+      <ulink url="https://github.com/KhronosGroup/OpenCL-ICD-Loader">OpenCL-ICD-Loader</ulink>,
       <ulink url="https://github.com/Mbed-TLS/mbedtls">mbedTLS</ulink>,
       <ulink url="https://www.openh264.org/">openh264</ulink>,
       <ulink url="https://pcsclite.apdu.fr/">pcsclite</ulink>,
@@ -250,8 +250,9 @@ ninja</userinput></screen>
     <para>
       <option>-D WITH_OPENCL=ON</option>: Use this option if you have the
       optional dependency
-      <ulink url="https://github.com/OCL-dev/ocl-icd">ocl-icd</ulink>
-      installed and wish to use OpenCL support.
+      <ulink url="https://github.com/KhronosGroup/OpenCL-ICD-Loader">OpenCL-ICD-Loader</ulink>
+      installed and wish to use OpenCL support. OpenCL support, however, cannot
+      be used unless RustICL has been enabled in <xref linkend="mesa"/>.
     </para>
 
     <para>

-- 
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.