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

Patch ntapi more thoroughly #31970

Merged
merged 2 commits into from
Jun 5, 2023
Merged

Conversation

ryoqun
Copy link
Member

@ryoqun ryoqun commented Jun 5, 2023

Problem

We needed more tender and loving care for patching ntapi, still breaking windows build after #31961

Summary of Changes

patch moar!

(i'll create a proper pr at the spl-token repo...)

Fixes #

@ryoqun ryoqun requested a review from yihau June 5, 2023 12:12
Copy link
Member

@yihau yihau left a comment

Choose a reason for hiding this comment

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

can be the stopgap. I think maybe we can remove spl-token-cli from cargo-install-all in the future 🙈

@ryoqun
Copy link
Member Author

ryoqun commented Jun 5, 2023

(I'll merge this as soon as check passes before waiting full ci run; technically master ci is broken right now....)

@ryoqun ryoqun changed the title Patch ntapi moar Patch ntapi more thoroughly Jun 5, 2023
@ryoqun ryoqun merged commit c1d68d3 into solana-labs:master Jun 5, 2023
Comment on lines +147 to +150
"$cargo" $maybeRustVersion \
--config 'patch.crates-io.ntapi.git="https://github.com/solana-labs/ntapi"' \
--config 'patch.crates-io.ntapi.rev="5980bbab2e0501a8100eb88c12222d664ccb3a0a"' \
install --locked spl-token-cli --root "$installDir"
Copy link
Member Author

@ryoqun ryoqun Jun 5, 2023

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

note that we needed to remove --locked as well: #31971

ryoqun added a commit to ryoqun/solana that referenced this pull request Jun 6, 2023
* Patch spl-token-cli build as well...

* Patch sbf/Cargo.toml for consistency
ryoqun added a commit that referenced this pull request Jun 6, 2023
* Shift crossbeam comment for upcoming 2nd patch... (#31963)

* Patch ntapi to restore windows build (#31961)

* Patch ntapi to restore windows build

* Update Cargo.lock...

* Add comment for justification of this patching

MSxDOS/ntapi#11
MSxDOS/ntapi#12

* Revert "ci: stop windows building on master temporarily (#31353)"

This reverts commit 2dcdfff.

* Use solana-labs fork

* Ugh..

* Patch ntapi more thoroughly (#31970)

* Patch spl-token-cli build as well...

* Patch sbf/Cargo.toml for consistency

* Remove --locked for cli-arg based patch... (#31971)

* Bump patched ntapi from v0.3.6 to v0.3.7 (#31981)

* Revert "ci: stop windows build (#31893)"

This reverts commit 30f9e43.
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.

2 participants