Skip to content

Commit

Permalink
Enable pip installation from source on IBM PowerPC
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 committed Feb 29, 2024
1 parent 61149a9 commit a1e6747
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 a1e6747

Please sign in to comment.