Skip to content

Commit 0d60e8a

Browse files
committed
tools/release: more log on macos
1 parent 8e1e6b5 commit 0d60e8a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tools/release/build_delivery_macos.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,13 +287,14 @@ function build_python() {
287287
echo "DONE" | tee -a build.log
288288

289289
if [[ ${PLATFORM} == "x86_64" ]]; then
290-
echo -n " Build all..." | tee -a build.log
291-
# on macos X86_64 stubgen will timeout -> need to build 2 times
292-
cmake --build "temp_python${PY_VERSION}" -j8 -v || true
290+
echo -n " Build all few times..." | tee -a build.log
291+
# on macos X86_64 stubgen will timeout -> need to build few times
292+
cmake --build "temp_python${PY_VERSION}" -j4 -v || true
293+
sleep 10
294+
cmake --build "temp_python${PY_VERSION}" -v || true
293295
echo "DONE" | tee -a build.log
294-
sleep 5
295296
echo -n " ReBuild all..." | tee -a build.log
296-
cmake --build "temp_python${PY_VERSION}" -j8 -v
297+
cmake --build "temp_python${PY_VERSION}" -j4 -v
297298
echo "DONE" | tee -a build.log
298299
else
299300
echo -n " Build all..." | tee -a build.log

0 commit comments

Comments
 (0)