Skip to content

Commit fb54275

Browse files
committed
m
1 parent e47250e commit fb54275

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tests/test_verify_build.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"""
77
import os
88
import pathlib
9+
import platform
910
import shutil
1011
import subprocess
1112
import sys
@@ -375,12 +376,13 @@ def test_pip_install_pyzmq(pipexec, pyzmq_version, build_version, arch):
375376
],
376377
env=env,
377378
)
379+
if (
380+
pyzmq_version == "26.2.0"
381+
and sys.platform == "darwin"
382+
and platform.processor() == "arm"
383+
):
384+
pytest.xfail(f"{pyzmq_version} does not install on m1 mac")
378385
if pyzmq_version == "26.2.0" and sys.platform == "darwin":
379-
# p = subprocess.run(["brew", "install", "openblas"])
380-
# env["OPENBLAS"] = subprocess.run(
381-
# ["brew", "--prefix", "openblas"], capture_output=True
382-
# ).stdout.decode()
383-
# env["CFLAGS"] = "-falign-functions=8 {env.get('CFLAGS', '')}"
384386
env[
385387
"CFLAGS"
386388
] = f"{env.get('CFLAGS', '')} -DCMAKE_OSX_ARCHITECTURES='arm64' -DZMQ_HAVE_CURVE=0"

0 commit comments

Comments
 (0)