]> granicus.if.org Git - gc/commitdiff
Travis CI: Test --with-libatomic-ops=none instead of -D GC_BUILTIN_ATOMIC
authorIvan Maidanski <ivmai@mail.ru>
Tue, 30 May 2017 08:10:15 +0000 (11:10 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 30 May 2017 08:10:15 +0000 (11:10 +0300)
.travis.yml

index af2e76f2c744571ed9f5d8f25de9eee766b9f9a5..b2e94acf3a5a562351ed5aefa5aff378ccf51fa7 100644 (file)
@@ -111,12 +111,20 @@ matrix:
   - os: linux
     compiler: clang
     env:
-    - CFLAGS_EXTRA="-D GC_BUILTIN_ATOMIC -march=native -D _FORTIFY_SOURCE=2"
-    - CONF_OPTIONS="--enable-cplusplus"
+    - CFLAGS_EXTRA="-march=native -D _FORTIFY_SOURCE=2"
+    - CONF_OPTIONS="--with-libatomic-ops=none --enable-cplusplus"
+    - NO_CLONE_LIBATOMIC_OPS=true
+  - os: linux
+    compiler: gcc
+    dist: trusty
+    env:
+    - CONF_OPTIONS="--with-libatomic-ops=none --enable-gc-assertions --enable-cplusplus"
+    - NO_CLONE_LIBATOMIC_OPS=true
   - os: osx
     env:
-    - CFLAGS_EXTRA="-D GC_BUILTIN_ATOMIC -march=native -D _FORTIFY_SOURCE=2"
-    - CONF_OPTIONS="--enable-cplusplus"
+    - CFLAGS_EXTRA="-march=native -D _FORTIFY_SOURCE=2"
+    - CONF_OPTIONS="--with-libatomic-ops=none --enable-cplusplus"
+    - NO_CLONE_LIBATOMIC_OPS=true
   - os: linux
     addons:
       apt: