From d9018231f4a8a23e7d15e1e7a5076733c5ba2a38 Mon Sep 17 00:00:00 2001 From: Ryan Mast Date: Fri, 2 Feb 2024 20:36:17 -0800 Subject: [PATCH] Expand macOS universal tags as part of building the wheels --- .github/workflows/pythonpackage.yml | 2 +- helics_apps-pip/pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 4eaee35..e796079 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -64,7 +64,7 @@ jobs: package-dir: helics_apps-pip env: CIBW_ARCHS: "${{ matrix.arch }}" - CIBW_ARCHS_MACOS: "x86_64 universal2 arm64" + CIBW_ARCHS_MACOS: "universal2" CIBW_BUILD: "cp39-${{ matrix.build }}*" CIBW_BUILD_VERBOSITY: 3 TEST_ENV_VAR: "A VALUE!!!" diff --git a/helics_apps-pip/pyproject.toml b/helics_apps-pip/pyproject.toml index 566e052..e627a97 100644 --- a/helics_apps-pip/pyproject.toml +++ b/helics_apps-pip/pyproject.toml @@ -54,6 +54,7 @@ cmake.version = ">=3.15" build-dir = "build/{wheel_tag}" wheel.install-dir = "helics_apps/data" wheel.py-api = "py2.py3" +wheel.expand-macos-universal-tags = true metadata.version.provider = "scikit_build_core.metadata.setuptools_scm" sdist.include = ["helics_apps/_version.py"] sdist.cmake = true