Skip to content

Commit e83e16d

Browse files
[SYCL] Don't use project's CMAKE_CXX_FLAGS for in-tree e2e-tests configuration (#9075)
It contains all our "-Werror/-W*/etc." that we use to build the project that have nothing to do with our end-to-end tests.
1 parent 09ae643 commit e83e16d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/test-e2e/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ if(SYCL_TEST_E2E_STANDALONE)
1717
set(SYCL_CXX_COMPILER ${CMAKE_CXX_COMPILER})
1818
else()
1919
set(SYCL_CXX_COMPILER "${LLVM_BINARY_DIR}/bin/clang++")
20+
# Don't want options used for building sycl-toolchain.
21+
unset(CMAKE_CXX_FLAGS)
2022
endif() # Standalone.
2123

2224
find_package(Threads REQUIRED)

0 commit comments

Comments
 (0)