From Fedora Project Wiki
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- The actual name of your proposed change page should look something like: Changes/Your_Change_Proposal_Name.  This keeps all change proposals in the same namespace -->
<!-- The actual name of your proposed change page should look something like: Changes/Your_Change_Proposal_Name.  This keeps all change proposals in the same namespace -->


= GHC compiler parallel version installs =
= GHC X.Y compiler parallel version installs =


== Summary ==
== Summary ==
Line 19: Line 19:


== Current status ==
== Current status ==
[[Category:ChangeReadyForFesco]]
[[Category:ChangeAcceptedF36]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
Line 38: Line 38:
* [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/YJICL2IQLQR3IBBLCX6EZYQ4INHFTEDJ/ devel thread]
* [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/YJICL2IQLQR3IBBLCX6EZYQ4INHFTEDJ/ devel thread]
* FESCo issue: [https://pagure.io/fesco/issue/2715 #2715]
* FESCo issue: [https://pagure.io/fesco/issue/2715 #2715]
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2037390 #2037390]
* Release notes tracker: <will be assigned by the Wrangler>
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/784 #784]


== Detailed Description ==
== Detailed Description ==
Line 57: Line 57:
* Proposal owners:
* Proposal owners:
** update ghc-rpm-macros to support the packaging [done]
** update ghc-rpm-macros to support the packaging [done]
** add ghc9.2 [built for rawhide]
** add ghc9.2 [built for F36 rawhide]
** add ghc9.0 [built for rawhide]
** add ghc9.0 [built for F36 rawhide]
** add ghc8.10 [repo created]
** add ghc8.10 [built for F36 rawhide]
** add ghc8.8 [stretch goal]
** add cabal-install3.4 and/or cabal-install3.6 [stretch goal]
** add cabal-install3.4 and/or cabal-install3.6 [stretch goal]
** also backport ghcX.Y's to F35, F34, and EPEL
** also backport ghcX.Y's to F35, F34 [done] and later EPEL


* Other developers: N/A
* Other developers: N/A

Latest revision as of 06:03, 21 February 2022


GHC X.Y compiler parallel version installs

Summary

Introduce ghcX.Y packages to Fedora which can be parallel installed, in addition to the main ghc package.

Owner

Current status

Detailed Description

Currently ghc modules are available in Fedora but they cannot be installed in parallel. This Change will enable being able to easily install multiple versions of ghc in parallel, which can be useful for development - both for working on different projects and testing projects for compatibility across different ghc versions.

Feedback

This was proposed to the Fedora Haskell mailing list already and so far there were no objections.

Benefit to Fedora

Parallel installs of ghc versions will allow more flexible Haskell development using Fedora Linux.

Scope

  • Proposal owners:
    • update ghc-rpm-macros to support the packaging [done]
    • add ghc9.2 [built for F36 rawhide]
    • add ghc9.0 [built for F36 rawhide]
    • add ghc8.10 [built for F36 rawhide]
    • add cabal-install3.4 and/or cabal-install3.6 [stretch goal]
    • also backport ghcX.Y's to F35, F34 [done] and later EPEL
  • Other developers: N/A
  • Release engineering: N/A
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Objectives: N/A

Upgrade/compatibility impact

These are new packages so upgrading from older releases should be fine. Eventually future Fedora version upgrades will probably need to obsolete very old ghcX.Y versions.

How To Test

1. dnf install ghc ghc9.2 ghc9.0

User Experience

Installing ghc, ghc9.0, and ghc9.2 will give you /usr/bin/ghc, /usr/bin/ghc-9.0.x and /usr/bin/ghc-9.2.x. Their Haskell libraries will have ghc versioned directories and .so files.

Dependencies

N/A


Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No


Documentation

N/A (not a System Wide Change)

Release Notes

With the introduction of versioned ghcX.Y packages multiple versions of the Haskell GHC compiler can now be installed parallel in the Fedora Linux.