From a1e6747f707a47a0d8d8bba4d60f1b7574251fc4 Mon Sep 17 00:00:00 2001 From: Mark Turner Date: Thu, 29 Feb 2024 11:00:23 +0000 Subject: [PATCH] Enable pip installation from source on IBM PowerPC This patch enables pip installation from source on IBM PowerPC in a way that is consistent with what is in place for Arm architectures. --- src/stim/py/march.pybind.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stim/py/march.pybind.cc b/src/stim/py/march.pybind.cc index 762b86e40..c012618b5 100644 --- a/src/stim/py/march.pybind.cc +++ b/src/stim/py/march.pybind.cc @@ -6,8 +6,8 @@ // Windows #include #define cpuid(info, x) __cpuidex(info, x, 0) -#elif (defined(__arm64__) && defined(__APPLE__)) || defined(__aarch64__) -// macOS ARM64 (dummied out) +#elif (defined(__arm64__) && defined(__APPLE__)) || defined(__aarch64__) || defined(_ARCH_PPC) +// macOS ARM64 and IBM PowerPC (dummied out) void cpuid(int info[4], int infoType) { info[0] = 0; info[1] = 0;