-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Closed
Labels
cmakeBuild system in general and CMake in particularBuild system in general and CMake in particularmlir
Description
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:
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.
Metadata
Metadata
Assignees
Labels
cmakeBuild system in general and CMake in particularBuild system in general and CMake in particularmlir