bonsai makefile update regex to keep track of x86_64 version automatically

This commit is contained in:
Andrej730
2024-09-25 13:09:32 +05:00
parent 700a453501
commit 0af2ab53a0
+1 -1
View File
@@ -285,7 +285,7 @@ ifeq ($(PLATFORM), macosm1)
mv "$$prev_whl_name" "$$whl_name";
prev_whl_name=$$(find build/bonsai/wheels/tzfpy-*.whl); \
whl_name=$$(echo $$prev_whl_name | sed "s/macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2/macosx_10_12_arm64/"); \
whl_name=$$(echo $$prev_whl_name | sed -E "s/macosx_10_([0-9]+)_x86_64\.macosx_11_0_arm64\.macosx_10_\1_universal2/macosx_10_\1_arm64/"); \
mv "$$prev_whl_name" "$$whl_name";
# Has only universal build.