[MacPorts] #40592: openblas: no such instruction install errors

MacPorts noreply at macports.org
Mon Sep 30 08:09:07 PDT 2013


#40592: openblas: no such instruction install errors
-------------------------------+----------------------
  Reporter:  Deil.Christoph@…  |      Owner:  nicos@…
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.0
Resolution:                    |   Keywords:
      Port:  openblas          |
-------------------------------+----------------------

Comment (by nicos@…):

 Right, after some search, the Apple assembler cannot handle AVX
 instructions, which is why it fails. Clang seems to be the only compiler
 able to deal with these instructions.
 The attached Portfile version should compile in all cases, by disabling
 avx for gcc compilers, but at the cost of performance, and adding a clang
 version which hopefully could compile avx instructions. I couldn't test it
 though, as my processor is too old to support these instructions, but it
 is partly based on the Atlas port, which works pretty well.

 It is also still limited, as the Portfile uses a default fortran compiler
 without considering other usual variants.

-- 
Ticket URL: <https://trac.macports.org/ticket/40592#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list