Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

cargo-build-sbf, cargo-test-sbf: add --arch option #23465

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

alessandrod
Copy link
Contributor

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. Currently sbf and sbfv2 are supported.

See anza-xyz/llvm-project#26

@dmakarov dmakarov self-requested a review April 16, 2022 01:19
@stale
Copy link

stale bot commented 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 stale bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Apr 25, 2022
@alessandrod alessandrod removed the stale [bot only] Added to stale content; results in auto-close after a week. label Apr 25, 2022
@stale
Copy link

stale bot commented May 2, 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 stale bot added the stale [bot only] Added to stale content; results in auto-close after a week. label May 2, 2022
@alessandrod 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 alessandrod force-pushed the cargo-build-bpf-arch branch from 4059fa4 to 33799bd Compare June 4, 2022 08:43
@alessandrod alessandrod changed the title cargo-build-bpf: add --arch option cargo-build-sbf: add --arch option Jun 4, 2022
@alessandrod alessandrod changed the title cargo-build-sbf: add --arch option cargo-build-sbf, cargo-test-sbf: add --arch option Jun 4, 2022
@alessandrod alessandrod marked this pull request as ready for review June 4, 2022 14:22
@alessandrod
Copy link
Contributor Author

This is now ready, just blocked on a new bpf-tools release.

dmakarov
dmakarov previously approved these changes Jun 4, 2022
@stale
Copy link

stale bot commented Jun 12, 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 stale bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Jun 12, 2022
@stale
Copy link

stale bot commented Jul 10, 2022

This stale pull request has been automatically closed. Thank you for your contributions.

@stale stale bot closed this Jul 10, 2022
@dmakarov dmakarov reopened this Jul 10, 2022
@stale stale bot removed the stale [bot only] Added to stale content; results in auto-close after a week. label Jul 10, 2022
@dmakarov dmakarov force-pushed the cargo-build-bpf-arch branch from 33799bd to fa0455f Compare July 11, 2022 18:03
@mergify mergify bot dismissed dmakarov’s stale review July 11, 2022 18:04

Pull request has been modified.

@dmakarov dmakarov force-pushed the cargo-build-bpf-arch branch from fa0455f to 67eae21 Compare July 11, 2022 18:28
@dmakarov dmakarov self-assigned this Jul 11, 2022
@dmakarov dmakarov force-pushed the cargo-build-bpf-arch branch 3 times, most recently from cf96803 to 63999ea Compare July 13, 2022 04:00
--arch allows selecting the target SBF version. See
anza-xyz/llvm-project#26.
@dmakarov dmakarov force-pushed the cargo-build-bpf-arch branch from 63999ea to ffaec6e Compare July 13, 2022 16:45
@dmakarov dmakarov merged commit ab6802b into solana-labs:master Jul 13, 2022
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.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants