fedora-haskell / ghc

Out of date: see https://src.fedoraproject.org/rpms/ghc for the latest packaging
4 stars 2 forks source link

ghc-arm64.patch: update for ghc-7.8.4 #3

Closed andriytk closed 3 years ago

andriytk commented 3 years ago

It passes rpmbuild prep stage with this patch on CentOS-7 arm64.

juhp commented 3 years ago

Thanks for this. Is this also a request to update http://copr.fedorainfracloud.org/coprs/petersen/ghc-7.8.4/ ? I don't suppose you have tried beyond prep, ie to actually build too? Any comment on the changes to the other arch's?

andriytk commented 3 years ago

I did try, of course, and managed to build it with the following command:

rpmbuild --define='ghc_bootstrapping 1' -ba rpmbuild/SPECS/ghc.spec

Just FYI: I needed to build ghc-7.8 in order to build ghc-8.0 in order to build ghc-8.4 in order to build Dhall for CentOS-7 Aarch64 platform. It's crazy I know, but I could not find ready rpms anywhere in the net, unfortunately. Currently, I'm building ghc-8.0... Fingers crossed!

a request to update http://copr.fedorainfracloud.org/coprs/petersen/ghc-7.8.4/ ?

Do you mean to trigger the build of rpms? If that's possible that would be great, yes!

andriytk commented 3 years ago

Link to QEMU vm image I'm playing with - https://github.com/andriytk/ghc/releases/tag/centos79arm64. Still fighting with GHC-8.0...

andriytk commented 3 years ago

Here are GHC-7.8 rpms with which I managed to build GHC-8.0 rpms on CentOS-7.9 Arm64. Building GHC-8.4 now...

juhp commented 3 years ago

Thanks!

Any comment on the changes to the other arch's?

I will ignore this since we don't build sparc32 or ppc32 for epel7 anyway.

juhp commented 3 years ago

Merged, thanks!

juhp commented 3 years ago

Sadly there is no epel7 aarch64 in Fedora copr