[test-suite] r289500 - [test-suite] Adjust include path for the new location of cxxabi.h

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 15:57:24 PST 2016


Author: tra
Date: Mon Dec 12 17:57:24 2016
New Revision: 289500

URL: http://llvm.org/viewvc/llvm-project?rev=289500&view=rev
Log:
[test-suite] Adjust include path for the new location of cxxabi.h

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=289500&r1=289499&r2=289500&view=diff
==============================================================================
--- test-suite/trunk/External/CUDA/CMakeLists.txt (original)
+++ test-suite/trunk/External/CUDA/CMakeLists.txt Mon Dec 12 17:57:24 2016
@@ -270,7 +270,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)
+	set(_Stdlib_CPPFLAGS -stdlib=libc++ -I${_compiler_path}/../include/c++-build)
 	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