]> granicus.if.org Git - libatomic_ops/commitdiff
Travis CI: Use -march=native for MSan/UBSan, musl-gcc, no atomic-intrinsics
authorIvan Maidanski <ivmai@mail.ru>
Thu, 23 Mar 2017 07:29:45 +0000 (10:29 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 23 Mar 2017 07:31:01 +0000 (10:31 +0300)
.travis.yml

index 97bd1bb65765995bd61af8644da15fb160e4be88..209d3296d5b909b8bf01dc77ca2034055668937f 100644 (file)
@@ -44,13 +44,14 @@ matrix:
     - os: linux
       compiler: clang
       env:
-        - CFLAGS_EXTRA="-fsanitize=memory,undefined -fno-common -fno-omit-frame-pointer"
+        - CFLAGS_EXTRA="-fsanitize=memory,undefined -march=native -fno-omit-frame-pointer"
         - MSAN_OR_UBSAN=true
       sudo: required
     - os: linux
       compiler: clang
       env:
         - CONF_INTRINSICS=--disable-atomic-intrinsics
+        - CFLAGS_EXTRA="-march=native"
     - os: linux
       addons: { apt: { packages: [ lcov ] } }
       compiler: gcc
@@ -77,6 +78,9 @@ matrix:
       addons: { apt: { packages: [ musl-tools ] } }
       compiler: musl-gcc
       dist: trusty
+      env:
+        - CFLAGS_EXTRA="-march=native"
+        - CONF_ASSERTIONS=--enable-assertions
     - os: linux
       addons: { apt: { packages: [ gcc-multilib ] } }
       env: [ CROSS_GCC_VER=4.9.0, NOLIBC_ARCH_ABI=aarch64-linux ]