| author | |
| committer | |
| log | c5e26b8673cb7a62b71398820aa41549189b49d0 |
| tree | d7a439f1c15fabee4b15da7fb47e5d34eeec8e71 |
| parent | aa2607a109750177c761bee421468525405b9d93 |
| signature |
4 files changed, 16 insertions(+), 0 deletions(-)
ci/azure/linux_script+4| ... | @@ -14,6 +14,10 @@ sudo apt-get remove -y llvm-* | ... | @@ -14,6 +14,10 @@ sudo apt-get remove -y llvm-* |
| 14 | sudo rm -rf /usr/local/* | 14 | sudo rm -rf /usr/local/* |
| 15 | sudo apt-get install -y libxml2-dev libclang-9-dev llvm-9 llvm-9-dev cmake s3cmd gcc-7 g++-7 qemu | 15 | sudo apt-get install -y libxml2-dev libclang-9-dev llvm-9 llvm-9-dev cmake s3cmd gcc-7 g++-7 qemu |
| 16 | 16 | ||
| 17 | # Make the `zig version` number consistent. | ||
| 18 | # This will affect the cmake command below. | ||
| 19 | git config core.abbrev 9 | ||
| 20 | |||
| 17 | export CC=gcc-7 | 21 | export CC=gcc-7 |
| 18 | export CXX=g++-7 | 22 | export CXX=g++-7 |
| 19 | mkdir build | 23 | mkdir build |
ci/azure/macos_script+4| ... | @@ -67,6 +67,10 @@ else | ... | @@ -67,6 +67,10 @@ else |
| 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" | 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 | fi | 68 | fi |
| 69 | 69 | ||
| 70 | # Make the `zig version` number consistent. | ||
| 71 | # This will affect the cmake command below. | ||
| 72 | git config core.abbrev 9 | ||
| 73 | |||
| 70 | cd $ZIGDIR | 74 | cd $ZIGDIR |
| 71 | mkdir build | 75 | mkdir build |
| 72 | cd build | 76 | cd build |
ci/drone/linux_script+4| ... | @@ -11,6 +11,10 @@ apk update | ... | @@ -11,6 +11,10 @@ apk update |
| 11 | apk add py3-pip xz perl-utils | 11 | apk add py3-pip xz perl-utils |
| 12 | pip3 install s3cmd | 12 | pip3 install s3cmd |
| 13 | 13 | ||
| 14 | # Make the `zig version` number consistent. | ||
| 15 | # This will affect the cmake command below. | ||
| 16 | git config core.abbrev 9 | ||
| 17 | |||
| 14 | mkdir build | 18 | mkdir build |
| 15 | cd build | 19 | cd build |
| 16 | cmake .. -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$DISTDIR" -DZIG_STATIC=ON -DCMAKE_PREFIX_PATH=/deps/local | 20 | cmake .. -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$DISTDIR" -DZIG_STATIC=ON -DCMAKE_PREFIX_PATH=/deps/local |
ci/srht/freebsd_script+4| ... | @@ -8,6 +8,10 @@ CACHE_BASENAME="llvm+clang-9.0.0-freebsd-x86_64-release" | ... | @@ -8,6 +8,10 @@ CACHE_BASENAME="llvm+clang-9.0.0-freebsd-x86_64-release" |
| 8 | PREFIX="$HOME/$CACHE_BASENAME" | 8 | PREFIX="$HOME/$CACHE_BASENAME" |
| 9 | JOBS="-j$(sysctl -n hw.ncpu)" | 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 | |||
| 11 | cd $HOME | 15 | cd $HOME |
| 12 | wget -nv "https://ziglang.org/builds/$CACHE_BASENAME.tar.xz" | 16 | wget -nv "https://ziglang.org/builds/$CACHE_BASENAME.tar.xz" |
| 13 | tar xf "$CACHE_BASENAME.tar.xz" | 17 | tar xf "$CACHE_BASENAME.tar.xz" |