authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-10-25 03:25:10-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-10-25 03:27:00-04:00
logc5e26b8673cb7a62b71398820aa41549189b49d0
treed7a439f1c15fabee4b15da7fb47e5d34eeec8e71
parentaa2607a109750177c761bee421468525405b9d93
signaturelock-open Commit is signed but in an unrecognized format.

ci: force git name-rev to be 9 on all targets


4 files changed, 16 insertions(+), 0 deletions(-)

ci/azure/linux_script+4
......@@ -14,6 +14,10 @@ sudo apt-get remove -y llvm-*
1414sudo rm -rf /usr/local/*
1515sudo apt-get install -y libxml2-dev libclang-9-dev llvm-9 llvm-9-dev cmake s3cmd gcc-7 g++-7 qemu
1616
17# Make the `zig version` number consistent.
18# This will affect the cmake command below.
19git config core.abbrev 9
20
1721export CC=gcc-7
1822export CXX=g++-7
1923mkdir build
ci/azure/macos_script+4
......@@ -67,6 +67,10 @@ else
6767 s3cmd put -P --add-header="cache-control: public, max-age=31536000, immutable" "$CACHE_BASENAME.tar.xz" "s3://ziglang.org/builds/$CACHE_BASENAME.tar.xz"
6868fi
6969
70# Make the `zig version` number consistent.
71# This will affect the cmake command below.
72git config core.abbrev 9
73
7074cd $ZIGDIR
7175mkdir build
7276cd build
ci/drone/linux_script+4
......@@ -11,6 +11,10 @@ apk update
1111apk add py3-pip xz perl-utils
1212pip3 install s3cmd
1313
14# Make the `zig version` number consistent.
15# This will affect the cmake command below.
16git config core.abbrev 9
17
1418mkdir build
1519cd build
1620cmake .. -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"
88PREFIX="$HOME/$CACHE_BASENAME"
99JOBS="-j$(sysctl -n hw.ncpu)"
1010
11# Make the `zig version` number consistent.
12# This will affect the cmake command below.
13git config core.abbrev 9
14
1115cd $HOME
1216wget -nv "https://ziglang.org/builds/$CACHE_BASENAME.tar.xz"
1317tar xf "$CACHE_BASENAME.tar.xz"