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
This commit is contained in:
Kyle Sanderson 2018-07-31 11:02:13 -07:00 committed by GitHub
parent e573602f81
commit 625c59dad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 0 deletions

View File

@ -80,6 +80,15 @@ matrix:
packages: ['clang-5.0', 'lib32stdc++6', 'lib32z1-dev', 'libc6-dev-i386', 'linux-libc-dev', 'g++-multilib'] 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"'] 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: allow_failures:
- env: MATRIX_EVAL="CC=clang-3.7 && CXX=clang++-3.7" - env: MATRIX_EVAL="CC=clang-3.7 && CXX=clang++-3.7"
- env: MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9" - env: MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9"

View File

@ -7,6 +7,8 @@ for arch in MMS.archs:
binary.compiler.cxxincludes += [ binary.compiler.cxxincludes += [
os.path.join(builder.sourcePath, 'core', 'sourcehook'), 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': if binary.compiler.version >= 'clang-2.9' or binary.compiler.version >= 'apple-clang-3.0':
binary.compiler.cxxflags += ['-Wno-null-dereference'] binary.compiler.cxxflags += ['-Wno-null-dereference']

View File

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