[MacPorts] #38271: gsl @1.15_2: AVX should be disabled for variant +optimize

MacPorts noreply at macports.org
Sun Aug 18 11:36:59 PDT 2013


#38271: gsl @1.15_2: AVX should be disabled for variant +optimize
-----------------------------+----------------------
  Reporter:  dtakahashi42@…  |      Owner:  jochen@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.1.3
Resolution:                  |   Keywords:  haspatch
      Port:  gsl             |
-----------------------------+----------------------

Comment (by nicos@…):

 I had a quick look at the patches. First, I would like to point out that I
 upgraded gsl to the version 1.16 in r109541 (before your mail on the
 mailing list), and I had missed this ticket, sorry for that.

 When testing gsl 1.15 compiled with macport's gcc47, it indeed does not
 pass the tests in linalg, but when testing version 1.16, all tests passed
 without disabling AVX.
 With
 {{{
 export CFLAGS="-ftree-vectorize -O3 -march=native"
 }}}

 All tests are passed with version 1.16 with all gcc47, clang32 and the
 native clang on my system
 {{{
 clang -v
 Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
 Target: x86_64-apple-darwin12.4.0
 Thread model: posix
 }}}

 Unless there is something I am missing, the upgrade to the latest version
 seems to have solved the compilation issues, so that additional flags or
 specific requirements for compilers may not be needed (to confirm perhaps
 depending on the OS version, but all bots compiled fine).

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


More information about the macports-tickets mailing list