Skip to content

Commit b957e1d

Browse files
authored
Fix ppc64le target (#5460)
The NodeJS architecture is ppc64 See also https://nodejs.org/api/process.html#processarch
1 parent 0b665c3 commit b957e1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

native.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const bindingsByPlatformAndArch = {
1616
linux: {
1717
arm: { base: 'linux-arm-gnueabihf', musl: null },
1818
arm64: { base: 'linux-arm64-gnu', musl: 'linux-arm64-musl' },
19-
ppc64le: { base: 'linux-powerpc64le-gnu', musl: null },
19+
ppc64: { base: 'linux-powerpc64le-gnu', musl: null },
2020
riscv64: { base: 'linux-riscv64-gnu', musl: null },
2121
s390x: { base: 'linux-s390x-gnu', musl: null },
2222
x64: { base: 'linux-x64-gnu', musl: 'linux-x64-musl' }

npm/linux-powerpc64le-gnu/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"linux"
66
],
77
"cpu": [
8-
"ppc64le"
8+
"ppc64"
99
],
1010
"files": [
1111
"rollup.linux-powerpc64le-gnu.node"

0 commit comments

Comments
 (0)