Skip to content

{gcc{7,8}{,Stdenv},gfortran{7,8}}: drop#357657

Merged
philiptaron merged 5 commits into
NixOS:masterfrom
emilazy:push-wtzsmtkxryqy
Nov 24, 2024
Merged

{gcc{7,8}{,Stdenv},gfortran{7,8}}: drop#357657
philiptaron merged 5 commits into
NixOS:masterfrom
emilazy:push-wtzsmtkxryqy

Conversation

@emilazy

@emilazy emilazy commented Nov 20, 2024

Copy link
Copy Markdown
Member

6½–7½ year old unsupported GCC branches that basically nothing uses; you know the drill. Continuing @trofi’s work in #342242 now that the CUDA blocker has been resolved (though I wrote the GCC 7 commit here independently). We’ll have to stop here for a bit until in‐tree users of CUDA 11 are dealt with and I finish moving a couple other packages off old GCCs.

This depends on #357655 and therefore includes the commits from that PR until it is merged; best to look at the individual commits on top if you want to review it early.

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review


x86_64-linux

✅ 2 packages built:
  • qmk
  • qmk.dist
  • 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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

Add a 👍 reaction to pull requests you find important.

@emilazy emilazy requested a review from a team November 20, 2024 20:39
@github-actions github-actions Bot added 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: documentation This PR adds or changes documentation 8.has: changelog This PR adds or changes release notes 6.topic: cuda Parallel computing platform and API labels Nov 20, 2024
@ofborg ofborg Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Nov 21, 2024
Release branch from 7½ years ago, no update in 5 years, unsupported
upstream, and unused in tree.
Upstream previously recommended GCC 8 when targeting AVR because
of binary size concerns. They have since removed this warning in
<qmk/qmk_firmware#24206>, as more recent GCC
versions have resolved the issues.

Building `keyboardio/model01` before:

     * The firmware size is fine - 26984/28672 (94%, 1688 bytes free)

And after:

     * The firmware size is fine - 27200/28672 (94%, 1472 bytes free)

+216 bytes (1.008× the total size) is not a big deal. Since upstream
is fine with it these days, we can be too, and not keep around an
unsupported compiler just for QMK.
Release branch from 6½ years ago, no update in 3½ years, unsupported
upstream, and unused in tree.

This finally resolves the tangled conditionals in `all.nix`, albeit in
a way I assume amjoseph wouldn’t have been too fond of. `default.nix`
still has some gnarly stuff in there. So it goes…
@emilazy emilazy marked this pull request as ready for review November 22, 2024 18:04
@emilazy

emilazy commented Nov 22, 2024

Copy link
Copy Markdown
Member Author

This is ready now.

@github-actions github-actions Bot removed 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: documentation This PR adds or changes documentation 8.has: changelog This PR adds or changes release notes 6.topic: cuda Parallel computing platform and API labels Nov 22, 2024
@ofborg ofborg Bot added 8.has: clean-up This PR removes packages or removes other cruft and removed 2.status: merge conflict This PR has merge conflicts with the target branch labels Nov 23, 2024
@ofborg ofborg Bot requested review from Ekleog and bhipple November 23, 2024 13:46
@ofborg ofborg Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Nov 23, 2024
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants