Bug 287528 - devel/llvm11: Sunset port?
Summary: devel/llvm11: Sunset port?
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-14 09:06 UTC by Daniel Engberg
Modified: 2025-11-13 00:22 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2025-06-14 09:06:51 UTC
From what I can gather this is since long EoL upstream, the only listed consumer is also deprecated ("Don't use this tool, unless you really need to.") so this should be fine to deprecate and set and expiration date.

Reference:
https://github.com/CadQuery/pywrap
Comment 1 Brooks Davis freebsd_committer freebsd_triage 2025-06-15 02:17:03 UTC
As I say every time this comes up, remove the mentions in lang/ghc810 and lang/ghc92 and we can talk.

The lack of support upstream is somewhat specious given that only llvm20 sees any commits at this point (and not for much longer).
Comment 2 Brooks Davis freebsd_committer freebsd_triage 2025-06-15 02:21:31 UTC
Similar GHC issues apply to llvm12 and llvm13.  I'd like them to go (or at least find time to aggressively slim them down), but presumably we need to give some GHC versions the boot to make that happen.
Comment 3 Gleb Popov freebsd_committer freebsd_triage 2025-06-16 07:21:33 UTC
lang/ghc810 was removed recently, but I didn't realize that llvm11 is also needed for binary 8.10 GHC bootstraps we're using.

I'll look into making ghc92 to use 9.2 bootstrap.
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-06-22 09:45:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a5de5d2d8b7d3256f50c668520520982f82cc941

commit a5de5d2d8b7d3256f50c668520520982f82cc941
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-06-17 05:40:30 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-06-22 09:35:49 +0000

    lang/ghc92: Use the same GHC 9.2 as bootstrap

    This removes dependency on GHC 8.10.7 as a bootstrap, and transitively - on
    llvm11

    PR:             287528

 lang/ghc/distinfo   | 6 +++---
 lang/ghc92/Makefile | 9 ++-------
 2 files changed, 5 insertions(+), 10 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-06-24 05:13:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ec48599208cce082ba95c3beb35279ba03f79b02

commit ec48599208cce082ba95c3beb35279ba03f79b02
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-06-22 11:23:44 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-06-24 05:12:53 +0000

    lang/ghc*: Completely stop depending on LLVM

    - LLVM is needed only for arches that are missing the native codegen backend
      in GHC
    - Starting from GHC 9 both AArch64 and X86 are natively supported
    - Leave LLVM_VERSION and LLVM_BOOT_VERSION vars for documentational purpose

    PR:             287528

 lang/ghc/Makefile | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2025-11-06 00:52:40 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7779a1b1cb26f5120a870eeabb2595aa8fdca0f1

commit 7779a1b1cb26f5120a870eeabb2595aa8fdca0f1
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2025-11-06 00:50:29 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2025-11-06 00:50:50 +0000

    devel/llvm11: deprecate

    The sole remaining dependant port is devel/py-cadquery-pywrap whose
    github readme consists of "Don't use this tool, unless you really need
    to."  As such it seems safe to deprecate.

    Previously llvm11 had been required for ghc bootstrap.

    PR:             287528

 devel/llvm11/Makefile | 3 +++
 1 file changed, 3 insertions(+)
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2025-11-13 00:22:47 UTC
^Triage: port has been marked for deprecation.