aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorMichael Dusan <michael.dusan@gmail.com>2020-03-05 18:00:10 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-03-05 19:47:28 -0500
commitc08444b33ff49981cd0a39cced479e2197dc4fd7 (patch)
tree6455ac3ebe4e1d20e4527dd0e3de102b746a1bd2 /ci
parent01c722c21cd4f0216a722fa698d704e23707a5ba (diff)
downloadzig-c08444b33ff49981cd0a39cced479e2197dc4fd7.tar.gz
zig-c08444b33ff49981cd0a39cced479e2197dc4fd7.zip
srht: workaround FreeBSD fiasco
Diffstat (limited to 'ci')
-rwxr-xr-xci/srht/freebsd_script11
1 files changed, 9 insertions, 2 deletions
diff --git a/ci/srht/freebsd_script b/ci/srht/freebsd_script
index c6b06f063d..969e644d5d 100755
--- a/ci/srht/freebsd_script
+++ b/ci/srht/freebsd_script
@@ -3,8 +3,15 @@
set -x
set -e
-sudo pkg update -f
-yes | sudo pkg install cmake py27-s3cmd wget curl jq
+# The following line can be removed as soon as FreeBSD fixes
+# their packaging glitch. If not fixed by March 15, 2020
+# there is something wrong. Should be fixed much sooner.
+# note: this will cause some complaints when running
+# pkg commands but let's ignore them.
+sudo rm /usr/local/etc/pkg/repos/FreeBSD.conf
+
+sudo pkg update -fq
+sudo pkg install -y cmake py27-s3cmd wget curl jq
ZIGDIR="$(pwd)"
CACHE_BASENAME="llvm+clang-9.0.0-freebsd-x86_64-release"