lang/ghc 9.12.4 FreeBSD
Compiler for the functional language Haskell
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
bf203e5214- License
- BSD3CLAUSE
- Categories
- lang, haskell
- Package size
- 275774.3 KiB, 2853669.7 KiB installed
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.
In the other systems
Install
Binary package:
pkg install ghc
From the ports tree:
cd /usr/ports/lang/ghc/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ghc>0:lang/ghc
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 9.12.4 | 9.12.4 | - | - | - |
| FreeBSD:14:quarterly | 9.12.4 | 9.12.4 | n/a | - | - |
| FreeBSD:15:latest | 9.12.4 | 9.12.4 | n/a | - | - |
| FreeBSD:15:quarterly | 9.12.4 | 9.12.4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 9.12.4 | 9.12.4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${LOCALBASE}/lib/libgmp.so: math/gmp
The full lists below include those, and their dependencies in turn.
Build dependencies 44
- archivers/liblz4
- archivers/zstd
- devel/autoconf
- devel/autoconf-switch
- devel/automake
- devel/gettext-runtime
- devel/gmake
- devel/libffi
- devel/m4
- devel/py-Jinja2
- devel/py-babel
- devel/py-packaging
- devel/py-typing-extensions
- devel/readline
- dns/py-idna
- graphics/py-imagesize
- lang/perl5.42
- lang/python312
- lang/python315
- math/gmp
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/ca_root_nss
- security/py-certifi
- textproc/expat2
- textproc/py-alabaster
- textproc/py-charset-normalizer
- textproc/py-docutils
- textproc/py-markupsafe
- textproc/py-pygments
- textproc/py-pystemmer
- textproc/py-roman-numerals
- textproc/py-snowballstemmer
- textproc/py-sphinx
- textproc/py-sphinxcontrib-applehelp
- textproc/py-sphinxcontrib-devhelp
- textproc/py-sphinxcontrib-htmlhelp
- textproc/py-sphinxcontrib-jsmath
- textproc/py-sphinxcontrib-qthelp
- textproc/py-sphinxcontrib-serializinghtml
- textproc/snowballstemmer
- www/py-requests
Run dependencies 4
Required by 55
- biology/abyss
- converters/hs-aeson-pretty
- converters/hs-dhall-bash
- deskutils/hs-arbtt
- devel/hs-ShellCheck
- devel/hs-alex
- devel/hs-cabal-install
- devel/hs-cabal-plan
- devel/hs-cpphs
- devel/hs-ghc-events
- devel/hs-ghcup
- devel/hs-git-brunch
- devel/hs-hadolint
- devel/hs-happy
- devel/hs-haskell-language-server
- devel/hs-hasktags
- devel/hs-hlint
- devel/hs-hoogle
- devel/hs-hpack
- devel/hs-hspec-discover
- devel/hs-mueval
- devel/hs-ormolu
- devel/hs-shake
- devel/hs-threadscope
- finance/hs-hledger
- finance/hs-hledger-ui
- finance/hs-hledger-web
- games/hs-scroll
- graphics/hs-tart
- lang/dhall
- lang/hs-brainfuck
- lang/hs-futhark
- lang/hs-koka
- lang/hs-unlambda
- mail/oama
- math/hs-Agda
- net-p2p/ogmios
- ports-mgmt/hs-cabal2tuple
- ports-mgmt/hs-panopticum
- print/hs-hscolour
- security/hs-cryptol
- sysutils/cardano-cli
- sysutils/hs-cputype
- textproc/cgrep
- textproc/hs-lhs2tex
- textproc/hs-pandoc
- textproc/hs-pandoc-crossref
- textproc/hs-yaml
- www/hs-DAV
- www/hs-hjsmin
- www/hs-wai-app-static
- www/hs-yesod-bin
- x11-wm/hs-xmonad
- x11/conlecterm
- x11/hs-xmobar
Configuration
Options name: lang_ghc
| Option | Default | Description |
|---|---|---|
| BOOT | off | Use installed GHC for bootstrapping |
| DOCS | off | Build and install HTML documentation |
| DYNAMIC | on | Add support for dynamic linking |
| GMP | on | Use GNU Multi-precision Library from Ports |
| PDFDOCS | off | Build and install PDF documentation |
| PROFILE | on | Add support for performance profiling |
- USES
- autoreconf compiler:c11 gmake ncurses perl5 python:build shebangfix tar:xz
- Service scripts
- none
Files
Manual pages 1
- ghc(1)
pkg-plist 9184
- bin/ghc
- bin/ghc-
- bin/ghc-pkg
- bin/ghc-pkg-
- bin/ghci
- bin/ghci-
- bin/haddock
- bin/haddock-ghc-
- bin/hp2ps
- bin/hp2ps-ghc-
- bin/hpc
- bin/hpc-ghc-
- bin/hsc2hs
- bin/hsc2hs-ghc-
- bin/runghc
- bin/runghc-
- bin/runhaskell
- bin/runhaskell-
- lib/ghc-%%GHC_VERSION%%/bin/ghc
- lib/ghc-%%GHC_VERSION%%/bin/ghc-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/ghc-iserv
- lib/ghc-%%GHC_VERSION%%/bin/ghc-iserv-dyn
- lib/ghc-%%GHC_VERSION%%/bin/ghc-iserv-dyn-ghc-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/ghc-iserv-ghc-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/ghc-iserv-prof
- lib/ghc-%%GHC_VERSION%%/bin/ghc-iserv-prof-ghc-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/ghc-pkg
- lib/ghc-%%GHC_VERSION%%/bin/ghc-pkg-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/ghc-toolchain-bin
- lib/ghc-%%GHC_VERSION%%/bin/ghc-toolchain-bin-ghc-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/haddock
- lib/ghc-%%GHC_VERSION%%/bin/haddock-ghc-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/hp2ps
- lib/ghc-%%GHC_VERSION%%/bin/hp2ps-ghc-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/hpc
- lib/ghc-%%GHC_VERSION%%/bin/hpc-ghc-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/hsc2hs
- lib/ghc-%%GHC_VERSION%%/bin/hsc2hs-ghc-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/runghc
- lib/ghc-%%GHC_VERSION%%/bin/runghc-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/runhaskell
- lib/ghc-%%GHC_VERSION%%/bin/runhaskell-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/bin/unlit
- lib/ghc-%%GHC_VERSION%%/bin/unlit-ghc-%%GHC_VERSION%%
- lib/ghc-%%GHC_VERSION%%/lib/dyld.mjs
- lib/ghc-%%GHC_VERSION%%/lib/ghc-interp.js
- lib/ghc-%%GHC_VERSION%%/lib/ghc-usage.txt
- lib/ghc-%%GHC_VERSION%%/lib/ghci-usage.txt
- lib/ghc-%%GHC_VERSION%%/lib/html/Classic.theme/haskell_icon.gif
- lib/ghc-%%GHC_VERSION%%/lib/html/Classic.theme/minus.gif
- lib/ghc-%%GHC_VERSION%%/lib/html/Classic.theme/plus.gif
- lib/ghc-%%GHC_VERSION%%/lib/html/Classic.theme/xhaddock.css
- lib/ghc-%%GHC_VERSION%%/lib/html/Linuwial.std-theme/linuwial.css
- lib/ghc-%%GHC_VERSION%%/lib/html/Linuwial.std-theme/synopsis.png
- lib/ghc-%%GHC_VERSION%%/lib/html/Ocean.theme/hslogo-16.png
- lib/ghc-%%GHC_VERSION%%/lib/html/Ocean.theme/minus.gif
- lib/ghc-%%GHC_VERSION%%/lib/html/Ocean.theme/ocean.css
- lib/ghc-%%GHC_VERSION%%/lib/html/Ocean.theme/plus.gif
- lib/ghc-%%GHC_VERSION%%/lib/html/Ocean.theme/synopsis.png
- lib/ghc-%%GHC_VERSION%%/lib/html/README.md
- lib/ghc-%%GHC_VERSION%%/lib/html/gulpfile.js
- lib/ghc-%%GHC_VERSION%%/lib/html/haddock-bundle.min.js
- lib/ghc-%%GHC_VERSION%%/lib/html/highlight.js
- lib/ghc-%%GHC_VERSION%%/lib/html/js-src/cookies.ts
- lib/ghc-%%GHC_VERSION%%/lib/html/js-src/details-helper.tsx
- lib/ghc-%%GHC_VERSION%%/lib/html/js-src/init.ts
- lib/ghc-%%GHC_VERSION%%/lib/html/js-src/quick-jump.tsx
- lib/ghc-%%GHC_VERSION%%/lib/html/js-src/style-menu.tsx
- lib/ghc-%%GHC_VERSION%%/lib/html/package-lock.json
- lib/ghc-%%GHC_VERSION%%/lib/html/package.json
- lib/ghc-%%GHC_VERSION%%/lib/html/quick-jump.css
- lib/ghc-%%GHC_VERSION%%/lib/html/quick-jump.min.js
- lib/ghc-%%GHC_VERSION%%/lib/html/solarized.css
- lib/ghc-%%GHC_VERSION%%/lib/html/tsconfig.json
- lib/ghc-%%GHC_VERSION%%/lib/latex/haddock.sty
- lib/ghc-%%GHC_VERSION%%/lib/llvm-passes
- lib/ghc-%%GHC_VERSION%%/lib/llvm-targets
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/.stamp
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/Cabal--inplace.conf
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/Cabal--inplace.conf.copy
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/Cabal-syntax--inplace.conf
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/Cabal-syntax--inplace.conf.copy
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/array--inplace.conf
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/array--inplace.conf.copy
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/base--inplace.conf
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/base--inplace.conf.copy
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/binary--inplace.conf
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/binary--inplace.conf.copy
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/bytestring--inplace.conf
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/bytestring--inplace.conf.copy
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/containers--inplace.conf
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/containers--inplace.conf.copy
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/deepseq--inplace.conf
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/deepseq--inplace.conf.copy
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/directory--inplace.conf
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/directory--inplace.conf.copy
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/exceptions--inplace.conf
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/exceptions--inplace.conf.copy
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/file-io-%%FILE-IO_VERSION%%-inplace.conf
- lib/ghc-%%GHC_VERSION%%/lib/package.conf.d/file-io-%%FILE-IO_VERSION%%-inplace.conf.copy
The first 100 are listed.
distinfo 18
| File | Size | SHA256 |
|---|---|---|
| ghc-9.12.4-src.tar.xz | 3.3698416e+07 | 02d1ee5080acf00e135b93b238f09015b06ff27254cde59669cf57c42c2bee43 |
| ghc-9.10.3-src.tar.xz | 3.2959164e+07 | d266864b9e0b7b741abe8c9d6a790d7c01c21cf43a1419839119255878ebc59a |
| ghc-9.8.4-src.tar.xz | 3.2615492e+07 | 17e8188f3c8a5c2f73fb4e35d01032e8dc258835ec876d52c8ad8ee3d24b2fc5 |
| ghc-9.6.7-src.tar.xz | 3.1770824e+07 | d053bf6ce1d588a75cfe8c9316269486e9d8fb89dcdf6fd92836fa2e3df61305 |
| hadrian-9.12.4-boot.tar.gz | 2.618711e+06 | a3daf842aff14280661d6becd4add5f9438dffee0e7488acf5fc4ec681304909 |
| hadrian-9.10.3-boot.tar.gz | 1.451082e+06 | a1faeba153b2a6d18882e750727284cbb560ee576413df98af3c0600d276c39a |
| hadrian-9.8.4-boot.tar.gz | 1.582315e+06 | 2fb02cce43603552387a241ece60a656fb8f4c97a9001134fd1c43f37e20906e |
| hadrian-9.8.4-boot-powerpc64.tar.gz | 1.574275e+06 | af9c35771e0077fc4dab3f5146bba5028c8e7167bdd159bb84fe1c9772360ef5 |
| hadrian-9.6.7-boot.tar.gz | 1.495514e+06 | f81dc59b4aef59c62c645da7be0b1fb8720aba338c80004963a99bc1219d3a05 |
| hadrian-9.4.8-boot.tar.gz | 1.495586e+06 | 5eb060655686921b086645dcbdd6268f09bc66baf8cc76fce74dea9b8b55ab5d |
| hadrian-9.2.8-boot.tar.gz | 1.495573e+06 | 21a5154159dd89c09246646c82b5ccfc0c0963d45459cb0e59709a549272c8c7 |
| ghc-9.6.7-boot-amd64-freebsd.tar.xz | 1.25512852e+08 | d55285c5998f3f040f52e159bc3b381ddd969a64670bf6630838fde2a84eb7c6 |
| ghc-9.2.8-boot-amd64-freebsd.tar.xz | 1.17864544e+08 | 8b172a963e316a57906edb7914be765021337a685e578bc3303db072aee3eb16 |
| ghc-9.6.7-boot-aarch64-freebsd.tar.xz | 1.32563424e+08 | 0c5abc06413c081240ab471592c78e350d1e0fcaf81559c25f3030dfa287ceb6 |
| ghc-9.2.8-boot-aarch64-freebsd.tar.xz | 1.24830556e+08 | 23da026e3a9f1a4569aa7a464be016fc39b05afc9209e0d7662e151260b4964c |
| ghc-9.6.7-boot-powerpc64le-freebsd.tar.xz | 1.42326376e+08 | 0090b3a8d2420af339b94d8df140ce5969da9bd1c664f8e906b796d324577434 |
| hadrian-9.6.7-boot-powerpc64le.tar.gz | 1.500047e+06 | 46b51e5929b3cd1f7c0a30ad5d4fd689d4d10fe555cb6350df80e1dcd78e2e19 |
| ghc-9.6.7-boot-powerpc64-freebsd.tar.xz | 1.36217048e+08 | d2f09f4fbd06169891664d7598e51d4615003c2879eec92d0f022e25e99c5cc0 |
Master sites 3
- https://www.haskell.org/ghc/dist/9.12.4/:source
- LOCAL/arrowd/:boot
- LOCAL/pkubaj:boot