From e7f350e586477dd1299a23d4c70a5d8468682adf Mon Sep 17 00:00:00 2001 From: Lawrence D'Anna Date: Wed, 1 Jul 2020 11:48:25 -0700 Subject: [PATCH 1/2] pythonw: add arm64 support --- Mac/Tools/pythonw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mac/Tools/pythonw.c b/Mac/Tools/pythonw.c index c8bd3ba8d68c15..b9aac11e86453b 100644 --- a/Mac/Tools/pythonw.c +++ b/Mac/Tools/pythonw.c @@ -121,6 +121,8 @@ setup_spawnattr(posix_spawnattr_t* spawnattr) cpu_types[0] = CPU_TYPE_POWERPC; #elif defined(__i386__) cpu_types[0] = CPU_TYPE_X86; +#elif defined(__arm64__) + cpu_types[0] = CPU_TYPE_ARM64; #else # error "Unknown CPU" #endif From 7dfd5a0b79f32b8386ab7015e4b76153450706a4 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2020 19:03:27 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Misc/NEWS.d/next/macOS/2020-07-01-19-03-26.bpo-41100.nrC7wk.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/macOS/2020-07-01-19-03-26.bpo-41100.nrC7wk.rst diff --git a/Misc/NEWS.d/next/macOS/2020-07-01-19-03-26.bpo-41100.nrC7wk.rst b/Misc/NEWS.d/next/macOS/2020-07-01-19-03-26.bpo-41100.nrC7wk.rst new file mode 100644 index 00000000000000..a7a063f7b7bdea --- /dev/null +++ b/Misc/NEWS.d/next/macOS/2020-07-01-19-03-26.bpo-41100.nrC7wk.rst @@ -0,0 +1 @@ +pythonw: add arm64 support \ No newline at end of file