Bug#819091: clblas: Enable altivec on ppc64el

TFAUCK tfauck at free.fr
Tue Apr 26 12:05:40 UTC 2016


Hello,

By default powerpc64 P8 system provides -maltivec gcc option preventing
compilation - a patch is disabling that option with the -mno-altivec flag.
In order to authorize that -maltivec flag to allow use of vector
optimisation, two issues must be considered
- vector name is a reserved keyword and can't be part of a struct.
Commit a7e1d4c934e29d2861d95c2ee955707353b59db3 is renaming "vector" to
"Vector".
- in defbool.h, the bool definition must be replaced with a non vector
one due to a a C++ issue. Commit
ef1b194971d9e4ea1043e668940c83ee60eebc2d ensures the altivec definitions
are correct.
-- 

__________________________________________________________________________
thf - Thierry Fauck - tfauck at free.fr>
/pubkey: 4096R/FCC181CE/
/fingerprint: 5CCF 6B82 DE4E E72A A40B B63E A153 BF4F FCC1 81CE/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vector-is-a-gcc-special-word.patch
Type: text/x-patch
Size: 43624 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160426/c1918a9d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ppc64le-altivec-support.patch
Type: text/x-patch
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160426/c1918a9d/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xFCC181CE.asc
Type: application/pgp-keys
Size: 3852 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160426/c1918a9d/attachment-0001.key>


More information about the debian-science-maintainers mailing list