From 9c784a22433f40f8b4abc2bd145b372185fc8ec6 Mon Sep 17 00:00:00 2001 From: rudy Date: Tue, 28 Feb 2023 09:28:09 +0100 Subject: [PATCH] fix(ci): prepare_release, GLIBC_VER was not used --- compiler/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/compiler/Makefile b/compiler/Makefile index 63b20dc85..50de08a66 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -471,9 +471,14 @@ linux-python-package: # the second run can find the packages via find_namespace_packages $(PIP_WHEEL) $(PIP_WHEEL) - export GLIBC_VER=$(shell ldd --version | head -n 1 | grep -o '[^ ]*$$'|head|tr '.' '_') - for PLATFORM in manylinux_$(GLIBC_VER)_x86_64 linux_x86_64; do \ - $(AUDIT_WHEEL_REPAIR) $(BUILD_DIR)/wheels/*.whl --plat $$PLATFORM || echo No repair with $(PLATFORM) ;\ + GLIBC_VER=$(shell ldd --version | head -n 1 | grep -o '[^ ]*$$'|head|tr '.' '_'); \ + for PLATFORM in manylinux_$${GLIBC_VER}_x86_64 linux_x86_64; do \ + if $(AUDIT_WHEEL_REPAIR) $(BUILD_DIR)/wheels/*.whl --plat $$PLATFORM; then \ + echo Success for $$PLATFORM; \ + break; \ + else \ + echo No repair with $$PLATFORM; \ + fi \ done darwin-python-package: