Skip to content

Commit 2bc6082

Browse files
committed
More screwing around with compilers... :(
1 parent a2f8dec commit 2bc6082

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ addons:
3636

3737
before_install:
3838
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
39-
- g++ --version
39+
- if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.6"; fi
40+
41+
- $CXX --version
42+
- export CXXFLAGS="-std=c++0x -stdlib=libc++"
4043

4144
- export JAVA_HOME=/usr/lib/jvm/java-8-oracle
4245
- echo "startup --host_jvm_args=-Xmx2500m" >> .bazelrc

0 commit comments

Comments
 (0)