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

boost: fix taxonomy mistake, account taxonomy change in v1.78 #168573

Merged
merged 1 commit into from Apr 15, 2022
Merged

boost: fix taxonomy mistake, account taxonomy change in v1.78 #168573

merged 1 commit into from Apr 15, 2022

Conversation

ghost
Copy link

@ghost ghost commented Apr 14, 2022

Description of changes

This commit makes two changes:

  1. Boost changed its taxonomy for architecture names between the 1.77 and 1.78 releases, in this commit.

  2. During the review of boost: support for cross-compiling to mips64el #161162 I was asked about the source of the mips64-context.patch that I had included in the original version of the PR. I searched through the boost-context revision history and found a nearly identical patch, which I substituted in the final, merged version of the PR.

    As it turns out, my mips64-context.patch was an earlier revision of what was eventually accepted to boost-context. The only difference between the two patches is the name they use: mips64 vs mips1.

    When switching to the accepted version of the boost patch, I should have also updated libraries/boost/generic.nix to change mips64 to mips1. This commit does that.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • powerpc64le-linux
    • mips64el-linux
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Apr 14, 2022
@ghost ghost changed the title boost: account for boost taxonomy change in v1.78 boost: fix taxonomy mistake, account taxonomy change in v1.78 Apr 14, 2022
This commit makes two changes:

1. Boost changed its taxonomy for architecture names between the 1.77 and
   1.78 releases, in this commit:

   boostorg/context@6edc818

2. During the review of #161162 I [was asked about][1] the source of
   the [mips64-context.patch][2] that I had included in the original
   version of the PR.  I searched through the boost-context revision
   history and found [a nearly identical patch][3], which I
   substituted in the final, merged version of the PR.

   As it turns out, my [mips64-context.patch][2] was an earlier
   revision of what was eventually accepted to boost-context.  The
   only difference between the two patches is the name they use:
   mips64 vs mips1.

   When switching to the accepted version of the boost patch, I should
   have also updated libraries/boost/generic.nix to change mips64 to
   mips1.  This commit does that.

[1]: #161162 (comment)
[2]: https://raw.githubusercontent.com/a-m-joseph/nixpkgs/1ca5025945470ce96408552b9117674b12efaf04/pkgs/development/libraries/boost/mips64-context.patch
[3]: https://github.com/boostorg/context/commit/e3f744a1862164062d579d1972272d67bdaa9c39.patch
@ghost ghost marked this pull request as ready for review April 14, 2022 06:16
@SuperSandro2000 SuperSandro2000 merged commit f19b0a5 into NixOS:master Apr 15, 2022
@ghost ghost deleted the boost178-architecture-renaming branch April 15, 2022 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant