source: general/genlib/libclc.xml@ c10629e

12.2 gimp3 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since c10629e was c10629e, checked in by Douglas R. Reno <renodr@…>, 3 months ago

Add libclc to the book in support of Mesa.

This package needs SPIRV-LLVM-Translator in turn, which was added in the
last commit.

  • Property mode set to 100644
File size: 3.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libclc-download-http "https://github.com/llvm/llvm-project/releases/download/llvmorg-&libclc-version;/libclc-&libclc-version;.src.tar.xz">
8 <!ENTITY libclc-md5sum "0c7627f6c82bb63f712e1cc00d89eed7">
9 <!ENTITY libclc-size "124 KB">
10 <!ENTITY libclc-buildsize "380 MB">
11 <!ENTITY libclc-time "1.2 SBU (with parallelism=8)">
12]>
13
14<sect1 id="libclc" xreflabel="libclc-&libclc-version;">
15 <?dbhtml filename="libclc.html"?>
16
17 <title>libclc-&libclc-version;</title>
18
19 <indexterm zone="libclc">
20 <primary sortas="a-libclc">libclc</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title>Introduction to libclc</title>
25
26 <para>
27 The <application>libclc</application> package contains an implementation
28 of the library requirements of the OpenCL C programming language, as
29 specified by the OpenCL 1.1 Specification.
30 </para>
31
32 &lfs121_checked;
33
34 <bridgehead renderas="sect3">Package Information</bridgehead>
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>
38 Download (HTTP): <ulink url="&libclc-download-http;"/>
39 </para>
40 </listitem>
41 <listitem>
42 <para>
43 Download MD5 sum: &libclc-md5sum;
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download size: &libclc-size;
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Estimated disk space required: &libclc-buildsize;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Estimated build time: &libclc-time;
59 </para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">libclc Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Required</bridgehead>
66 <para role="required">
67 <xref linkend="spirv-llvm-translator"/>
68 </para>
69
70 </sect2>
71
72 <sect2 role="installation">
73 <title>Installation of libclc</title>
74
75 <para>
76 Install <application>libclc</application> by running the following
77 commands:
78 </para>
79
80<screen><userinput>mkdir build &amp;&amp;
81cd build &amp;&amp;
82
83cmake -D CMAKE_INSTALL_PREFIX=/usr \
84 -D CMAKE_BUILD_TYPE=Release \
85 -G Ninja .. &amp;&amp;
86ninja</userinput></screen>
87
88 <para>
89 To test the results, issue: <command>ninja test</command>. Two tests,
90 <filename>external-calls-clspv--.bc</filename> and
91 <filename>external-calls-clspv64--.bc</filename>, are known to fail due
92 to invalid syntax.
93 </para>
94
95 <para>
96 Now, as the &root; user:
97 </para>
98
99<screen role="root"><userinput>ninja install</userinput></screen>
100
101 </sect2>
102
103 <sect2 role="content">
104 <title>Contents</title>
105
106 <segmentedlist>
107 <segtitle>Installed Programs</segtitle>
108 <segtitle>Installed Libraries</segtitle>
109 <segtitle>Installed Directories</segtitle>
110
111 <seglistitem>
112 <seg>
113 None
114 </seg>
115 <seg>
116 None
117 </seg>
118 <seg>
119 /usr/include/clc and
120 /usr/share/clc
121 </seg>
122 </seglistitem>
123 </segmentedlist>
124 </sect2>
125</sect1>
Note: See TracBrowser for help on using the repository browser.