Skip to content

Commit

Permalink
Fix ppc64le target (#5460)
Browse files Browse the repository at this point in the history
The NodeJS architecture is ppc64

See also https://nodejs.org/api/process.html#processarch
  • Loading branch information
lukastaegert committed Apr 10, 2024
1 parent 0b665c3 commit b957e1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion native.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const bindingsByPlatformAndArch = {
linux: {
arm: { base: 'linux-arm-gnueabihf', musl: null },
arm64: { base: 'linux-arm64-gnu', musl: 'linux-arm64-musl' },
ppc64le: { base: 'linux-powerpc64le-gnu', musl: null },
ppc64: { base: 'linux-powerpc64le-gnu', musl: null },
riscv64: { base: 'linux-riscv64-gnu', musl: null },
s390x: { base: 'linux-s390x-gnu', musl: null },
x64: { base: 'linux-x64-gnu', musl: 'linux-x64-musl' }
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-powerpc64le-gnu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"linux"
],
"cpu": [
"ppc64le"
"ppc64"
],
"files": [
"rollup.linux-powerpc64le-gnu.node"
Expand Down

0 comments on commit b957e1d

Please sign in to comment.