Skip to content

Commit

Permalink
Disable LTC from release builds to bypass linker issue (llvm#3121)
Browse files Browse the repository at this point in the history
Workaround for llvm#3120. This
should bring prebuilt releases back to green:
https://github.com/llvm/torch-mlir-release/actions.
  • Loading branch information
sjain-stanford authored Apr 9, 2024
1 parent 5797d3a commit 04aeb49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_tools/python_deploy/build_linux_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 04aeb49

Please sign in to comment.