summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlexey Sotkin <alexey.sotkin@intel.com>2018-04-03 17:00:46 +0300
committerAlexey Sotkin <alexey.sotkin@intel.com>2018-04-03 17:17:38 +0300
commit0f1efec411c52d4757b025a69295cee066e356af (patch)
tree4b41e89b603cbc147f973d59dfa32d6d01927a8e /tools
parentd3f156ca58143ddb82c6c36d209ea2c2873d5996 (diff)
Reorganizing the SPIR-V/LLVM Translator tree
Before this commit the SPIR-V/LLVM Translator was part of the LLVM tree. The history has been rewritten before this commit, so everything not related to SPIR-V was removed with git filter-branch. Some directories were moved around to be in accordance with http://llvm.org/docs/Projects.html#source-tree-layout Also adding CMakeLists.txt and LIT config files.
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-spirv/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/llvm-spirv/CMakeLists.txt b/tools/llvm-spirv/CMakeLists.txt
index d868689..f4d41a9 100644
--- a/tools/llvm-spirv/CMakeLists.txt
+++ b/tools/llvm-spirv/CMakeLists.txt
@@ -2,13 +2,14 @@ set(LLVM_LINK_COMPONENTS
Analysis
BitReader
BitWriter
- IPO
- SPIRVLib
Core
+ SPIRVLib
Support
- TransformUtils
+ TransformUtils
)
+include_directories(${LLVM_SPIRV_INCLUDE_DIRS})
+
add_llvm_tool(llvm-spirv
llvm-spirv.cpp
)