Skip to content

llvm: remove 3.5, 3.8 and 4 #77989

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

Merged
merged 18 commits into from
Jan 31, 2020
Merged

llvm: remove 3.5, 3.8 and 4 #77989

merged 18 commits into from
Jan 31, 2020

Conversation

lblasc
Copy link
Contributor

@lblasc lblasc commented Jan 18, 2020

Motivation for this change

In #66528 we're working on an update of glibc to version 2.30.
LLVM versions 3.5, 3.8 and 4 are very much outdated, they don't build any more. There is similar pull request #77985 for removal of old gcc versions, problematic part is <sys/ustat.h> header which was removed in 2.28.

All packages which depended on old llvm version are updated and only pure package is now marked broken.

I'm new to Haskell expressions, hope those changes are fine. cc @peti

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 11-100 labels Jan 18, 2020
@lblasc lblasc changed the title llvm_3.5 removal llvm: remove 3.5 and 3.8 Jan 18, 2020
@ofborg ofborg bot added the 6.topic: stdenv Standard environment label Jan 18, 2020
@ofborg ofborg bot requested a review from dywedir January 18, 2020 19:30
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin labels Jan 18, 2020
Copy link
Contributor

@jchv jchv left a comment

Choose a reason for hiding this comment

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

Lightspark changes LGTM, tested it locally.

@lblasc lblasc changed the title llvm: remove 3.5 and 3.8 llvm: remove 3.5, 3.8 and 4 Jan 19, 2020
@ofborg ofborg bot requested a review from jchv January 19, 2020 10:23
@Ma27
Copy link
Member

Ma27 commented Jan 21, 2020

Is there anything else that prevents us from merging?

@@ -40,5 +40,6 @@ stdenv.mkDerivation rec {
platforms = with lib.platforms;
linux;
license = lib.licenses.gpl3Plus;
broken = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

please comment why it's broken.

Copy link
Contributor

Choose a reason for hiding this comment

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

Pure requires LLVM 3.5 because it's based on the old JIT API that was removed in subsequent versions.

Copy link
Member

@matthewbauer matthewbauer left a comment

Choose a reason for hiding this comment

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

I would prefer to wait for 20.03 branching before removing things to give a little bit more time for people still using these.

@Ma27
Copy link
Member

Ma27 commented Jan 28, 2020

I certainly see your point :)
But in that case you'd suggest to delay the glibc update to 20.09 as well, right?

@ofborg ofborg bot requested a review from jchv January 30, 2020 22:42
@worldofpeace
Copy link
Contributor

Rebased because of release note conflict, and I moved the re-added attrs to aliases.nix f73d725.
Just waiting on eval.

@Ma27 Ma27 merged commit 645ea32 into NixOS:master Jan 31, 2020
@lblasc lblasc deleted the llvm3-removal branch January 31, 2020 07:20
dtzWill pushed a commit to dtzWill/nixpkgs that referenced this pull request Feb 2, 2020
llvm: remove 3.5, 3.8 and 4
(cherry picked from commit 645ea32)
dtzWill added a commit to dtzWill/nixpkgs that referenced this pull request Feb 2, 2020
dtzWill added a commit to dtzWill/nixpkgs that referenced this pull request Feb 2, 2020
anna328p pushed a commit to anna328p/nixpkgs that referenced this pull request Feb 2, 2020
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/january-2020-in-nixos/5771/1

@NixOS NixOS deleted a comment from nixos-discourse Feb 5, 2020
@rrbutani rrbutani added the 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: haskell 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: stdenv Standard environment 8.has: changelog 8.has: clean-up 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 1-10 10.rebuild-linux: 11-100
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants