[test-suite] r337753 - [CUDA, test-suite] Adjust path to libc++ headers in clang's build dir.
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 23 15:09:13 PDT 2018
Author: tra
Date: Mon Jul 23 15:09:12 2018
New Revision: 337753
URL: http://llvm.org/viewvc/llvm-project?rev=337753&view=rev
Log:
[CUDA, test-suite] Adjust path to libc++ headers in clang's build dir.
This should fix CUDA buildbot broken by D49629.
Modified:
test-suite/trunk/External/CUDA/CMakeLists.txt
Modified: test-suite/trunk/External/CUDA/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/CUDA/CMakeLists.txt?rev=337753&r1=337752&r2=337753&view=diff
==============================================================================
--- test-suite/trunk/External/CUDA/CMakeLists.txt (original)
+++ test-suite/trunk/External/CUDA/CMakeLists.txt Mon Jul 23 15:09:12 2018
@@ -346,7 +346,7 @@ macro(create_cuda_tests)
# 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 -DSTDLIB_VERSION=2017)
+ set(_Stdlib_CPPFLAGS -stdlib=libc++ -I${_compiler_path}/../include/c++/v1 -DSTDLIB_VERSION=2017)
set(_Stdlib_LDFLAGS -stdlib=libc++)
set(_Stdlib_Libs libcxx)
create_cuda_test_variant(${_Std} "${_Cuda_Suffix}-${_Std_Suffix}-libc++")
More information about the llvm-commits
mailing list