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

llvm: remove 3.5, 3.8 and 4 #77989

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.

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
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants