projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43bf455
)
Do not compile GPU library with sanitizers
author
Tobias Grosser
<tobias@grosser.es>
Tue, 28 Jul 2015 12:51:23 +0000
(12:51 +0000)
committer
Tobias Grosser
<tobias@grosser.es>
Tue, 28 Jul 2015 12:51:23 +0000
(12:51 +0000)
llvm-svn: 243411
polly/tools/GPURuntime/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/polly/tools/GPURuntime/CMakeLists.txt
b/polly/tools/GPURuntime/CMakeLists.txt
index
bbfd1b5
..
cc91702
100644
(file)
--- a/
polly/tools/GPURuntime/CMakeLists.txt
+++ b/
polly/tools/GPURuntime/CMakeLists.txt
@@
-11,4
+11,7
@@
set_target_properties(GPURuntime
PREFIX "lib"
)
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=default")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=default ")
+if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-sanitize=all ")
+endif()