aboutsummaryrefslogtreecommitdiff
path: root/ci/travis_linux_script
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-09-19 17:15:33 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-09-19 17:15:33 -0400
commitf9bf04c38b693b0eee368416ec8eaba06a057e1e (patch)
tree0fcf8757c2f9b99e66d5f5c750a37d88eabc3444 /ci/travis_linux_script
parent287f5cce50ff5fb1b9515ce8b7c38339c9d22472 (diff)
downloadzig-f9bf04c38b693b0eee368416ec8eaba06a057e1e.tar.gz
zig-f9bf04c38b693b0eee368416ec8eaba06a057e1e.zip
travis: build zig with gcc to match what llvm was built with
from #llvm IRC: <andrewrk> does llvm 7 as a .so have some kind of new initialization requirement? I'm getting a segfault in llvm::DIBuilder::createFile (with valid non-null parameters), when linking my frontend against llvm-7.so but not when linking against llvm .a libraries <d0k> we have an ABI bug in LLVM 7 when the .so is built with gcc but your program is build with clang. I'm sorry for that.
Diffstat (limited to 'ci/travis_linux_script')
-rwxr-xr-xci/travis_linux_script4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/travis_linux_script b/ci/travis_linux_script
index 5b312d9eeb..54a3f0bb97 100755
--- a/ci/travis_linux_script
+++ b/ci/travis_linux_script
@@ -3,8 +3,8 @@
set -x
set -e
-export CC=clang-7
-export CXX=clang++-7
+export CC=gcc-7
+export CXX=g++-7
echo $PATH
mkdir build
cd build