Port details on branch 2023Q1 |
- ghc Compiler for the functional language Haskell
- 9.2.7 lang =0 9.2.7Version of this port present on the latest quarterly branch.
- Maintainer: haskell@FreeBSD.org
- Port Added: 2023-02-12 11:27:06
- Last Update: 2023-03-01 18:24:14
- Commit Hash: 15bc6b6
- Also Listed In: haskell
- License: BSD3CLAUSE
- WWW:
- https://www.haskell.org/ghc/
- Description:
- The Glasgow Haskell Compiler is a state-of-the-art, open source, compiler and
interactive environment for the functional language Haskell. Highlights:
* Supports the entire Haskell 2010 language plus a wide variety of
extensions.
* Has particularly good support for concurrency and parallelism, including
support for Software Transactional Memory (STM).
* Generates fast code, particularly for concurrent programs.
* Works on several platforms including FreeBSD, Windows, Mac, Linux, most
varieties of Unix, and several different processor architectures.
* Has extensive optimisation capabilities, including inter-module optimisation.
* Compiles Haskell code either directly to native code or using LLVM as a
back-end. It can also generate C code as an intermediate target for porting
to new platforms. The interactive environment compiles Haskell to bytecode,
and supports execution of mixed bytecode/compiled programs.
* Profiling is supported, both by time/allocation and various kinds of heap
profiling.
* Comes with several libraries, and thousands more are available on Hackage.
- ¦ ¦ ¦ ¦
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/ghc/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/ghc
- pkg install ghc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: ghc
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386
- distinfo:
- TIMESTAMP = 1677581881
SHA256 (ghc-9.2.7-src.tar.xz) = a253567a17b734a4c0dd0ffa296d33c2a5b5a54a77df988806a2a1e1ca7e88b8
SIZE (ghc-9.2.7-src.tar.xz) = 24610432
Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- lang/ghc810
- lang/ghc92
- lang/ghc94
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- sphinx-build : textproc/py-sphinx
- gmake>=4.3 : devel/gmake
- python3.9 : lang/python39
- libncursesw.so.8 : misc/compat12x
- autoconf>=2.71 : devel/autoconf
- automake>=1.16.5 : devel/automake
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Library dependencies:
-
- libffi.so : devel/libffi
- libgmp.so : math/gmp
-
- This port is required by:
- for Build
-
- devel/hs-cabal-install
- devel/hs-ghcprofview
- devel/hs-haskell-language-server
- lang/purescript
Configuration Options:
- ===> The following configuration options are available for ghc-9.2.7:
DOCS=on: Install HTML documentation
DYNAMIC=on: Add support for dynamic linking
GMP=on: Use GNU Multi-precision Library from Ports
PROFILE=on: Add support for performance profiling
====> Bootsrap using installed ghc
BOOT=off: Use installed GHC for bootstrapping
===> Use 'make config' to modify these settings
- Options name:
- lang_ghc
- USES:
- autoreconf compiler:c11 gmake iconv:patch,translit localbase:ldflags ncurses perl5 python:build shebangfix tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
- There is no master site for this port.
|