Skip to content

Commit 5ce1067

Browse files
committed
esp/ci: Use 'gold' linker for test build jobs
It consumes much less memory. This commit also limits the number of simulteneous compile and link jobs for LLVM.
1 parent 196f31f commit 5ce1067

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ build_and_test:
217217
-DLLDB_INCLUDE_TESTS=OFF
218218
-DLLVM_TOOLCHAIN_ENABLED_TARGETS="RISCV"
219219
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=Xtensa
220+
-DLLVM_USE_LINKER="gold"
221+
-DLLVM_PARALLEL_LINK_JOBS=2
222+
-DLLVM_PARALLEL_COMPILE_JOBS=2
220223
-B ${BUILD_PATH} 2>&1 > ${BUILD_PATH}/build.log
221224
- export CUR_USER=$(whoami);
222225
- useradd -m test_runner;

0 commit comments

Comments
 (0)