From ae895ef91bad98f75d5f0a286f680700dc7ce218 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Mon, 3 Jul 2023 13:33:54 +0200 Subject: [PATCH] [cmake,ci] Set CPU architecture for wheel preset to sandybridge. Current wheels do not run on envinf1 (which has a SandyBridge cpu). --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 75c90d27604..741a086c2fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,6 +70,9 @@ environment-pass = [ "CMAKE_ARGS", ] +[tool.cibuildwheel.linux.config-settings] +"cmake.define.OGS_CPU_ARCHITECTURE" = "sandybridge" + [tool.cibuildwheel.macos] skip = ["cp36-*", "cp37-*", "cp38-*x86_64"] -- GitLab