[flang][cuda] Adding atomicadd as a cudadevice intrinsic and converting it LLVM diale...
[llvm-project.git] / llvm / lib / ExecutionEngine / Orc / TargetProcess / CMakeLists.txt
blob3d1dfe758c79ddf4272afe52402ea794e77fa9c9
1 if( CMAKE_HOST_UNIX AND HAVE_LIBRT )
2   set(rt_lib rt)
3 endif()
5 set(intel_jit_profiling )
6 if( LLVM_USE_INTEL_JITEVENTS )
7   set(intel_jit_profiling IntelJITProfiling)
8   include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../IntelJITProfiling)
9   include_directories(${PROJECT_BINARY_DIR}/ittapi/include/ )
10 endif()
12 add_llvm_component_library(LLVMOrcTargetProcess
13   ExecutorSharedMemoryMapperService.cpp
14   JITLoaderGDB.cpp
15   JITLoaderPerf.cpp
16   JITLoaderVTune.cpp
17   OrcRTBootstrap.cpp
18   RegisterEHFrames.cpp
19   SimpleExecutorDylibManager.cpp
20   SimpleExecutorMemoryManager.cpp
21   SimpleRemoteEPCServer.cpp
22   TargetExecutionUtils.cpp
24   ADDITIONAL_HEADER_DIRS
25   ${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/Orc
27   LINK_LIBS
28   ${LLVM_PTHREAD_LIB}
29   ${rt_lib}
31   LINK_COMPONENTS
32   ${intel_jit_profiling}
33   OrcShared
34   Support
35   TargetParser
36   )