projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115a5a6
)
[PDLL] Attempt to fix shared libraries build
author
River Riddle
<riddleriver@gmail.com>
Fri, 4 Mar 2022 04:20:36 +0000
(20:20 -0800)
committer
River Riddle
<riddleriver@gmail.com>
Fri, 4 Mar 2022 04:20:45 +0000
(20:20 -0800)
PDLLParser now depends on TableGen, which disables LLVM_DYLIB
mlir/lib/Tools/PDLL/Parser/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/mlir/lib/Tools/PDLL/Parser/CMakeLists.txt
b/mlir/lib/Tools/PDLL/Parser/CMakeLists.txt
index
d553f92
..
f705214
100644
(file)
--- a/
mlir/lib/Tools/PDLL/Parser/CMakeLists.txt
+++ b/
mlir/lib/Tools/PDLL/Parser/CMakeLists.txt
@@
-1,7
+1,10
@@
-add_mlir_library(MLIRPDLLParser
+
+llvm_add_library(MLIRPDLLParser STATIC
Lexer.cpp
Parser.cpp
+ DISABLE_LLVM_LINK_LLVM_DYLIB
+
LINK_COMPONENTS
Support
TableGen