| Issue |
114757
|
| Summary |
[mlir] MLIRNVVMTarget link an Absolute Path Library
|
| Labels |
mlir
|
| Assignees |
|
| Reporter |
MikaOvO
|
When build mlir with `-DMLIR_ENABLE_NVPTXCOMPILER=ON`, there will be an absolute path library in the `/Path/to/build/install/lib/cmake/mlir/MLIRTargets.cmake`. For example:
```cmake
set_target_properties(MLIRNVVMTarget PROPERTIES
INTERFACE_LINK_LIBRARIES "MLIRIR;MLIRExecutionEngineUtils;MLIRSupport;MLIRGPUDialect;MLIRTargetLLVM;MLIRNVVMToLLVMIRTranslation;LLVMSupport;/An/absolute/path/libnvptxcompiler_static.a"
)
```
If downstream project needs use this target, it will probably can not find this library, then fail to build.
We should make this absolute path become a library that downstream project can modify its path.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs