[MacPorts] #41554: gsl: enable avx-optimized compilation

MacPorts noreply at macports.org
Thu Nov 28 08:45:21 PST 2013


#41554: gsl: enable avx-optimized compilation
--------------------------+----------------------------
  Reporter:  nicos@…      |      Owner:  dtakahashi42@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  haspatch
      Port:  gsl          |
--------------------------+----------------------------

Comment (by dtakahashi42@…):

 I removed an XCode-version check, because the assembler problem does not
 affect any versions of clang, and In addition to that, any versions of
 apple clang seems to support "native" architecture, but may not support
 AVX related flags including "-mno-avx".

 Any versions of apple clang seem to support "native" architecture, but an
 apple lvm-gcc-4.2, which potentially be a default compiler, does not
 support it.

 The "-ftree-vectorize" flag is a gcc-specific flag (I should have notice
 it before the upload of my previous diff, though), which could be a cause
 of unnecessary warning on a clang.

 I updated your diff. If it looks okay, I will send a commit request of it.
 Thank you very much.

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


More information about the macports-tickets mailing list