summaryrefslogtreecommitdiff
path: root/lang/ghc90/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2022-02-24lang/ghc90: Use ${_PKGSRC_MKPIE} instead of ${_OPSYS_SUPPORTS_MKPIE}pho1-5/+9
It's the variable that indicates if MKPIE is requested and feasible on the platform. In fact I originally wrote a condition mentioning ${_PKGSRC_MKPIE}, but it somehow got lost while I was refactoring the code.
2022-02-06When the LLVM backend is enabled, use clang as the assemblerpho1-43/+45
This turned out to be necessary because LLVM 13 emits assembly code that is incompatible with "as" from Binutils < 2.36.
2022-01-18Update to GHC 9.0.2pho1-8/+30
* Now the package supports PKGSRC_MKPIE. * The full list of changes is too long to paste here. See https://downloads.haskell.org/~ghc/9.0.2/docs/html/users_guide/9.0.2-notes.html
2021-12-08revbump for icu and libffiadam1-2/+2
2021-09-27Disable MKPIE in Haskell.nia1-1/+3
Presumably there's a way to make this work, but it probably requires changes to the bootstrap kits.
2021-05-22ghc90: remove conflicts linewiz1-4/+1
The PKGNAME is ghc-* so there is no point in a conflict with ghc-*
2021-05-21Built a bootkit for NetBSD/aarch64pho1-3/+6
Also the package is now more explicit about LLVM. It used to invoke whatever llc(1) and opt(1) found in the $PATH when -fllvm is passed to the compiler, though it's not the default backend. Now LLVM is an explicit, optional dependency on platforms where NCG backend is available, and a mandatory dependency on others. Note that the LLVM backend tends to produce faster code but it runs significantly slower than NCG. AArch64 support of NCG is being worked on, but it hasn't been merged to the 9.0 branch yet (or even the master branch).
2021-05-01Don't use "response file" while invoking CC and LDpho1-2/+2
Our tool wrappers don't look into response files, so common mistakes such as forgetting to declare dependencies have been overlooked by our buildlink framework. With the change that will no longer happen.
2021-04-30Add a bootkit for SunOS/x86_64pho1-2/+8
Also fixed a bug in the previous commit which would produce non-installable bootkits.
2021-04-29Apply jperkin@'s $ORIGIN removal patchpho1-19/+5
2021-04-27Swith to CHECK_SHLIBS_SUPPORTED=no from individual CHECK_SHLIBS_SKIP list ↵pho1-7/+9
(pkg/56125) Our binary packages have been broken because of bad "REQUIRES" entries: GHC uses $ORIGIN in rpath but mk/pkgformat/pkg/metadata.mk uses ldd(1) to extract the list of required .so objects, which causes them to be wrongly expanded.
2021-04-27Added a bootkit for Darwin/x86-64pho1-3/+2
2021-04-27Added a bootkit for FreeBSD/amd64pho1-2/+2
2021-04-26Add a bootkit for FreeBSD-*-i386pho1-2/+2
2021-04-23Drop run-time dependency on perlpho1-11/+2
GHC has stopped requiring perl since 8.2.1 release. The last component written in Perl was the evil splitter (-fsplit-objs), which has been superseded by -fsplit-sections. Hooray!
2021-04-22Enable PaX MPROTECT and ASLR for everything but ghc-iserv and ghc-iserv-profpho1-29/+23
Now that allocateExec() in rts/sm/Storage.c uses libffi to map executable pages, we no longer have to disable these protections unless the RTS linker is to be used.
2021-04-22Implement getNumberOfProcessors() for NetBSDpho1-1/+2
2021-02-16ghc90: Fix COMMENTryoon1-2/+2
2021-02-09lang/ghc90: import ghc-9.0.1ryoon1-0/+250
GHC: The Glasgow Haskell Compiler. The Glasgow Haskell Compiler is a robust, fully-featured, optimising compiler for the functional programming language Haskell 98 (http://www.haskell.org). GHC compiles Haskell to either native code or C. It implements numerous experimental language extensions to Haskell, including concurrency, a foreign language interface, several type-system extensions, exceptions, and so on. GHC comes with a generational garbage collector, a space and time profiler, and a comprehensive set of libraries. This package provides the 9.0.x release series.