Opened 2 years ago
Last modified 2 years ago
#66127 assigned defect
diy asks for Clang on 10.6.8 Rosetta
Reported by: | barracuda156 | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | powerpc | Cc: | |
Port: | diy |
Description (last modified by barracuda156)
diy
asks for Clang on 10.6.8 Rosetta, where Clang is unavailable (as on PPC generally):
macmini: svacchanda$ sudo port -v install diy ---> Computing dependencies for diy...... The following dependencies will be installed: clang-11 clang_select libomp llvm-11 mpich-clang11 Continue? [Y/n]: n
If diy
is known not to work with GCC libgomp
, it should be restricted to systems having Clang or otherwise to non-PPC archs. Otherwise, I guess, it should choose GCC and libgomp
when cxx_stdlib eq "libstdc++"
.
Change History (4)
comment:1 Changed 2 years ago by barracuda156
Description: | modified (diff) |
---|
comment:2 Changed 2 years ago by barracuda156
Description: | modified (diff) |
---|
comment:3 follow-up: 4 Changed 2 years ago by kencu (Ken)
comment:4 Changed 2 years ago by barracuda156
Replying to kencu:
this is a header-only no arch port….
so must be the mpi PortGroup doing that… that does it’s own thing with compiler selection, and would need some kind of spaghetti coding to handle something like rosetta on 10.6…
Yes, I have seen it is header-only. I borrowed some fixes from this port to my submission: https://github.com/macports/macports-ports/pull/16536
It may make sense to add known_fail if it does not – for sure – work with GCC though. (No strong opinion here.) If no known_fail, then we want it not to call for Clang on anything PPC.
What would you recommend? Fixing mpi PG or adding a fix to the portfile?
this is a header-only no arch port….
so must be the mpi PortGroup doing that… that does it’s own thing with compiler selection, and would need some kind of spaghetti coding to handle something like rosetta on 10.6…