[PATCH 1/2] travis: Use gcc-6 for llvm-7 build

llvm does not expose -std=c++11 in cxx flags.
gcc-6 switched default from c++98 to c++14
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>

ping.

Reviewed-by: Aaron Watry <awatry@gmail.com>

llvm does not expose -std=c++11 in cxx flags.
gcc-6 switched default from c++98 to c++14

So does this mean libclc will be compiled with -std=c++14 now in the travis builds?

-Tom

> llvm does not expose -std=c++11 in cxx flags.
> gcc-6 switched default from c++98 to c++14

So does this mean libclc will be compiled with -std=c++14 now in the
travis builds?

Yes, the 'prepare_builtins' helper tool will be built using c++14.
Ubuntu has a habit of shipping llvm that was not built using system's
default c++ compiler, so 'llvm-config --cxxflags' usually kills it.

Jan

llvm does not expose -std=c++11 in cxx flags.
gcc-6 switched default from c++98 to c++14

So does this mean libclc will be compiled with -std=c++14 now in the
travis builds?

Yes, the 'prepare_builtins' helper tool will be built using c++14.
Ubuntu has a habit of shipping llvm that was not built using system's
default c++ compiler, so 'llvm-config --cxxflags' usually kills it.

OK thanks for explaining, LGTM.

Reviewed-by: Aaron Watry <awatry@gmail.com>

thank both you and Tom. I've pushed all 3 series.

Jan