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

Introduce print-system-reqs wrt #49 #84

Merged
merged 1 commit into from
Apr 11, 2019
Merged

Introduce print-system-reqs wrt #49 #84

merged 1 commit into from
Apr 11, 2019

Conversation

hasufell
Copy link
Member

@hasufell hasufell commented Apr 2, 2019

And also make bootstrap-haskell print this by default.

@hasufell hasufell requested review from phadej, hvr and fommil April 2, 2019 03:40
@hasufell hasufell force-pushed the system-reqs branch 2 times, most recently from 8b125f8 to 746da09 Compare April 2, 2019 03:43
@hasufell
Copy link
Member Author

hasufell commented Apr 2, 2019

A problem with this approach is that we have to install ghcup prior to checking the requirements, which might already fail on missing stuff that is vital to the script itself (not ghc): https://github.com/haskell/ghcup/blob/master/ghcup#L1824

But since bootstrap-haskell can be rerun at any given time I think this is good enough.

@hasufell
Copy link
Member Author

hasufell commented Apr 3, 2019

@phadej this needs your review

Copy link
Contributor

@phadej phadej left a comment

Choose a reason for hiding this comment

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

👍

@@ -0,0 +1 @@
autoconf automake curl g++ gcc git libgmp-dev libllvm5.0 libtinfo-dev libtool llvm-5.0 llvm-5.0-dev make ncurses-dev python3 realpath xz-utils
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder about llvm: the versions vary with each GHC, and most users don't need it. I'd drop that.

Also it seems that these are requirements to build the ghc, not only use it. Though most are reasonable to have. (E.g. git is quite optional :)

And also make bootstrap-haskell print this by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants