Skip to content
Permalink
Browse files

Disable de-virtualization in sh-tests for gcc-4.9+ (#53)

* Update AMBuilder
* Re-add gcc6 to .travis.yml
* right; 🐍
* where Travis-CI?
* fix whitespace problems w/ travis.yml
  • Loading branch information...
KyleSanderson committed Jul 31, 2018
1 parent e573602 commit 625c59dad5aaf28ed5c5c03443d8be4864e6ddea
Showing with 12 additions and 0 deletions.
  1. +9 −0 .travis.yml
  2. +2 −0 core/sourcehook/test/AMBuilder
  3. +1 −0 pushbuild.txt
@@ -80,6 +80,15 @@ matrix:
packages: ['clang-5.0', 'lib32stdc++6', 'lib32z1-dev', 'libc6-dev-i386', 'linux-libc-dev', 'g++-multilib']
env: ['MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"']

- os: linux
sudo: false
language: cpp
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-6', 'g++-6-multilib', 'lib32stdc++6', 'lib32z1-dev', 'libc6-dev-i386', 'linux-libc-dev', 'g++-multilib']
env: ['MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"']

allow_failures:
- env: MATRIX_EVAL="CC=clang-3.7 && CXX=clang++-3.7"
- env: MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9"
@@ -7,6 +7,8 @@ for arch in MMS.archs:
binary.compiler.cxxincludes += [
os.path.join(builder.sourcePath, 'core', 'sourcehook'),
]
if binary.compiler.version >= 'gcc-4.9':
binary.compiler.cxxflags += ['-fno-devirtualize']
if binary.compiler.version >= 'clang-2.9' or binary.compiler.version >= 'apple-clang-3.0':
binary.compiler.cxxflags += ['-Wno-null-dereference']

@@ -35,3 +35,4 @@ dvander is one million ladies tall today...
Your tier1 tower is under attack..
Christmas!
is Skinny Pete any relation to Sneaky Pete???
where Travis?

0 comments on commit 625c59d

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.