[MacPorts] #70202: volk is broken on ppc: cpuinfo_ppc.h: error: #error "Including cpuinfo_ppc.h from a non-ppc target."

MacPorts noreply at macports.org
Mon Jun 10 19:59:54 UTC 2024


#70202: volk is broken on ppc: cpuinfo_ppc.h: error: #error "Including
cpuinfo_ppc.h from a non-ppc target."
---------------------------+-----------------------
  Reporter:  barracuda156  |      Owner:  michaelld
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:  powerpc
      Port:  volk          |
---------------------------+-----------------------

Comment (by barracuda156):

 Replying to [comment:1 kencu]:
 > add a few more defines to this, so it works on the ppc compilers used on
 darwin:
 >
 >
 https://github.com/google/cpu_features/blob/ba4bffa86cbb5456bdb34426ad22b9551278e2c0/include/cpu_features_macros.h#L62
 >
 >
 > {{{
 > #if defined(__powerpc__)
 > #define CPU_FEATURES_ARCH_PPC
 > #endif
 > }}}

 Thank you, Ken, yeah, it turned out to be a silly error. I compiles in
 fact just after fixing it, but I am looking now at the code and thinking
 whether we can add a proper implementation.

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


More information about the macports-tickets mailing list