61fe9b924f
Why I did it [Ci] Fix the no parallel jobs in some of the platforms issue We observed some of the pipelines running more time than expected. The issue is the SONIC_BUILD_JOBS using the wrong value 1. It is caused by the runtime variable issue, there is additional single quota mark character added in the make command line. make 'SONIC_BUILD_JOBS=$(nproc)' targe/xxxx Need to change to make SONIC_BUILD_JOBS=$(nproc) targe/xxxx It is to improve the build performance for some of the platforms using the variable SONIC_BUILD_JOBS=1. Good one vs: https://dev.azure.com/mssonic/build/_build/results?buildId=227986&view=logs&j=cef3d8a9-152e-5193-620b-567dc18af272&t=cf595088-5c84-5cf1-9d7e-03331f31d795 "SONIC_BUILD_JOBS" : "8" Bad one barefoot: https://dev.azure.com/mssonic/build/_build/results?buildId=227379&view=logs&j=993d6e22-aeec-5c03-fa19-35ecba587dd9&t=7be0d2ec-661f-5569-462c-2d9b7ca4ca5d "SONIC_BUILD_JOBS" : "1" How I did it Expand the BUILD_OPTIONS variable for all platforms. |
||
---|---|---|
.. | ||
azure-pipelines-build.yml | ||
azure-pipelines-download-certificate.yml | ||
azure-pipelines-image-template.yml | ||
azure-pipelines-job-groups.yml | ||
azure-pipelines-Official.yml | ||
azure-pipelines-repd-build-variables.yml | ||
azure-pipelines-UpgrateVersion.yml | ||
build-commonlib.yml | ||
build-template.yml | ||
check-dirty-version.yml | ||
cleanup.yml | ||
docker-sonic-mgmt.yml | ||
docker-sonic-slave-template.yml | ||
docker-sonic-slave.yml | ||
dpkg-cache-cleanup.yml | ||
official-build-cache.yml | ||
official-build-cisco-8000.yml | ||
official-build-multi-asic.yml | ||
official-build.yml | ||
run-test-scheduler-template.yml | ||
run-test-template.yml | ||
template-clean-sonic-slave.yml | ||
template-commonlib.yml | ||
template-daemon.yml | ||
template-skipvstest.yml | ||
template-variables.yml | ||
trigger-publish-artifacts-build.yml | ||
vstest-exclude | ||
vstest-include |