• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1set(MODULE TRUE)
2set(LLVM_NO_RTTI 1)
3
4add_polly_library(GPURuntime
5  GPUJIT.c
6  )
7
8set_target_properties(GPURuntime
9  PROPERTIES
10  LINKER_LANGUAGE C
11  PREFIX "lib"
12  )
13
14set_property(TARGET GPURuntime PROPERTY C_STANDARD 99)
15
16set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=default ")
17if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
18  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-sanitize=all ")
19endif()
20