[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:28:33 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 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
 }}}

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


More information about the macports-tickets mailing list