[MacPorts] #38271: gsl @1.15_2: AVX should be disabled for variant +optimize
MacPorts
noreply at macports.org
Thu Apr 11 21:22:50 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 dtakahashi42@…):
I misunderstood llvm-3.2. It supports autovectorization, and here is a
preliminary patch on gsl/Portfile to compile it by clang-3.2. Although a
libtool in the distribution needs to be patched to ignore {{{-mllvm}}}
flags ([http://lists.gnu.org/archive/html/libtool-
patches/2012-12/msg00001.html lists.gnu.org]), build process succeeds
without any errors, and resultant binaries include many AVX instructions.
However, those binaries fail some of the {{{make check}}}. Because a gsl
with {{{+gcc47 +optimize}}} passes all those tests, it would be a problem
of binaries built by llvm.
Here, I attach a new patch on gsl/Porifile, a patch on libtool, and output
of {{{make check}}}.
--
Ticket URL: <https://trac.macports.org/ticket/38271#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list