[MacPorts] #58646: gcc8 @8.3.0_4 +universal: does not build/install universal libraries
MacPorts
noreply at macports.org
Wed Jun 26 19:27:26 UTC 2019
#58646: gcc8 @8.3.0_4 +universal: does not build/install universal libraries
------------------------+--------------------
Reporter: Ionic | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gcc8 gcc9 |
------------------------+--------------------
Comment (by cjones051073):
Replying to [comment:7 Ionic]:
> OpenBLAS uses Fortran and... I guess that for some reason people want to
select what compiler to use. For me it's just another dependency, but we
also have similar setups for, e.g., the `root` ports. Not exposing the
selection to the user would not help in this case, though, since even when
only used internally it wouldn't depend on any `libgcc` version directly
or indirectly.
Well it would, if it manually set up that dependency on libgcc itself....
If you check the latest root6 port version you will see I actually have
removed the gcc variants, for very similar reasons to those here, to not
expose the gcc version to the user as a variant. I think it does make
sense to for openblas.
>
> Yes, the variant was not automatically switched. But additionally,
`libgcc9` replaced content installed by `libgcc8`, but nothing pulled in
the `+universal` variant.
>
> Installing `OpenBLAS +universal+gcc9` fails in exactly the same way.
Even though the compilers PG is used, no dependency upon the correct
libgcc version is added, so no architecture check takes place which would
rebuild libgcc stuff with `+universal`.
--
Ticket URL: <https://trac.macports.org/ticket/58646#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list