From a2b92822d4c4b7d106d7ef20f2ac7931d1fe0a42 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Tue, 26 Mar 2024 20:36:21 +0100 Subject: [PATCH] Add macos-14 as a runner (Apple M1) (#42728) * Add macos-14 as a runner (Apple M1) * Mark a test xfail We need to check later if this test needs modifications on Apple Silicon chips. --------- Co-authored-by: Harmen Stoppels Co-authored-by: alalazo --- lib/spack/spack/test/relocate.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/spack/spack/test/relocate.py b/lib/spack/spack/test/relocate.py index cc09730a13..d230014a8a 100644 --- a/lib/spack/spack/test/relocate.py +++ b/lib/spack/spack/test/relocate.py @@ -9,6 +9,8 @@ import pytest +import archspec.cpu + import spack.concretize import spack.paths import spack.platforms @@ -290,6 +292,7 @@ def test_relocate_text_bin_raise_if_new_prefix_is_longer(tmpdir): @pytest.mark.requires_executables("install_name_tool", "file", "cc") +@pytest.mark.skipif(str(archspec.cpu.host().family) != "x86_64", reason="failing on Apple M1/M2") def test_fixup_macos_rpaths(make_dylib, make_object_file): # For each of these tests except for the "correct" case, the first fixup # should make changes, and the second fixup should be a null-op.