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.5k
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. |
stale
bot
added
the
stale
[bot only] Added to stale content; results in auto-close after a week.
label
Apr 25, 2022
alessandrod
removed
the
stale
[bot only] Added to stale content; results in auto-close after a week.
label
Apr 25, 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. |
stale
bot
added
the
stale
[bot only] Added to stale content; results in auto-close after a week.
label
May 2, 2022
alessandrod
removed
the
stale
[bot only] Added to stale content; results in auto-close after a week.
label
May 6, 2022
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.
alessandrod
force-pushed
the
cargo-build-bpf-arch
branch
from
June 4, 2022 08:43
4059fa4
to
33799bd
Compare
alessandrod
changed the title
cargo-build-bpf: add --arch option
cargo-build-sbf: add --arch option
Jun 4, 2022
alessandrod
changed the title
cargo-build-sbf: add --arch option
cargo-build-sbf, cargo-test-sbf: add --arch option
Jun 4, 2022
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. |
stale
bot
added
the
stale
[bot only] Added to stale content; results in auto-close after a week.
label
Jun 12, 2022
This stale pull request has been automatically closed. Thank you for your contributions. |
stale
bot
removed
the
stale
[bot only] Added to stale content; results in auto-close after a week.
label
Jul 10, 2022
dmakarov
force-pushed
the
cargo-build-bpf-arch
branch
from
July 11, 2022 18:03
33799bd
to
fa0455f
Compare
dmakarov
force-pushed
the
cargo-build-bpf-arch
branch
from
July 11, 2022 18:28
fa0455f
to
67eae21
Compare
dmakarov
force-pushed
the
cargo-build-bpf-arch
branch
3 times, most recently
from
July 13, 2022 04:00
cf96803
to
63999ea
Compare
--arch allows selecting the target SBF version. See anza-xyz/llvm-project#26.
dmakarov
force-pushed
the
cargo-build-bpf-arch
branch
from
July 13, 2022 16:45
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