On Wed, 8 Sept 2021 at 10:13, Glen Valante via Tf-openci-triage < tf-openci-triage@lists.trustedfirmware.org> wrote:
Just an FYI;
- Glen: Set up sync meeting to hear Riku/Leonardo/Anton/Joanna on proposing a solution on the git clone performance issue.
Meeting w/ Joanna, Anton, Riku, Leonardo
For TF-M: reviewed proposal(below) by Anton to resolve git check outs. For TF-A: Discussed how this should happen in TF-A This will be tested in stage before pushing to production. *Leonardo will start working on the changes for TF-A immediately.*
A brief update before tomorrow's sync:
A Strategy for a share folder at TF-A CI has been proposed at https://review.trustedfirmware.org/c/ci/tf-a-job-configs/+/11449
Now I am moving into the TF-M CI with the same goal (reducing clones through a share folder)
Regards, lsg
If there are any questions, let us know.
Thanks; -g
Anton's proposal:
Let me share my thoughts ahead of the meeting about github download optimisation.
By default TF-M build system downloads all dependent repos for each build to ensure the latest version. Each dependency has a variable, specifying a path to the repo, settled to “DOWNLOAD” by default. “DOWNLOAD” keyword means the build machine has no local copy and the repo shall be cloned. This is documented here:
https://tf-m-user-guide.trustedfirmware.org/docs/technical_references/instru... < https://tf-m-user-guide.trustedfirmware.org/docs/technical_references/instru...
I suggest to extend the building process by adding a preliminary CI step of downloading repos once and then specify paths to them for consequent builds via command line parameter, like for example: -DMBEDCRYPTO_PATH=<path for MbedCrypto repo>
Going further, all those build parameters could be gathered in a file and specified for a build using the option TFM_EXTRA_CONFIG_PATH. -- Linaro http://www.linaro.org Glen Valante | /Sr. Technical Program Manager/ T: +1.508.517.3461 tel:1617-320-5000 glen.valante@linaro.org mailto:glen.valante@linaro.org | Skype: gvalante callto:gvalante
-- Tf-openci-triage mailing list Tf-openci-triage@lists.trustedfirmware.org https://lists.trustedfirmware.org/mailman/listinfo/tf-openci-triage