This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
cargo-build-sbf, cargo-test-sbf: add --arch option #23465
Merged
Merged
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
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
alessandrod
added a commit
to anza-xyz/cargo
that referenced
this pull request
Jun 3, 2022
When -Z build-std is used, patch compiler-builtins so that our own fork is downloaded. Needed for solana-labs/solana#23465.
4059fa4
to
33799bd
Compare
This is now ready, just blocked on a new bpf-tools release. |
dmakarov
previously approved these changes
Jun 4, 2022
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This stale pull request has been automatically closed. Thank you for your contributions. |
33799bd
to
fa0455f
Compare
fa0455f
to
67eae21
Compare
cf96803
to
63999ea
Compare
--arch allows selecting the target SBF version. See anza-xyz/llvm-project#26.
63999ea
to
ffaec6e
Compare
LucasSte
pushed a commit
to LucasSte/cargo
that referenced
this pull request
Feb 5, 2024
When -Z build-std is used, patch compiler-builtins so that our own fork is downloaded. Needed for solana-labs/solana#23465.
LucasSte
pushed a commit
to anza-xyz/cargo
that referenced
this pull request
Feb 16, 2024
When -Z build-std is used, patch compiler-builtins so that our own fork is downloaded. Needed for solana-labs/solana#23465.
LucasSte
pushed a commit
to LucasSte/cargo
that referenced
this pull request
Jul 22, 2024
When -Z build-std is used, patch compiler-builtins so that our own fork is downloaded. Needed for solana-labs/solana#23465.
LucasSte
pushed a commit
to anza-xyz/cargo
that referenced
this pull request
Aug 15, 2024
When -Z build-std is used, patch compiler-builtins so that our own fork is downloaded. Needed for solana-labs/solana#23465.
c410-f3r
pushed a commit
to c410-f3r/cargo
that referenced
this pull request
Dec 1, 2024
When -Z build-std is used, patch compiler-builtins so that our own fork is downloaded. Needed for solana-labs/solana#23465.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Problem
As we evolve SBF, there needs to be a way to select which version to build for.
Summary of Changes
Add
--arch
option that can be used to select SBF version. Currentlysbf
andsbfv2
are supported.See anza-xyz/llvm-project#26