Skip to content

Commit 19c69c7

Browse files
committed
ci: Workaround for LTO error
The following error sometimes occurs during the build process: "error: failed to get bitcode from object file for LTO (could not find requested section)". This issue is often observed when building with multiple parallel jobs. As a temporary workaround, the number of parallel jobs has been reduced to mitigate the error. Signed-off-by: Yuan Zhuang <yuanz@apache.org> Reviewed-by: Zehui Chen <ivila@apache.org>
1 parent 82c489d commit 19c69c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ jobs:
117117
source environment
118118
119119
# Build OP-TEE Rust examples for Arm 64-bit both host and TA
120-
make -j`nproc`
120+
make -j2
121121
122122
# Build project
123-
(cd projects/web3/eth_wallet && make -j`nproc`)
123+
(cd projects/web3/eth_wallet && make)
124124
- name: Run tests for Arm 64-bit both host and TA
125125
run: |
126126
export STD=y
@@ -151,10 +151,10 @@ jobs:
151151
source environment
152152
153153
# Build OP-TEE Rust examples for Arm 64-bit both host and TA
154-
make -j`nproc`
154+
make -j2
155155
156156
# Build project
157-
(cd projects/web3/eth_wallet && make -j`nproc`)
157+
(cd projects/web3/eth_wallet && make)
158158
- name: Run tests for Arm 32-bit both host and TA
159159
run: |
160160
export ARCH_TA=arm

0 commit comments

Comments
 (0)