forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install CI pipeline #63
Draft
meowsbits
wants to merge
17
commits into
etclabscore:EVM
Choose a base branch
from
meowsbits:EVM
base: EVM
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains 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
Make was killed with signal 9, meaning system ran out of RAM most likely. This is an attempt to fix that. https://github.com/meowsbits/evm_llvm/runs/668739545?check_suite_focus=true#step:3:2561 Signed-off-by: meows <[email protected]>
[skip ci]
Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
Log nproc Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
solution?: use CMAKE_BUILD_TYPE=Release to limit memory requirements Signed-off-by: meows <[email protected]>
solution?: add LLVM_USE_LINKER=gold to limit mem https://stackoverflow.com/questions/25197570/llvm-clang-compile-error-with-memory-exhausted#comment77614764_25221717 Signed-off-by: meows <[email protected]>
This reverts commit 6d6d68c. This change turned out to be unnecessary.
Anecdotally, both Azure and Actions have 2 procs available. This configuration standardizes the make commands to use this value (whatever it is), and hopefully future- proofs it for optimzation to the CI env. Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
This is congruent to behavior at Github Actions config. Signed-off-by: meows <[email protected]>
This allows a consumer to cross reference the checksum between logs and artifacts. Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
Simplifies and streamlines make step greatly. Signed-off-by: meows <[email protected]>
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.
Drafting CI pipeline installation.
As-is, the change set includes two pipeline options; only one is necessary. We can have a discussion comparing these options (Github vs. Azure), or alternatives, and then remove or change to use only what seems optimal and necessary.
Both pipelines build the
llc
executable and archive it as a.zip
, retaining the artifact.Latest builds on my personal fork, for reference:
Next steps for the CI pipeline could be discussed and implemented here, or in a following one or few PRs. These would probably include, but may not be limited to:
Pending: