Skip to content
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

[RISCV] Add new "native" (qemu-system) builders #188

Merged
merged 2 commits into from
May 22, 2024

Conversation

asb
Copy link
Contributor

@asb asb commented May 9, 2024

For background, I don't expect these builders to graduate from the staging buildmaster in the current configuration. I'm spinning them up so we get some slow feedback while I, in parallel, explore alternative build configs that make better tradeoffs in terms of response time vs feedback.

These are all qemu-system based. Please note that the first commit adds a new ability to set cmake flags that apply only to the second-stage build, which I use to apply -march that the system compiler may not understand as well as to have ccache enabled for the first stage only. Happy to split that out to a separate PR if you prefer.

@asb asb requested a review from gkistanova May 9, 2024 13:34
Copy link
Contributor

@gkistanova gkistanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

asb added a commit that referenced this pull request May 22, 2024
Right now, extra_cmake_args to getClangCMakeBuildFactory are applied to
both stage1 and stage2. But there are some cases where we would not want
to use the same configs, e.g. flags that might not be understood by the
current host compiler, or enabling ccache only for stage1 (the cache
will never hit for stage2).

Reviewed as part of #188.
@asb asb force-pushed the 2024q2-riscv-new-builders branch from 36f2c74 to 4495695 Compare May 22, 2024 09:50
@asb
Copy link
Contributor Author

asb commented May 22, 2024

Thanks for the review, I've emailed you the builder passes.

@asb asb merged commit 5c5c452 into llvm:main May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants