File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22
33machine=$( uname -m)
4- mkdir build-$machine
5- cd build-$machine
4+ mkdir " build-$machine "
5+ cd " build-$machine "
66meson ..
77ninja
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ TEST_CMD="python3 -m pytest --maxfail=99 test/"
1313
1414# Standard build with Valgrind
1515for CC in gcc clang; do
16- mkdir build-${CC} ; cd build-${CC}
17- if [ ${CC} == ' gcc-6' ]; then
16+ mkdir " build-${CC} " ; cd " build-${CC} "
17+ if [ " ${CC} " == ' gcc-6' ]; then
1818 build_opts=' -D b_lundef=false'
1919 else
2020 build_opts=' '
@@ -25,12 +25,12 @@ for CC in gcc clang; do
2525 TEST_WITH_VALGRIND=true ${TEST_CMD}
2626 cd ..
2727done
28- (cd build-$CC ; sudo ninja install)
28+ (cd " build-${CC} " ; sudo ninja install)
2929
3030# Sanitized build
3131CC=clang
3232for san in undefined address; do
33- mkdir build-${san} ; cd build-${san}
33+ mkdir " build-${san} " ; cd " build-${san} "
3434 # b_lundef=false is required to work around clang
3535 # bug, cf. https://groups.google.com/forum/#!topic/mesonbuild/tgEdAXIIdC4
3636 meson -D b_sanitize=${san} -D b_lundef=false -D werror=true ..
Original file line number Diff line number Diff line change 1313sudo ninja install
1414test -e /usr/local/lib/pkgconfig || sudo mkdir /usr/local/lib/pkgconfig
1515sudo mv /usr/local/lib/* /pkgconfig/* /usr/local/lib/pkgconfig/
16- ls -d1 /usr/local/lib/* -linux-gnu | sudo tee /etc/ld.so.conf.d/usrlocal.conf
16+ printf ' %s\n ' /usr/local/lib/* -linux-gnu | sudo tee /etc/ld.so.conf.d/usrlocal.conf
1717sudo ldconfig
1818
1919# Setup ssh
You can’t perform that action at this time.
0 commit comments