]> granicus.if.org Git - libatomic_ops/commitdiff
Travis CI: Test compilation of 'src' files as C++ ones (Clang)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 14 Feb 2018 07:06:28 +0000 (10:06 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 5 Mar 2018 21:44:13 +0000 (00:44 +0300)
.travis.yml

index 4c18e09c856357dfb1644d1a42798914bcc9773d..243730ae17e36e846b45b0acb266ee233e2bb5bb 100644 (file)
@@ -250,6 +250,12 @@ matrix:
     - CSA_CHECK=true
     - MAKEFILE_TARGET=all
     - CFLAGS_EXTRA="-D AO_TRACE_MALLOC -D HAVE_MMAP -D VERBOSE"
+  - os: linux
+    compiler: clang
+    env:
+    - CFLAGS_EXTRA="-x c++ -march=native -D VERBOSE"
+    - CONF_OPTIONS="--enable-assertions"
+    - MAKEFILE_TARGET=all
   - os: linux
     compiler: gcc
     env: