source: general/genlib/spirv-headers.xml

trunk
Last change on this file was a80c832, checked in by Xi Ruoyao <xry111@…>, 2 weeks ago

treewide: Simplify GitHub archive URL by removing redundant "refs/tags/"

The "refs/tags/" component is only useful when a tag shares its name
with a branch. Any rational upstream maintainer shall not create such
a namesis.

I've verified all the changes does not affect the md5sum of download
files.

  • Property mode set to 100644
File size: 3.8 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 spirv-headers-download-http "https://github.com/KhronosGroup/SPIRV-Headers/archive/vulkan-sdk-&spirv-headers-version;/SPIRV-Headers-&spirv-headers-version;.tar.gz">
8 <!ENTITY spirv-headers-download-ftp " ">
9 <!ENTITY spirv-headers-md5sum "438892138fe25c123cdacd05eb4a4b17">
10 <!ENTITY spirv-headers-size "464 KB">
11 <!ENTITY spirv-headers-buildsize "3.7 MB">
12 <!ENTITY spirv-headers-time "less than 0.1 SBU">
13]>
14
15<sect1 id="spirv-headers" xreflabel="SPIRV-Headers-&spirv-headers-version;">
16 <?dbhtml filename="spirv-headers.html"?>
17
18 <title>SPIRV-Headers-&spirv-headers-version;</title>
19
20 <indexterm zone="spirv-headers">
21 <primary sortas="a-spirv-headers">SPIRV-Headers</primary>
22 </indexterm>
23
24 <sect2 role="package">
25 <title>Introduction to SPIRV-Headers</title>
26
27 <para>
28 The <application>SPIRV-Headers</application> package contains headers
29 that allow for applications to the SPIR-V language and instruction set
30 with Vulkan. SPIR-V is a binary intermediate language for representing
31 graphical shader stages and compute kernels for multiple Khronos APIs,
32 including OpenGL and Vulkan.
33 </para>
34
35 &lfs121_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&spirv-headers-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&spirv-headers-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &spirv-headers-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &spirv-headers-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &spirv-headers-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &spirv-headers-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">SPIRV-Headers Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <xref linkend="cmake"/>
76 </para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of SPIRV-Headers</title>
82
83 <note>
84 <para>
85 This tarball
86 <filename>SPIRV-Headers-&spirv-headers-version;.tar.gz</filename> will
87 extract to the directory
88 <filename class="directory">SPIRV-Headers-vulkan-sdk-&spirv-headers-version;</filename>.
89 </para>
90 </note>
91
92 <para>
93 Install <application>SPIRV-Headers</application> by running the following
94 commands:
95 </para>
96
97<screen><userinput>mkdir build &amp;&amp;
98cd build &amp;&amp;
99
100cmake -DCMAKE_INSTALL_PREFIX=/usr -G Ninja .. &amp;&amp;
101ninja</userinput></screen>
102
103 <para>
104 This package does not come with a test suite.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>ninja install</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="content">
116 <title>Contents</title>
117
118 <segmentedlist>
119 <segtitle>Installed Programs</segtitle>
120 <segtitle>Installed Libraries</segtitle>
121 <segtitle>Installed Directories</segtitle>
122
123 <seglistitem>
124 <seg>
125 None
126 </seg>
127 <seg>
128 None
129 </seg>
130 <seg>
131 /usr/include/spirv and
132 /usr/share/cmake/SPIRV-Headers
133 </seg>
134 </seglistitem>
135 </segmentedlist>
136
137 </sect2>
138</sect1>
Note: See TracBrowser for help on using the repository browser.