Switch git to meson?
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
I think git should be switched from make to Meson considering its faster
compilation time.
The instructions would be replaced as follows:
"./configure --prefix=/usr \
--with-gitconfig=/etc/gitconfig \
--with-python=python3 \
--with-libpcre2 &&
make"
Would be replaced with:
"mkdir build &&
cd build &&
meson setup --prefix=/usr
\
-D gitconfig=/etc/gitconfig
\
-D python=enabled
\
-D pcre2=enabled
\
-D perllibdir=/usr/lib/perl5/5.42/site_perl \
..
&&
ninja"
"make html"
Would be replaced with:
"meson configure -D docs=html && ninja"
"make man"
Would be replaced with:
"meson configure -D docs=man && ninja"
"make perllibdir=/usr/lib/perl5/5.42/site_perl install"
Would be replaced with:
"ninja install"
And the two tar -xf commands would have a ../ added for the directory.
--
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page