aboutsummaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2019-12-22 15:37:55 -0800
committerMarco Poletti <poletti.marco@gmail.com>2019-12-22 15:37:55 -0800
commit2cc8be12c0311d9002e64c2ca718c51302785f9b (patch)
tree4f69829eb29a989f5c2ab2f3930466505f45d495 /extras
parent0187d6ce3fbd6092e64f6244a8e5c29877314603 (diff)
downloadgoogle-fruit-2cc8be12c0311d9002e64c2ca718c51302785f9b.tar.gz
No longer use PCHs when running OS X CI tests with GCC 9, it does not work.
Diffstat (limited to 'extras')
-rwxr-xr-xextras/scripts/travis_yml_generator.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/extras/scripts/travis_yml_generator.py b/extras/scripts/travis_yml_generator.py
index e2f5581..0b78678 100755
--- a/extras/scripts/travis_yml_generator.py
+++ b/extras/scripts/travis_yml_generator.py
@@ -176,7 +176,11 @@ add_ubuntu_tests(ubuntu_version='16.04', compiler='clang-3.9', stl='libstdc++',
# visibility settings.
# and the build eventually fails or times out.
add_osx_tests(compiler='gcc-6', xcode_version='11.4', asan=False, ubsan=False)
-add_osx_tests(compiler='gcc-9', xcode_version='11.4', asan=False, ubsan=False, smoke_tests=['DebugPlain'])
+add_osx_tests(compiler='gcc-9', xcode_version='11.4', asan=False, ubsan=False, smoke_tests=['DebugPlain'],
+ # Using PCHs fails with this error:
+ # error: /Users/travis/build/google/fruit/build/tests/test_common-precompiled.h.gch: had text segment
+ # at different address
+ use_precompiled_headers_in_tests=False)
add_osx_tests(compiler='clang-4.0', xcode_version='11.4', stl='libc++')
add_osx_tests(compiler='clang-8.0', xcode_version='11.4', stl='libc++', smoke_tests=['DebugPlain'],
# Disabled due to https://bugs.llvm.org/show_bug.cgi?id=41625.