[MacPorts] #66477: mpich-default +native: clang: error: the clang compiler does not support '-march=native'

MacPorts noreply at macports.org
Sat Dec 17 15:19:51 UTC 2022


#66477: mpich-default +native: clang: error: the clang compiler does not support
'-march=native'
----------------------------+----------------------
  Reporter:  chaochinyang   |      Owner:  eborisch
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.8.0
Resolution:                 |   Keywords:  arm64
      Port:  mpich-default  |
----------------------------+----------------------

Comment (by chaochinyang):

 @eborisch: I feel if a variant is not intended for certain use, a stoppage
 and info message should be in place for the benefits of regular users
 (with the expiration when Apple upgrades their clang to 15).  Of course I
 will not use the variant because it doesn't work, but I would want to know
 why it didn't.

 @kencu: After testing your suggestion, I can confirm that `clang-15`
 accepts `-march=native` option, and `mpich` with `mpich-default` can be
 installed with variant `+native`.

-- 
Ticket URL: <https://trac.macports.org/ticket/66477#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list