Skip to content
Snippets Groups Projects
Commit 53ec0e73 authored by Akash Kothari's avatar Akash Kothari :speech_balloon:
Browse files

Update CMakeList files for HPVM for LLVM-9

parent dd8eb88b
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN) ...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN)
set(LLVM_LINK_COMPONENTS Core Support) set(LLVM_LINK_COMPONENTS Core Support)
endif() endif()
add_llvm_loadable_module( LLVMBuildDFG add_llvm_library( LLVMBuildDFG
MODULE
BuildDFG.cpp BuildDFG.cpp
DEPENDS DEPENDS
......
add_subdirectory(BuildDFG) add_subdirectory(BuildDFG)
add_subdirectory(ClearDFG) add_subdirectory(ClearDFG)
add_subdirectory(DFG2LLVM_NVPTX) add_subdirectory(DFG2LLVM_NVPTX)
add_subdirectory(DFG2LLVM_SPIR) #add_subdirectory(DFG2LLVM_SPIR)
add_subdirectory(DFG2LLVM_X86) add_subdirectory(DFG2LLVM_X86)
add_subdirectory(GenVISC) add_subdirectory(GenVISC)
add_subdirectory(LocalMem) add_subdirectory(LocalMem)
...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN) ...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN)
set(LLVM_LINK_COMPONENTS Core Support) set(LLVM_LINK_COMPONENTS Core Support)
endif() endif()
add_llvm_loadable_module( LLVMClearDFG add_llvm_library( LLVMClearDFG
MODULE
ClearDFG.cpp ClearDFG.cpp
DEPENDS DEPENDS
......
...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN) ...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN)
set(LLVM_LINK_COMPONENTS Core Support) set(LLVM_LINK_COMPONENTS Core Support)
endif() endif()
add_llvm_loadable_module( LLVMDFG2LLVM_NVPTX add_llvm_library( LLVMDFG2LLVM_NVPTX
MODULE
DFG2LLVM_NVPTX.cpp DFG2LLVM_NVPTX.cpp
DEPENDS DEPENDS
......
...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN) ...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN)
set(LLVM_LINK_COMPONENTS Core Support) set(LLVM_LINK_COMPONENTS Core Support)
endif() endif()
add_llvm_loadable_module( LLVMDFG2LLVM_SPIR add_llvm_library( LLVMDFG2LLVM_SPIR
MODULE
DFG2LLVM_SPIR.cpp DFG2LLVM_SPIR.cpp
DEPENDS DEPENDS
......
...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN) ...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN)
set(LLVM_LINK_COMPONENTS Core Support) set(LLVM_LINK_COMPONENTS Core Support)
endif() endif()
add_llvm_loadable_module( LLVMDFG2LLVM_X86 add_llvm_library( LLVMDFG2LLVM_X86
MODULE
DFG2LLVM_X86.cpp DFG2LLVM_X86.cpp
DEPENDS intrinsics_gen DEPENDS intrinsics_gen
......
...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN) ...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN)
set(LLVM_LINK_COMPONENTS Core Support) set(LLVM_LINK_COMPONENTS Core Support)
endif() endif()
add_llvm_loadable_module( LLVMGenVISC add_llvm_library( LLVMGenVISC
MODULE
GenVISC.cpp GenVISC.cpp
DEPENDS DEPENDS
......
...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN) ...@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN)
set(LLVM_LINK_COMPONENTS Core Support) set(LLVM_LINK_COMPONENTS Core Support)
endif() endif()
add_llvm_loadable_module( LLVMLocalMem add_llvm_library( LLVMLocalMem
MODULE
LocalMem.cpp LocalMem.cpp
DEPENDS DEPENDS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment