travis: add -O3 -march=native -mtune=native to default CXXFLAGS
This commit is contained in:
parent
cfd7279455
commit
59077b06f9
|
@ -8,12 +8,12 @@ env:
|
||||||
global:
|
global:
|
||||||
# unfortunately we need this to stay within 50min timelimit given by travis.
|
# unfortunately we need this to stay within 50min timelimit given by travis.
|
||||||
# this also turns off the debug/warning cxxflags
|
# this also turns off the debug/warning cxxflags
|
||||||
- CXXFLAGS="-O2 -Wunreachable-code"
|
- CXXFLAGS="-O3 -march=native -mtune=native -Wunreachable-code"
|
||||||
matrix:
|
matrix:
|
||||||
# special CXXFLAGS for maximum speed, overrides global CXXFLAGS, CHECK_CLANG is the var that controls if we download and check clang in that travis job
|
# special CXXFLAGS for maximum speed, overrides global CXXFLAGS, CHECK_CLANG is the var that controls if we download and check clang in that travis job
|
||||||
- CXXFLAGS="${CXXFLAGS} -DCHECK_INTERNAL"
|
- CXXFLAGS="${CXXFLAGS} -DCHECK_INTERNAL"
|
||||||
- MAKEFLAGS="HAVE_RULES=yes" SRCDIR=build VERIFY=1
|
- MAKEFLAGS="HAVE_RULES=yes" SRCDIR=build VERIFY=1
|
||||||
- CXXFLAGS="-O3 -march=native -mtune=native" SRCDIR=build CHECK_KERNEL=yes
|
- SRCDIR=build CHECK_KERNEL=yes
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
# do notify immediately about it when a job of a build fails.
|
# do notify immediately about it when a job of a build fails.
|
||||||
|
@ -21,10 +21,10 @@ matrix:
|
||||||
# exclude kernel checking with clang binary, not needed
|
# exclude kernel checking with clang binary, not needed
|
||||||
exclude:
|
exclude:
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
env: CXXFLAGS="-O3 -march=native -mtune=native" SRCDIR=build CHECK_KERNEL=yes
|
env: SRCDIR=build CHECK_KERNEL=yes
|
||||||
# kernel check can time out during travis rush hour, so make failure of it less grave...
|
# kernel check can time out during travis rush hour, so make failure of it less grave...
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: CXXFLAGS="-O3 -march=native -mtune=native" SRCDIR=build CHECK_KERNEL=yes
|
- env: SRCDIR=build CHECK_KERNEL=yes
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
# install needed deps
|
# install needed deps
|
||||||
|
|
Loading…
Reference in New Issue