diff options
author | Nicolas Vasilache <ntv@google.com> | 2020-03-02 22:47:16 -0500 |
---|---|---|
committer | Nicolas Vasilache <ntv@google.com> | 2020-03-02 22:47:16 -0500 |
commit | bcee8982a2931960ca29a9e95e3d10355e7393ab (patch) | |
tree | b4c626dd7846c508db3e01d58d52bf5bcd562daa /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a68235d583fccb465694fdfd72eeb8d45d3369c0 (diff) | |
download | llvm-bcee8982a2931960ca29a9e95e3d10355e7393ab.zip llvm-bcee8982a2931960ca29a9e95e3d10355e7393ab.tar.gz llvm-bcee8982a2931960ca29a9e95e3d10355e7393ab.tar.bz2 |
[mlir] Hotfix - Fix Windows build
This revision adds a static `mlir_c_runner_utils_static` library
for the sole purpose of being linked into `mlir_runner_utils` on
Windows.
It was previously reported that:
```
`add_llvm_library(mlir_c_runner_utils SHARED CRunnerUtils.cpp)`
produces *only* a dll on windows, the linking of mlir_runner_utils fails
because target_link_libraries is looking for a .lib file as opposed to a
.dll file. I think this may be a case where either we need to use
LINK_LIBS or explicitly build a static lib as well, but I haven't tried
either yet.
```
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions