Bug 228008

Summary: [MAINTAINER] math/arpack: take maintainership, switch to flang
Product: Ports & Packages Reporter: robert.ayrapetyan
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed Overcome By Events    
Severity: Affects Many People CC: w.schwarzenfeld, yuri
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
necessary changes for switching to flang
none
poudriere log for a patched port
none
necessary changes for switching to flang
none
poudriere log for a patched port
none
necessary changes for switching to flang (amd64)
none
proper handling of non-supported archs none

Description robert.ayrapetyan 2018-05-06 05:47:58 UTC
Created attachment 193073 [details]
necessary changes for switching to flang

There are lot of known problems with gfortran when clang is involved, e.g.:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196862

This patch switches to using flang compiler (on amd64 only) and resolves gcc linker issues.

Note:
- patched "Makefile" contains a "ditry" arch check, I believe it's the best available option now until "flang" will be set by default for all amd64 ports in fortran.mk.
Comment 1 robert.ayrapetyan 2018-05-06 21:40:58 UTC
Created attachment 193118 [details]
poudriere log for a patched port
Comment 2 robert.ayrapetyan 2018-05-07 06:10:47 UTC
Created attachment 193132 [details]
necessary changes for switching to flang

A less-destructive switch to flang (OPTION).
Comment 3 robert.ayrapetyan 2018-05-07 06:11:44 UTC
Created attachment 193133 [details]
poudriere log for a patched port
Comment 4 Yuri Victorovich freebsd_committer 2018-05-07 06:15:03 UTC
(In reply to robert.ayrapetyan from comment #3)

I will run all tests and commit the change, thanks!
Comment 5 robert.ayrapetyan 2018-05-07 07:03:53 UTC
Created attachment 193141 [details]
necessary changes for switching to flang (amd64)
Comment 6 robert.ayrapetyan 2018-05-07 22:16:06 UTC
Created attachment 193166 [details]
proper handling of non-supported archs
Comment 7 w.schwarzenfeld freebsd_triage 2019-02-11 11:38:29 UTC
ping!
Comment 8 Yuri Victorovich freebsd_committer 2019-02-12 06:59:17 UTC
Hi Robert,

Please don't attach poudriere logs in the future. Just say that the build is fine on such and such architecture.

Yuri
Comment 9 Yuri Victorovich freebsd_committer 2019-02-12 07:03:07 UTC
This port doesn't exist any more.
This was an old, unmaintained and insecure port that was deleted and replaced with a more modern math/arpack-ng.

Yuri