pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Switching the default Haskell compiler to GHC 9.10 (lang/ghc910)



On 2/3/25 16:17, Jonathan Perkin wrote:
* On 2025-02-03 at 03:39 GMT, PHO wrote:

While looking at your 9.4 bootkit I found it had several shared libraries in ./lib/pkgsrc, and GHC binaries had relative rpaths to them. How did you do this? Could you provide instructions in files/ BOOTSTRAP.md so that future me can produce bootkits like this?

I would have done it similar to the Rust bootstraps, have a look at this section:

  https://github.com/NetBSD/pkgsrc/blob/pkgsrc-2024Q4/lang/rust/ Makefile#L642-L684


Thanks. I'll try to integrate this to Hadrian, the build system for GHC. It will take some time though, so you may still want to do it manually this time :D

Home | Main Index | Thread Index | Old Index