Add compilation cache in 2 Linux CPU pipelines and refactor the Linux build step with cache - #15484
Merged
Conversation
Yi Zhang (mszhanyi)
force-pushed
the
zhanyi/linuxcicache
branch
from
April 12, 2023 14:13
975ba71 to
010841d
Compare
Yi Zhang (mszhanyi)
marked this pull request as draft
April 12, 2023 15:12
…zhanyi/linuxcicache
Yi Zhang (mszhanyi)
marked this pull request as ready for review
April 13, 2023 01:06
snnn (snnn)
reviewed
Apr 13, 2023
| os_major_version=$(cat /etc/redhat-release | tr -dc '0-9.'|cut -d \. -f1) | ||
|
|
||
| echo "installing for os major version : $os_major_version" | ||
| yum install -y which gdb redhat-lsb-core expat-devel tar unzip zlib-devel make libunwind bzip2 bzip2-devel No newline at end of file |
Contributor
There was a problem hiding this comment.
So, just whitespace changes?
Contributor
Author
There was a problem hiding this comment.
Yes. I think it's made by VSCode.
I had edit it so the VSCode always add a trailing blank line.
snnn (snnn)
reviewed
Apr 13, 2023
snnn (snnn)
reviewed
Apr 13, 2023
snnn (snnn)
reviewed
Apr 13, 2023
snnn (snnn)
reviewed
Apr 13, 2023
Yi Zhang (mszhanyi)
force-pushed
the
zhanyi/linuxcicache
branch
from
April 13, 2023 06:14
fae6c3f to
d5dab62
Compare
…zhanyi/linuxcicache
…zhanyi/linuxcicache
snnn (snnn)
approved these changes
Apr 14, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Motivation and Context
It could save 40 more minutes of compilation time in Linux ARM64.
https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=959619&view=logs&j=1e0830bb-fd74-5d0a-5029-1c63b4266d7b&t=75260ed7-7566-5947-2095-566660191920