forked from OSchip/llvm-project
18 lines
345 B
CMake
18 lines
345 B
CMake
set(MODULE TRUE)
|
|
set(LLVM_NO_RTTI 1)
|
|
|
|
add_polly_library(GPURuntime
|
|
GPUJIT.c
|
|
)
|
|
|
|
set_target_properties(GPURuntime
|
|
PROPERTIES
|
|
LINKER_LANGUAGE C
|
|
PREFIX "lib"
|
|
)
|
|
|
|
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()
|