[PATCH] D46994: [test-suite] Test CUDA in C++14 mode with C++11 stdlibs.
Artem Belevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 17 10:02:01 PDT 2018
tra accepted this revision.
tra added inline comments.
This revision is now accepted and ready to land.
================
Comment at: External/CUDA/CMakeLists.txt:339-345
# Same as above, but for libc++
# Tell clang to use libc++
# We also need to add compiler's include path for cxxabi.h
get_filename_component(_compiler_path ${CMAKE_CXX_COMPILER} DIRECTORY)
- set(_Stdlib_CPPFLAGS -stdlib=libc++ -I${_compiler_path}/../include/c++-build)
+ set(_Stdlib_CPPFLAGS -stdlib=libc++ -I${_compiler_path}/../include/c++-build -DSTDLIB_VERSION=2017)
set(_Stdlib_LDFLAGS -stdlib=libc++)
set(_Stdlib_Libs libcxx)
----------------
Looks like the file should be un-tabified.
Repository:
rT test-suite
https://reviews.llvm.org/D46994
More information about the llvm-commits
mailing list