pkg-fetch/lib
ranjith d3d6a81ffc
feat: allow linuxstatic builds for ppc64 architecture (#118)
## Summary
Allow linuxstatic platform builds for ppc64 architecture by bypassing
the platform validation check.

## Changes
- Modified the platform validation logic in `lib/index.ts` to skip the
platform mismatch check when building for ppc64 architecture
- Added `&& arch !== 'ppc64'` condition to allow linuxstatic builds on
ppc64 without validation errors


## Impact
- Users can now build linuxstatic binaries for ppc64 architecture
without platform validation blocking the process
- No breaking changes to existing functionality
- Maintains existing platform validation for other architectures except
ppc64

## Use Case
This enables building static Linux binaries on ppc64 systems, which is
particularly useful for PowerPC environments that need statically linked
executables.

---------

Co-authored-by: Daniel Lando <daniel.sorridi@gmail.com>
2025-10-06 10:54:59 +02:00
..
apply-patches.ts Add applyPatches script and some basic patch documentation (#251) 2023-01-27 20:09:06 -06:00
bin.ts CI: output to dist/ with "node-*" prefix (#156) 2021-04-07 17:59:50 +08:00
build.ts feat: node 24 support and attempt some Node 22 fixes (by @faulpeltz) (#107) 2025-09-17 14:50:36 +02:00
expected-shas.json feat: add support for Node.js versions 20.19.5, 22.19.0, and 24.8.0 in expected SHAs 2025-09-26 17:07:20 +02:00
expected.ts expected: Refactor SHAs into sorted, machine-updatable json format 2023-03-28 10:15:03 +02:00
generate-expected-shas.ts update sha sorting algorithm to coerce to semver sorting 2023-03-28 10:15:03 +02:00
index.ts feat: allow linuxstatic builds for ppc64 architecture (#118) 2025-10-06 10:54:59 +02:00
log.ts refactor: replace chalk and fs-extra (#53) 2024-10-17 06:56:51 +00:00
places.ts feat: support for custom PKG_NODE_PATH (#7) 2023-10-17 08:50:13 +02:00
print-hashes.ts update sha sorting algorithm to coerce to semver sorting 2023-03-28 10:15:03 +02:00
system.ts feat: add riscv64 and loong64 to known archs (#62) 2024-11-20 13:57:29 +01:00
tsconfig.json expected: Refactor SHAs into sorted, machine-updatable json format 2023-03-28 10:15:03 +02:00
utils.ts fix: improved error when downloading from GitHub fails 2025-07-17 08:37:51 +02:00
verify.ts feat: support for latest NodeJS v20 (#11) 2023-12-04 09:09:51 +01:00