[MacPorts] #57424: petsc: FCFLAGS and FFLAGS are both set, but with different values
MacPorts
noreply at macports.org
Wed Aug 14 22:36:49 UTC 2019
#57424: petsc: FCFLAGS and FFLAGS are both set, but with different values
-------------------------+----------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: petsc |
-------------------------+----------------------
Comment (by aaschwanden):
I was finally able to install petsc using
{{{
port install petsc +mumps
}}}
after I added the following to lines to the Portfile:
{{{
configure.fcflags -Os
configure.fflags -Os -m64
}}}
I had to play with the order of the flags. "-Os -m64" is not the same as
"-m64 -Os".
This clearly is a hack and I'm sure there is a more elegant way of doing
this, but I'm not well versed in Portfile writing.
--
Ticket URL: <https://trac.macports.org/ticket/57424#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list