From 04aeb4913f4650a27e890f9be23a1492d5df4396 Mon Sep 17 00:00:00 2001 From: Sambhav Jain Date: Mon, 8 Apr 2024 18:23:46 -0700 Subject: [PATCH] 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. --- build_tools/python_deploy/build_linux_packages.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_tools/python_deploy/build_linux_packages.sh b/build_tools/python_deploy/build_linux_packages.sh index 401930887..07ae396f5 100755 --- a/build_tools/python_deploy/build_linux_packages.sh +++ b/build_tools/python_deploy/build_linux_packages.sh @@ -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)