diff --git a/ci/srht/freebsd_script b/ci/srht/freebsd_script index 337d715b7c..39ceb17957 100755 --- a/ci/srht/freebsd_script +++ b/ci/srht/freebsd_script @@ -4,12 +4,11 @@ set -x set -e sudo pkg update -fq -sudo pkg install -y cmake py37-s3cmd wget curl jq +sudo pkg install -y cmake py37-s3cmd wget curl jq samurai ZIGDIR="$(pwd)" -CACHE_BASENAME="llvm+clang+lld-11.0.0-x86_64-freebsd-release" +CACHE_BASENAME="zig+llvm+lld+clang-x86_64-freebsd-gnu-0.8.0-dev.1939+5a3ea9bec" PREFIX="$HOME/$CACHE_BASENAME" -JOBS="-j$(sysctl -n hw.ncpu)" cd $HOME wget -nv "https://ziglang.org/deps/$CACHE_BASENAME.tar.xz" @@ -30,8 +29,8 @@ export TERM=dumb mkdir build cd build -cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX "-DCMAKE_INSTALL_PREFIX=$(pwd)/release" -DZIG_STATIC=ON -make $JOBS install +cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX "-DCMAKE_INSTALL_PREFIX=$(pwd)/release" -DZIG_STATIC=ON -GNinja +samu install # Here we skip some tests to save time. release/bin/zig build test -Dskip-compile-errors -Dskip-non-native