[MacPorts] #64353: opencv3 has undocumented dependencies
MacPorts
noreply at macports.org
Mon Jan 10 15:44:42 UTC 2022
#64353: opencv3 has undocumented dependencies
-------------------------+----------------------
Reporter: mouse07410 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: opencv3 |
-------------------------+----------------------
Comment (by kencu):
Replying to [comment:33 mouse07410]:
> > so do this then:
> >
> > {{{
> > default_compilers clang macports-clang-13 macports-clang-12
> > }}}
>
> Unfortunately, while the above would correctly reflect my preferences -
it seems to break the compiler selection algorithm
{{{default_compilers}}} is a bigger stick.
In each case, base selected your first default compiler.
the openmp selection mechanism is a bit more subtle. looks like
default_compilers overrides it.
To get what you want, which seems to be that you want 99.99% of the
standard compiler selection mechanism working as it is, but you just want
the order of macports-compiler-N fallbacks changing, you might be happier
if you adjusted that list on your system slightly. It lives here:
https://github.com/macports/macports-
ports/blob/f26cfe7b3e3961d120d8b6212c219b9a752cddeb/_resources/port1.0/compilers/clang_compilers.tcl#L16
and just add your macports-clang-13 to the top of your list instead of
lower down (as it is now0
> (which IMHO requires some work).
I find it works exactly the way I would expect it to.
It's all transparent, and it's all just code. Read {{{portconfigure.tcl}}}
and it is all sitting there.
If you have some reproducible examples of how it does not work, I'm sure
everyone would like to see them.
--
Ticket URL: <https://trac.macports.org/ticket/64353#comment:34>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list