Disable LTC from release builds to bypass linker issue (#3121)

Workaround for https://github.com/llvm/torch-mlir/issues/3120. This
should bring prebuilt releases back to green:
https://github.com/llvm/torch-mlir-release/actions.
pull/3125/head
Sambhav Jain 2024-04-08 18:23:46 -07:00 committed by GitHub
parent 5797d3aa57
commit 04aeb4913f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -434,6 +434,8 @@ function clean_build() {
}
function build_torch_mlir() {
# Disable LTC build for releases to avoid linker issues
export TORCH_MLIR_ENABLE_LTC=0
local torch_version="$1"
case $torch_version in
nightly)