Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghcup-hs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
ghcup-hs
Commits
45db3bd9
Verified
Commit
45db3bd9
authored
4 years ago
by
Julian Ospald
Browse files
Options
Downloads
Patches
Plain Diff
Update README
parent
6d765613
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#38758
passed with warnings
4 years ago
Stage: hlint
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+30
-1
30 additions, 1 deletion
README.md
with
30 additions
and
1 deletion
README.md
+
30
−
1
View file @
45db3bd9
...
@@ -230,6 +230,29 @@ to figure out whether you have the correct toolchain and
...
@@ -230,6 +230,29 @@ to figure out whether you have the correct toolchain and
the correct dependencies. Refer to
[
the official docs
](
https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Linux
)
the correct dependencies. Refer to
[
the official docs
](
https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Linux
)
on how to prepare your environment for building GHC.
on how to prepare your environment for building GHC.
### Stack support
There may be a number of bugs when trying to make ghcup installed GHC versions work with stack,
such as:
-
https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/188
Further, stack's upgrade procedure may break/confuse ghcup. There are a number of integration
issues discussed here:
-
https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/153
### Windows support
Windows support is in early stages. Since windows doesn't support symbolic links properly,
ghcup uses a
[
shimgen wrapper
](
https://github.com/71/scoop-better-shimexe
)
. It seems to work
well, but there may be unknown issues with that approach.
Windows 7 and Powershell 2.0 aren't well supported at the moment, also see:
-
https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/140
-
https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/197
## FAQ
## FAQ
1.
Why reimplement stack?
1.
Why reimplement stack?
...
@@ -242,4 +265,10 @@ We do.
...
@@ -242,4 +265,10 @@ We do.
3.
Why the haskell reimplementation?
3.
Why the haskell reimplementation?
:-)
ghcup started as a portable posix shell script of maybe 50 LOC. GHC installation itself can be carried out in
about ~3 lines of shell code (download, unpack , configure+make install). However, much convenient functionality
has been added since, as well as ensuring that all operations are safe and correct. The shell script ended up with
over 2k LOC, which was very hard to maintain.
The main concern when switching from a portable shell script to haskell was platform/architecture support.
However, ghcup now re-uses GHCs CI infrastructure and as such is perfectly in sync with all platforms that
GHC supports.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment