Skip to content

Commit 562f8c5

Browse files
committed
perf: aggressive optimization for ARM64 QEMU build
Changes: - Remove ARM64 clang build (keep only gcc to save 50% time) - Disable more features: inspector, intl, etw, dtrace, report - Reduce to make -j1 for most stable QEMU performance - These features are not needed for shared library This should fit within GitHub's 6h hard limit.
1 parent 44c17f5 commit 562f8c5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build_node_shared.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,14 @@ jobs:
2929
container: ghcr.io/ten-framework/ten_building_ubuntu2204
3030
lib_name: libnode.so.127
3131
nproc_cmd: nproc
32-
# Linux ARM64 builds (using QEMU)
32+
# Linux ARM64 builds (using QEMU) - only GCC due to 6h timeout limit
3333
- os: ubuntu-latest
3434
platform: linux
3535
arch: arm64
3636
compiler: gcc
3737
container: ""
3838
lib_name: libnode.so.127
3939
nproc_cmd: nproc
40-
- os: ubuntu-latest
41-
platform: linux
42-
arch: arm64
43-
compiler: clang
44-
container: ""
45-
lib_name: libnode.so.127
46-
nproc_cmd: nproc
4740
# macOS x64 builds
4841
# Note: macOS should use Clang (Apple's official toolchain), GCC has compatibility issues
4942
- os: macos-13
@@ -112,8 +105,15 @@ jobs:
112105
export CC=clang
113106
export CXX=clang++
114107
fi && \
115-
./configure --shared --without-npm --without-corepack && \
116-
make -j2
108+
./configure --shared \
109+
--without-npm \
110+
--without-corepack \
111+
--without-inspector \
112+
--without-intl \
113+
--without-etw \
114+
--without-dtrace \
115+
--without-report && \
116+
make -j1
117117
"
118118
119119
- name: Configure and Build (Linux x64 and macOS)

0 commit comments

Comments
 (0)