diff options
author | Alexey Sotkin <alexey.sotkin@intel.com> | 2018-04-03 17:00:46 +0300 |
---|---|---|
committer | Alexey Sotkin <alexey.sotkin@intel.com> | 2018-04-03 17:17:38 +0300 |
commit | 0f1efec411c52d4757b025a69295cee066e356af (patch) | |
tree | 4b41e89b603cbc147f973d59dfa32d6d01927a8e /tools | |
parent | d3f156ca58143ddb82c6c36d209ea2c2873d5996 (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.txt | 7 |
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
)
|