diff --git a/pylib/anki/BUILD.bazel b/pylib/anki/BUILD.bazel index 90405ec9e..64b104ed5 100644 --- a/pylib/anki/BUILD.bazel +++ b/pylib/anki/BUILD.bazel @@ -72,8 +72,10 @@ py_wheel( platform = select({ "//platforms:windows_x86_64": "win_amd64", "//platforms:macos_x86_64": "macosx_10_13_x86_64", + "//platforms:macos_arm64": "macosx_11_0_arm64", + # the glibc versions below are set for the official builds; + # you can adjust them to suit your enviroment "//platforms:linux_x86_64": "manylinux_2_28_x86_64", - # Built on a Debian 11 image that has Qt 5.15 "//platforms:linux_arm64": "manylinux_2_31_aarch64", }), python_tag = "cp39", diff --git a/qt/aqt/data/lib/BUILD.bazel b/qt/aqt/data/lib/BUILD.bazel index aa75876fa..4a7e938ae 100644 --- a/qt/aqt/data/lib/BUILD.bazel +++ b/qt/aqt/data/lib/BUILD.bazel @@ -11,6 +11,7 @@ filegroup( name = "lib", srcs = [] + select({ "//platforms:macos_x86_64": ["libankihelper.dylib"], + "//platforms:macos_arm64": ["libankihelper.dylib"], "//conditions:default": [], }), visibility = ["//qt:__subpackages__"],