mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-20 13:54:14 +01:00
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:
parent
e573602f81
commit
625c59dad5
@ -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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user