Bug 233695 - bring back Flang 5 on FreeBSD 11
Summary: bring back Flang 5 on FreeBSD 11
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Johannes M Dieterich
Depends on:
Reported: 2018-12-01 19:02 UTC by Anton Shterenlikht
Modified: 2018-12-26 21:25 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Anton Shterenlikht 2018-12-01 19:02:00 UTC
I happily used Flang 5 on FreeBSD 11.
Now that devel/flang has been updated to 6, it
is only available on FreeBSD 12:

r479159 | jmd | 2018-09-06 21:11:06 +0100 (Thu, 06 Sep 2018) | 15 lines

devel/flang[-clang]: update to later snapshots

This introduces flang-driver, a clang6-derived driver / companion compiler, and
uses math/libpgmath as the math library backend. Notably, the latter currently
limits us to 12-CURRENT.

Patches are a combination of carry-over and adapted OpenBSD ones.

While there, pet portlint.

Reviewed by:    zeising (mentor), mat
Approved by:    zeising (mentor)
Obtained from:  Brian Callahan (bcallah@openbsd.org) with adaptations
Differential Revision:  https://reviews.freebsd.org/D17036

This is not ok!
Please enable flang 5 on FreeBSD 11,
maybe create devel/flang5, and devel/flang-clang5.

Thank you!
Comment 1 Johannes M Dieterich freebsd_committer 2018-12-26 21:25:16 UTC
It is clear that the future is the clang6-based flang with libpgmath. I will not maintain an outdated version of flang for FBSD 11. I encourage submission of patches to make the newer flang buildable on FBSD 11.