X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fbabeltrace%2Fbuild.sh;h=d7c79fbffdc49a754f6b10ecdb13a373df59eef1;hb=8c956c4b96b713f755e647d8aff2661fd1ab1ed9;hp=0c3e6e77dcfd0962cda780d360eb771d1434403f;hpb=c9243fd7ec550ffb681c41bd33387b5c2ae7c323;p=lttng-ci.git diff --git a/scripts/babeltrace/build.sh b/scripts/babeltrace/build.sh index 0c3e6e7..d7c79fb 100755 --- a/scripts/babeltrace/build.sh +++ b/scripts/babeltrace/build.sh @@ -121,9 +121,6 @@ PREFIX="/build" LIBDIR="lib" LIBDIR_ARCH="$LIBDIR" -# Force the normal Python install layout without 'local' on Debian / Ubuntu -export DEB_PYTHON_INSTALL_LAYOUT="deb" - # RHEL and SLES both use lib64 but don't bother shipping a default autoconf # site config that matches this. if [[ ( -f /etc/redhat-release || -f /etc/products.d/SLES.prod || -f /etc/yocto-release ) ]]; then @@ -182,6 +179,7 @@ macos*) export TAR=tar export NPROC="getconf _NPROCESSORS_ONLN" export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" + export CFLAGS="$CFLAGS -Wno-\#pragma-messages" # Fix warnings with clang14 export CPPFLAGS="-I/opt/local/include" export LDFLAGS="-L/opt/local/lib" export PYTHON="python3" @@ -212,6 +210,7 @@ esac # Print build env details print_header "Build environment details" +print_hardware || true print_os || true print_tooling || true