Skip to content

Commit 8e7446d

Browse files
authored
build: use napi cross to build ppc64le (#58)
1 parent d8c800f commit 8e7446d

3 files changed

Lines changed: 18 additions & 19 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,8 @@ jobs:
121121
- host: ubuntu-latest
122122
target: powerpc64le-unknown-linux-gnu
123123
build: |
124-
sudo apt-get update
125-
sudo apt-get install -y gcc-powerpc64le-linux-gnu
126-
pnpm --filter=@oxc-node/core build --target powerpc64le-unknown-linux-gnu
124+
export CC=clang
125+
pnpm --filter=@oxc-node/core build --target powerpc64le-unknown-linux-gnu --use-napi-cross
127126
- host: ubuntu-latest
128127
target: s390x-unknown-linux-gnu
129128
build: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"packageManager": "pnpm@10.0.0",
66
"devDependencies": {
7-
"@napi-rs/cli": "3.0.0-alpha.67",
7+
"@napi-rs/cli": "3.0.0-alpha.68",
88
"@napi-rs/wasm-runtime": "^0.2.6",
99
"@oxc-node/cli": "workspace:*",
1010
"@oxc-node/core": "workspace:*",

pnpm-lock.yaml

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)