Add 8.53 - Build meson

This commit is contained in:
Aditya 2023-01-12 14:46:02 +05:30
parent 7e096227d4
commit 9034bfc3ec
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,19 @@
#!/bin/bash
cd /sources
tar xf meson-0.63.1.tar.gz
cd meson-0.63.1
pip3 wheel -w dist --no-build-isolation --no-deps $PWD
if [ $? -ne 0 ]
then
exit 1
fi
pip3 install --no-index --find-links dist meson
install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson
install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson
cd /sources
rm -rf meson-0.63.1

View file

@ -1174,3 +1174,15 @@ then
stop_script "chapter8/8.52-ninja.sh" stop_script "chapter8/8.52-ninja.sh"
fi fi
# Chapter 8.53
# ============
echo "Building meson"
su -c "bash $SCRIPT/chapter8/8.53-meson.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.53-meson.sh"
fi