Skip to content

Commit

Permalink
Enable pip installation from source on IBM PowerPC (#705)
Browse files Browse the repository at this point in the history
This patch enables pip installation from source on IBM PowerPC in a way
that is consistent with what is in place for Arm architectures.
  • Loading branch information
markturner289 authored Feb 29, 2024
1 parent 61149a9 commit 7c90532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stim/py/march.pybind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Windows
#include <intrin.h>
#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;
Expand Down

0 comments on commit 7c90532

Please sign in to comment.