source: chapter08/meson.xml@ 8b9efe67

xry111/arm64 xry111/arm64-12.0
Last change on this file since 8b9efe67 was ee16e55, checked in by Xi Ruoyao <xry111@…>, 2 years ago

text fixes for wheel change

  • Add description for "wheel" command
  • Explain why pip3 warning does not matter for us
  • Format and typo fixes
  • Property mode set to 100644
File size: 3.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
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
8<sect1 id="ch-system-meson" role="wrap">
9 <?dbhtml filename="meson.html"?>
10
11 <sect1info condition="script">
12 <productname>meson</productname>
13 <productnumber>&meson-version;</productnumber>
14 <address>&meson-url;</address>
15 </sect1info>
16
17 <title>Meson-&meson-version;</title>
18
19 <indexterm zone="ch-system-meson">
20 <primary sortas="a-Meson">Meson</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>Meson is an open source build system meant to be both extremely fast
27 and as user friendly as possible.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32 <seglistitem>
33 <seg>&meson-fin-sbu;</seg>
34 <seg>&meson-fin-du;</seg>
35 </seglistitem>
36 </segmentedlist>
37
38 <tip revision="sysv">
39 <para>This section is not strictly required for LFS if not using
40 systemd. On the other hand, meson/ninja is a powerful build system,
41 which is expected to be used more and more often. It is required for
42 several packages in <ulink url="&blfs-book;">the BLFS
43 book</ulink>.</para>
44 </tip>
45
46 </sect2>
47
48 <sect2 role="installation">
49 <title>Installation of Meson</title>
50<!--
51 <para>First, apply a patch that fixes an issue identified upstream:</para>
52
53<screen><userinput remap="pre">patch -Np1 -i ../&meson-fix-patch;</userinput></screen>
54-->
55 <para>Compile Meson with the following command:</para>
56
57<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
58
59 <para>The test suite requires some packages out of the scope of LFS.</para>
60
61 <para>Install the package:</para>
62
63<screen><userinput remap="install">pip3 install --no-index --find-links dist meson
64install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson
65install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson</userinput></screen>
66
67 <variablelist>
68 <title>The meaning of the install parameters:</title>
69
70 <varlistentry>
71 <term><parameter>-w dist</parameter></term>
72 <listitem>
73 <para>Put the created wheels into the
74 <filename class='directory'>dist</filename> directory.</para>
75 </listitem>
76 </varlistentry>
77
78 <varlistentry>
79 <term><parameter>--find-links dist</parameter></term>
80 <listitem>
81 <para>Install wheels from the
82 <filename class='directory'>dist</filename> directory.</para>
83 </listitem>
84 </varlistentry>
85
86 </variablelist>
87 </sect2>
88
89 <sect2 id="contents-meson" role="content">
90 <title>Contents of Meson</title>
91
92 <segmentedlist>
93 <segtitle>Installed programs</segtitle>
94 <segtitle>Installed directory</segtitle>
95
96 <seglistitem>
97 <seg>meson</seg>
98 <seg>
99 /usr/lib/python&python-minor;/site-packages/meson-&meson-version;.dist-info and
100 /usr/lib/python&python-minor;/site-packages/mesonbuild
101 </seg>
102 </seglistitem>
103 </segmentedlist>
104
105 <variablelist>
106 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
107 <?dbfo list-presentation="list"?>
108 <?dbhtml list-presentation="table"?>
109
110 <varlistentry id="meson">
111 <term><command>meson</command></term>
112 <listitem>
113 <para>A high productivity build system</para>
114 <indexterm zone="ch-system-meson meson">
115 <primary sortas="b-meson">meson</primary>
116 </indexterm>
117 </listitem>
118 </varlistentry>
119
120 </variablelist>
121
122 </sect2>
123
124</sect1>
125
Note: See TracBrowser for help on using the repository browser.