BSD Ports

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

SystemPortVersion
FreeBSDlang/ghc9.12.4
OpenBSDlang/ghc9.10.3p0
DragonFlylang/ghc9.6.6_2
MidnightBSDlang/ghc9.12.4

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest9.12.49.12.4---
FreeBSD:14:quarterly9.12.49.12.4n/a--
FreeBSD:15:latest9.12.49.12.4n/a--
FreeBSD:15:quarterly9.12.49.12.4n/an/an/a
FreeBSD:16:latest9.12.49.12.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 44
Run dependencies 4

Configuration

Options name: lang_ghc

OptionDefaultDescription
BOOToffUse installed GHC for bootstrapping
DOCSoffBuild and install HTML documentation
DYNAMIConAdd support for dynamic linking
GMPonUse GNU Multi-precision Library from Ports
PDFDOCSoffBuild and install PDF documentation
PROFILEonAdd 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
FileSizeSHA256
ghc-9.12.4-src.tar.xz3.3698416e+0702d1ee5080acf00e135b93b238f09015b06ff27254cde59669cf57c42c2bee43
ghc-9.10.3-src.tar.xz3.2959164e+07d266864b9e0b7b741abe8c9d6a790d7c01c21cf43a1419839119255878ebc59a
ghc-9.8.4-src.tar.xz3.2615492e+0717e8188f3c8a5c2f73fb4e35d01032e8dc258835ec876d52c8ad8ee3d24b2fc5
ghc-9.6.7-src.tar.xz3.1770824e+07d053bf6ce1d588a75cfe8c9316269486e9d8fb89dcdf6fd92836fa2e3df61305
hadrian-9.12.4-boot.tar.gz2.618711e+06a3daf842aff14280661d6becd4add5f9438dffee0e7488acf5fc4ec681304909
hadrian-9.10.3-boot.tar.gz1.451082e+06a1faeba153b2a6d18882e750727284cbb560ee576413df98af3c0600d276c39a
hadrian-9.8.4-boot.tar.gz1.582315e+062fb02cce43603552387a241ece60a656fb8f4c97a9001134fd1c43f37e20906e
hadrian-9.8.4-boot-powerpc64.tar.gz1.574275e+06af9c35771e0077fc4dab3f5146bba5028c8e7167bdd159bb84fe1c9772360ef5
hadrian-9.6.7-boot.tar.gz1.495514e+06f81dc59b4aef59c62c645da7be0b1fb8720aba338c80004963a99bc1219d3a05
hadrian-9.4.8-boot.tar.gz1.495586e+065eb060655686921b086645dcbdd6268f09bc66baf8cc76fce74dea9b8b55ab5d
hadrian-9.2.8-boot.tar.gz1.495573e+0621a5154159dd89c09246646c82b5ccfc0c0963d45459cb0e59709a549272c8c7
ghc-9.6.7-boot-amd64-freebsd.tar.xz1.25512852e+08d55285c5998f3f040f52e159bc3b381ddd969a64670bf6630838fde2a84eb7c6
ghc-9.2.8-boot-amd64-freebsd.tar.xz1.17864544e+088b172a963e316a57906edb7914be765021337a685e578bc3303db072aee3eb16
ghc-9.6.7-boot-aarch64-freebsd.tar.xz1.32563424e+080c5abc06413c081240ab471592c78e350d1e0fcaf81559c25f3030dfa287ceb6
ghc-9.2.8-boot-aarch64-freebsd.tar.xz1.24830556e+0823da026e3a9f1a4569aa7a464be016fc39b05afc9209e0d7662e151260b4964c
ghc-9.6.7-boot-powerpc64le-freebsd.tar.xz1.42326376e+080090b3a8d2420af339b94d8df140ce5969da9bd1c664f8e906b796d324577434
hadrian-9.6.7-boot-powerpc64le.tar.gz1.500047e+0646b51e5929b3cd1f7c0a30ad5d4fd689d4d10fe555cb6350df80e1dcd78e2e19
ghc-9.6.7-boot-powerpc64-freebsd.tar.xz1.36217048e+08d2f09f4fbd06169891664d7598e51d4615003c2879eec92d0f022e25e99c5cc0
Master sites 3
  • https://www.haskell.org/ghc/dist/9.12.4/:source
  • LOCAL/arrowd/:boot
  • LOCAL/pkubaj:boot

Commit history 2

DateCommitCreditsLog message
bf203e5214 Piotr Kubaj lang/ghc98: fix build on powerpc64
Needs its own hadrian bootstrap and a patch that was already committed for newer versions.
36d574352b Gleb Popov lang/ghc: Update to 9.12.4