glfs/shareddeps/drivers/libclc.xml
Zeckmathederg a5a5f0f785 Removed all unstable notes on all packages.
Important: Added a section about stability.

Also fixed a build failure with last commit (missing ending para tag).
2024-10-18 12:39:05 -06:00

107 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libclc-download-http "https://github.com/llvm/llvm-project/releases/download/llvmorg-&libclc-version;/libclc-&libclc-version;.src.tar.xz">
<!ENTITY libclc-download-ftp " ">
]>
<sect1 id="libclc" xreflabel="libclc-&libclc-version;">
<?dbhtml filename="libclc.html"?>
<title>libclc-&libclc-version;</title>
<indexterm zone="libclc">
<primary sortas="a-libclc">libclc</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libclc</title>
<para>
The <application>libclc</application> package contains library requirements
of the OpenCL C programming language (provides header files but no
libraries itself).
</para>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libclc-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libclc-download-ftp;"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libclc Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="llvm"/> (with Clang) and
<xref linkend="spirv-llvm-translator"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libclc</title>
<para>
Install <application>libclc</application> by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-G Ninja .. &amp;&amp;
ninja</userinput></screen>
<para>
To test the results, issue: <command>ninja test</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
None
</seg>
<seg>
/usr/{include,share}/clc
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>