[MacPorts] #57078: py27-numpy fails to compile with standard compiler on 10.5 due to: immintrin.h: No such file or directory

MacPorts noreply at macports.org
Sat Sep 1 15:22:30 UTC 2018


#57078: py27-numpy fails to compile with standard compiler on 10.5 due to:
immintrin.h: No such file or directory
-----------------------+-----------------------
  Reporter:  rmottola  |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard
      Port:  py-numpy  |
-----------------------+-----------------------

Comment (by kencu):

 On Leopard PPC it builds fine with `/usr/bin/gcc42`, calling in
 `-falitvec` and doing what appears to be all the right things:
 {{{
 $ port -v installed | grep numpy
   py27-numpy @1.15.1_0+gfortran (active) platform='darwin 9' archs='ppc'
 date='2018-08-24T16:41:42-0700'
 }}}

 The file `immintrin.h` looks to run some Intel-specific optimizations. I
 have it on all versions of clang back to 1.7, and on gcc versions gcc48
 and newer.

 So tweaking this is possible. I'll see if I can sort something out and put
 it in "LeopardPorts" at least.

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


More information about the macports-tickets mailing list