File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 26
26
export ARGS=""
27
27
;;
28
28
SharedLibs)
29
+ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
30
+ sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main"
31
+ sudo apt-get update
32
+ sudo apt-get install -y clang-12
29
33
export ARGS="--shared-libs"
34
+ export CC="clang-12"
35
+ export CXX="clang++-12"
30
36
;;
31
37
NoAssertions)
32
38
export ARGS="--no-assertions"
Original file line number Diff line number Diff line change @@ -36,6 +36,13 @@ macro(add_sycl_unittest test_dirname link_variant)
36
36
${SYCL_SOURCE_DIR} /source/
37
37
${SYCL_SOURCE_DIR} /unittests/
38
38
)
39
+ if (UNIX )
40
+ # These warnings are coming from Google Test code.
41
+ target_compile_options (${test_dirname} PRIVATE
42
+ -Wno-unused-parameter
43
+ -Wno-inconsistent-missing-override
44
+ )
45
+ endif ()
39
46
# LLVM gtest uses LLVM utilities that require C++-14
40
47
# CXX_STANDARD_REQUIRED makes CXX_STANDARD a hard requirement.
41
48
set_target_properties (${test_dirname}
You can’t perform that action at this time.
0 commit comments