[cmake] link TorchMLIRTorchConversionPasses to TorchMLIRConversionPasses (#3113)

* as that `TorchMLIRTorchConversionPasses` missing dependencies of
`TorchMLIRTorchToStablehlo` and `TorchMLIRTorchToTensor`.
* use `TorchMLIRConversionPasses` instead of scattered targets.
pull/3116/head
Yuanqiang Liu 2024-04-08 14:44:34 +08:00 committed by GitHub
parent 498ab997cd
commit 43d54efd14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 6 deletions

View File

@ -7,14 +7,9 @@ set(LinkedLibs
MLIRTosaTransforms
MLIRVectorTransforms
TorchMLIRTorchConversionDialect
TorchMLIRTorchConversionToMLProgram
TorchMLIRTorchDialect
TorchMLIRTorchPasses
TorchMLIRTorchToArith
TorchMLIRTorchToLinalg
TorchMLIRTorchToSCF
TorchMLIRTorchToTMTensor
TorchMLIRTorchToTosa
TorchMLIRConversionPasses
)
if(TORCH_MLIR_ENABLE_STABLEHLO)