source: x/lib/vulkan-loader.xml

trunk
Last change on this file was 846bcc9, checked in by Xi Ruoyao <xry111@…>, 3 days ago

Add xinclude for -DCMAKE_SKIP_INSTALL_RPATH explanation and use it

Always use "ON" for this boolean value.

Why does cmake allow too many boolean values (ON/OFF, TRUE/FALSE,
YES/NO) anyway?!

  • Property mode set to 100644
File size: 4.9 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 vulkan-loader-download-http "https://github.com/KhronosGroup/Vulkan-Loader/archive/v&vulkan-loader-version;/Vulkan-Loader-&vulkan-loader-version;.tar.gz">
8 <!ENTITY vulkan-loader-download-ftp " ">
9 <!ENTITY vulkan-loader-md5sum "26409dae12d220d3cb863f0fc7caf980">
10 <!ENTITY vulkan-loader-size "1.6 MB">
11 <!ENTITY vulkan-loader-buildsize "9.2 MB">
12 <!ENTITY vulkan-loader-time "less than 0.1 SBU">
13]>
14
15<sect1 id="vulkan-loader" xreflabel="Vulkan-Loader-&vulkan-loader-version;">
16 <?dbhtml filename="vulkan-loader.html"?>
17
18 <title>Vulkan-Loader-&vulkan-loader-version;</title>
19
20 <indexterm zone="vulkan-loader">
21 <primary sortas="a-vulkan-loader">Vulkan-Loader</primary>
22 </indexterm>
23
24 <sect2 role="package">
25 <title>Introduction to Vulkan-Loader</title>
26
27 <para>
28 The <application>Vulkan-Loader</application> package contains a library
29 which provides the Vulkan API and provides core support for graphics
30 drivers for Vulkan.
31 </para>
32
33 &lfs121_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&vulkan-loader-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&vulkan-loader-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &vulkan-loader-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &vulkan-loader-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &vulkan-loader-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &vulkan-loader-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">Vulkan-loader Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="cmake"/>,
74 <xref linkend="vulkan-headers"/>,
75 <xref linkend="wayland"/>, and
76 <xref linkend="xorg7-lib"/>
77 </para>
78
79 <bridgehead renderas="sect4">Recommended (Runtime)</bridgehead>
80 <para role="runtime">
81 <xref linkend="mesa"/> (for Vulkan drivers)
82 </para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of Vulkan-Loader</title>
88
89 <note>
90 <para>
91 If this package is being installed on a system where Mesa has already
92 been installed previously, please rebuild <xref linkend="mesa"/> after
93 this package to install Vulkan graphics drivers.
94 </para>
95 </note>
96
97 <para>
98 Install <application>Vulkan-Loader</application> by running the following
99 commands:
100 </para>
101
102<screen><userinput>mkdir build &amp;&amp;
103cd build &amp;&amp;
104
105cmake -DCMAKE_INSTALL_PREFIX=/usr \
106 -DCMAKE_BUILD_TYPE=Release \
107 -DCMAKE_SKIP_INSTALL_RPATH=ON \
108 -G Ninja .. &amp;&amp;
109ninja</userinput></screen>
110
111 <para>
112 This package does not come with a working test suite.
113 <!-- To run the tests, we need to follow a complex process to download a
114 customized copy of googletest.-->
115 </para>
116
117 <para>
118 Now, as the <systemitem class="username">root</systemitem> user:
119 </para>
120
121<screen role="root"><userinput>ninja install</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
128 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
129 href="../../xincludes/cmake-skip-install-rpath.xml"/>
130 </sect2>
131
132 <sect2 role="content">
133 <title>Contents</title>
134
135 <segmentedlist>
136 <segtitle>Installed Programs</segtitle>
137 <segtitle>Installed Libraries</segtitle>
138 <segtitle>Installed Directories</segtitle>
139
140 <seglistitem>
141 <seg>
142 None
143 </seg>
144 <seg>
145 libvulkan.so
146 </seg>
147 <seg>
148 /usr/lib/cmake/VulkanLoader
149 </seg>
150 </seglistitem>
151 </segmentedlist>
152
153 <variablelist>
154 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
155 <?dbfo list-presentation="list"?>
156 <?dbhtml list-presentation="table"?>
157
158 <varlistentry id="libvulkan">
159 <term><filename class="libraryfile">libvulkan.so</filename></term>
160 <listitem>
161 <para>
162 provides the Vulkan API and core support for graphics drivers
163 </para>
164 <indexterm zone="vulkan-loader libvulkan">
165 <primary sortas="c-libvulkan">libvulkan.so</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169 </variablelist>
170 </sect2>
171</sect1>
Note: See TracBrowser for help on using the repository browser.