Bug 240904 - math/suitesparse: drop USES=fortran
Summary: math/suitesparse: drop USES=fortran
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-fortran mailing list
Keywords: patch
Depends on:
Reported: 2019-09-28 13:53 UTC by Jan Beich
Modified: 2019-09-30 21:00 UTC (History)
1 user (show)

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

v1 (1.17 KB, patch)
2019-09-28 13:53 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2019-09-28 13:53:18 UTC
Created attachment 207920 [details]

SuiteSparse doesn't use Fortran source and after bug 208120 there's no need to worry about RPATH for libgcc_s.

Testing postponed until the next update. The change provides little value on its own.
Comment 1 Thierry Thomas freebsd_committer 2019-09-29 18:45:34 UTC
$ grep  -i fortran ./SuiteSparse_config/SuiteSparse_config.mk
        BLAS = -lrefblas -lgfortran -lstdc++
            # use the Intel ifort compiler for Fortran codes
    # standard Fortran LAPACK along with OpenBLAS to obtain very good
    #   make BLAS='-lacml -lgfortran'
    # Fortran compiler (not required for 'make' or 'make library')
    # A Fortran compiler is optional.  Only required for the optional Fortran
    F77 ?= gfortran
        ## BLAS = -lrefblas -lgfortran
        @echo 'Fortran compiler:         F77=            ' '$(F77)'
        @echo 'Fortran flags:            F77FLAGS=       ' '$(F77FLAGS)'

So it seems that Fortran is optional:

    # A Fortran compiler is optional.  Only required for the optional Fortran
    # interfaces to AMD and UMFPACK.  Not needed by 'make' or 'make install'
Does anyone need these interfaces?

Note: if we adopt the proposed patch, maintainership should be dropped from fortran mailing list.