| author | |
| committer | |
| log | 952aa7a9c1033382880d5478c5f96506882ba4b5 |
| tree | ec223aac2e2ee43bd6224077cd5ec5152a3efa55 |
| parent | c5e26b8673cb7a62b71398820aa41549189b49d0 |
| signature |
2 files changed, 7 insertions(+), 5 deletions(-)
ci/azure/macos_script+2-1| ... | ... | @@ -67,11 +67,12 @@ else |
| 67 | 67 | s3cmd put -P --add-header="cache-control: public, max-age=31536000, immutable" "$CACHE_BASENAME.tar.xz" "s3://ziglang.org/builds/$CACHE_BASENAME.tar.xz" |
| 68 | 68 | fi |
| 69 | 69 | |
| 70 | cd $ZIGDIR | |
| 71 | ||
| 70 | 72 | # Make the `zig version` number consistent. |
| 71 | 73 | # This will affect the cmake command below. |
| 72 | 74 | git config core.abbrev 9 |
| 73 | 75 | |
| 74 | cd $ZIGDIR | |
| 75 | 76 | mkdir build |
| 76 | 77 | cd build |
| 77 | 78 | cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_INSTALL_PREFIX=$(pwd)/release -DZIG_STATIC=ON |
ci/srht/freebsd_script+5-4| ... | ... | @@ -8,15 +8,16 @@ CACHE_BASENAME="llvm+clang-9.0.0-freebsd-x86_64-release" |
| 8 | 8 | PREFIX="$HOME/$CACHE_BASENAME" |
| 9 | 9 | JOBS="-j$(sysctl -n hw.ncpu)" |
| 10 | 10 | |
| 11 | # Make the `zig version` number consistent. | |
| 12 | # This will affect the cmake command below. | |
| 13 | git config core.abbrev 9 | |
| 14 | ||
| 15 | 11 | cd $HOME |
| 16 | 12 | wget -nv "https://ziglang.org/builds/$CACHE_BASENAME.tar.xz" |
| 17 | 13 | tar xf "$CACHE_BASENAME.tar.xz" |
| 18 | 14 | |
| 19 | 15 | cd $ZIGDIR |
| 16 | ||
| 17 | # Make the `zig version` number consistent. | |
| 18 | # This will affect the cmake command below. | |
| 19 | git config core.abbrev 9 | |
| 20 | ||
| 20 | 21 | mkdir build |
| 21 | 22 | cd build |
| 22 | 23 | cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX "-DCMAKE_INSTALL_PREFIX=$(pwd)/release" -DZIG_STATIC=ON |