Commit 7d29f6ad authored by David Thompson's avatar David Thompson

Switch Travis-CI to clang; gcc causes errors.

Building CGM with gcc causes an internal compiler
error preprocessing `geom/virtual/PartitionEngine.cpp`.
parent 6c7b2afc
language: cpp
compiler:
- gcc
#- clang
#- gcc
- clang
before_install:
#- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
......@@ -34,7 +34,8 @@ install:
- cd ~/smtk-deps/cgm/build
#- ~/smtk-deps/cmake/install/bin/cmake --version
#- ~/smtk-deps/cmake/install/bin/cmake --help
- ~/smtk-deps/cmake/install/bin/cmake -G Ninja -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo "-DCMAKE_CXX_FLAGS:STRING=-fPIC" -DCGM_OCC:BOOL=ON "-DCMAKE_INSTALL_PREFIX=${HOME}/smtk-deps/cgm/install" ../src
#- ~/smtk-deps/cmake/install/bin/cmake -G Ninja -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo "-DCMAKE_CXX_FLAGS:STRING=-fPIC" -DCGM_OCC:BOOL=ON "-DCMAKE_INSTALL_PREFIX=${HOME}/smtk-deps/cgm/install" ../src
- ~/smtk-deps/cmake/install/bin/cmake -G Ninja -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo "-DCMAKE_CXX_FLAGS:STRING=-fPIC" "-DCMAKE_INSTALL_PREFIX=${HOME}/smtk-deps/cgm/install" ../src
- ninja install
script:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment