Skip to content

Commit c474257

Browse files
committed
CircleCI: we pass CPUS=2 to CPUS=4 since the logic calculation for threads/memory is 1/1024Mb, CircleCI supposedly reserving 4Gb for medium (free). Build time will increase, unfortunately, when compared to nproc returning 32 cores.
1 parent c745640 commit c474257

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.circleci/config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
# command: |
5151
# ./build/make-4.2.1/make \
5252
# CROSS=/cross/bin/x86_64-linux-musl- \
53-
# CPUS=2 \
53+
# CPUS=4 \
5454
# V=1 \
5555
# BOARD=qemu-linuxboot \
5656
#
@@ -63,7 +63,7 @@ jobs:
6363
name: x230-flash
6464
#We delete build/make-4.2.1/ directory until issue #799 is fixed.
6565
command: |
66-
rm -rf build/x230-flash/* build/log/* && make CPUS=2 \
66+
rm -rf build/x230-flash/* build/log/* && make CPUS=4 \
6767
V=1 \
6868
BOARD=x230-flash || (find ./build/ -name "*.log" -type f -mmin -1|while read log; do echo ""; echo '==>' "$log" '<=='; echo ""; cat $log;done; exit 1) \
6969
no_output_timeout: 3h
@@ -81,7 +81,7 @@ jobs:
8181
- run:
8282
name: t430-flash
8383
command: |
84-
rm -rf build/t430-flash/* build/log/* && make CPUS=2 \
84+
rm -rf build/t430-flash/* build/log/* && make CPUS=4 \
8585
V=1 \
8686
BOARD=t430-flash || (find ./build/ -name "*.log" -type f -mmin -1|while read log; do echo ""; echo '==>' "$log" '<=='; echo ""; cat $log;done; exit 1) \
8787
no_output_timeout: 3h
@@ -99,7 +99,7 @@ jobs:
9999
- run:
100100
name: t430
101101
command: |
102-
rm -rf build/t430/* build/log/* && make CPUS=2 \
102+
rm -rf build/t430/* build/log/* && make CPUS=4 \
103103
V=1 \
104104
BOARD=t430 || (find ./build/ -name "*.log" -type f -mmin -1|while read log; do echo ""; echo '==>' "$log" '<=='; echo ""; cat $log;done; exit 1) \
105105
no_output_timeout: 3h
@@ -117,7 +117,7 @@ jobs:
117117
- run:
118118
name: x230
119119
command: |
120-
rm -rf build/x230/* build/log/* && make CPUS=2 \
120+
rm -rf build/x230/* build/log/* && make CPUS=4 \
121121
V=1 \
122122
BOARD=x230 || (find ./build/ -name "*.log" -type f -mmin -1|while read log; do echo ""; echo '==>' "$log" '<=='; echo ""; cat $log;done; exit 1) \
123123
no_output_timeout: 3h
@@ -135,7 +135,7 @@ jobs:
135135
- run:
136136
name: x230-hotp-verification
137137
command: |
138-
rm -rf build/x230-hotp-verification/* build/log/* && make CPUS=2 \
138+
rm -rf build/x230-hotp-verification/* build/log/* && make CPUS=4 \
139139
V=1 \
140140
BOARD=x230-hotp-verification || (find ./build/ -name "*.log" -type f -mmin -1|while read log; do echo ""; echo '==>' "$log" '<=='; echo ""; cat $log;done; exit 1) \
141141
no_output_timeout: 3h
@@ -153,7 +153,7 @@ jobs:
153153
- run:
154154
name: librem_mini-NoTPM
155155
command: |
156-
rm -rf build/librem_mini-NoTPM/* build/log/* && make CPUS=2 \
156+
rm -rf build/librem_mini-NoTPM/* build/log/* && make CPUS=4 \
157157
V=1 \
158158
BOARD=librem_mini-NoTPM || (find ./build/ -name "*.log" -type f -mmin -1|while read log; do echo ""; echo '==>' "$log" '<=='; echo ""; cat $log;done; exit 1) \
159159
no_output_timeout: 3h
@@ -171,7 +171,7 @@ jobs:
171171
- run:
172172
name: qemu-coreboot
173173
command: |
174-
rm -rf build/qemu-coreboot/* build/log/* && make CPUS=2 \
174+
rm -rf build/qemu-coreboot/* build/log/* && make CPUS=4 \
175175
V=1 \
176176
BOARD=qemu-coreboot || (find ./build/ -name "*.log" -type f -mmin -1|while read log; do echo ""; echo '==>' "$log" '<=='; echo ""; cat $log;done; exit 1) \
177177
no_output_timeout: 3h

0 commit comments

Comments
 (0)