Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
gershomb
GHC
Commits
e93f583d
Commit
e93f583d
authored
7 years ago
by
Zhen Zhang
Committed by
Andrey Mokhov
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md (#352)
parent
d8e17590
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+11
-3
11 additions, 3 deletions
README.md
with
11 additions
and
3 deletions
README.md
+
11
−
3
View file @
e93f583d
...
...
@@ -106,6 +106,14 @@ are still up-to-date.
To build a GHC source distribution tarball, run Hadrian with the
`sdist-ghc`
target.
#### Installation
To build and install GHC artifacts, run the
`install`
target.
By default, the artifacts will be installed to
`<prefix>`
on your system. For example,
`ghc`
will be installed to
`/usr/local/bin`
. By modifying
`defaultDestDir`
in
`UserSettings.hs`
,
you can install things to non-system path
`DESTDIR/<prefix>`
instead.
#### Testing
*
`build validate`
runs GHC tests by simply executing
`make fast`
in
`testsuite/tests`
...
...
@@ -122,12 +130,12 @@ zero (see [#197][test-issue]).
Current limitations
-------------------
The new build system still lacks many important features:
*
There is currently no support for the
`dynamic`
build way:
[
#4
][
dynamic-issue
]
.
*
Validation is not implemented:
[
#187
][
validation-issue
]
.
*
Dynamic linking on Windows is not supported
[
#343
][
dynamic-windows-issue
]
.
*
Only HTML Haddock documentation is supported (use
`--haddock`
flag).
*
Not all modes of the old build system are supported, e.g.
[
#250
][
freeze-issue
]
.
*
Cross-compilation is not implemented:
[
#177
][
cross-compilation-issue
]
.
*
There is no support for
installation or
binary distribution:
[
#219
][
install-issue
]
.
*
There is no support for binary distribution:
[
#219
][
install-issue
]
.
Check out [milestones] to see when we hope to resolve the above limitations.
...
...
@@ -162,8 +170,8 @@ helped me endure and enjoy the project.
[
windows-build
]:
https://github.com/snowleopard/hadrian/blob/master/doc/windows.md
[
ghc-split-objs-bug
]:
https://ghc.haskell.org/trac/ghc/ticket/11315
[
test-issue
]:
https://github.com/snowleopard/hadrian/issues/197
[
dynamic-issue
]:
https://github.com/snowleopard/hadrian/issues/4
[
validation-issue
]:
https://github.com/snowleopard/hadrian/issues/187
[
dynamic-windows-issue
]:
https://github.com/snowleopard/hadrian/issues/343
[
freeze-issue
]:
https://github.com/snowleopard/hadrian/issues/250
[
cross-compilation-issue
]:
https://github.com/snowleopard/hadrian/issues/177
[
install-issue
]:
https://github.com/snowleopard/hadrian/issues/219
...
...
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