Skip to content

chromium: do not set snapshot toolchain for native builds#264326

Closed
ghost wants to merge 1 commit intomasterfrom
unknown repository
Closed

chromium: do not set snapshot toolchain for native builds#264326
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Oct 30, 2023

Description of changes

#229265 (comment)

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • 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/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@ghost ghost mentioned this pull request Oct 30, 2023
4 tasks
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Oct 30, 2023
@Artturin Artturin requested a review from emilylange November 3, 2023 04:15
Copy link
Member

@emilylange emilylange left a comment

Choose a reason for hiding this comment

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

Thanks!

I've built the new chromium 119.0.6045.105 (x86_64-linux non-cross) on top of this successfully (~59k steps).

Not quite there yet, but reasonably close to be pre-cross levels.

@@ -370,7 +370,10 @@ let
# https://github.com/chromium/chromium/blob/d36462cc9279464395aea5e65d0893d76444a296/build/config/BUILDCONFIG.gn#L17-L44
custom_toolchain = "//build/toolchain/linux/unbundle:default";
host_toolchain = "//build/toolchain/linux/unbundle:host";
Copy link
Member

Choose a reason for hiding this comment

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

Why do we keep

host_toolchain = "//build/toolchain/linux/unbundle:host";

#229265 changed this from :default to :host.

And reverting this to :default for non-cross builds removes another ~4k build steps.

Suggested change
host_toolchain = "//build/toolchain/linux/unbundle:host";
host_toolchain = "//build/toolchain/linux/unbundle:default";

@emilylange
Copy link
Member

Superseded by the now merged #273435.
Closing.

@emilylange emilylange closed this Dec 12, 2023
@ghost ghost deleted the pr/chromium/dont-set-snapshot-chain-for-native-builds branch January 23, 2024 06:47
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: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant