FreeBSD Bugzilla – Attachment 228163 Details for
Bug 258714
devel/py-tables: Disable automatic AVX2 CPU optimizations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-tables-fix-automatic-avx2-support.patch
py-tables-fix-automatic-avx2-support.patch (text/plain), 939 bytes, created by
Kai Knoblich
on 2021-09-25 08:30:27 UTC
(
hide
)
Description:
py-tables-fix-automatic-avx2-support.patch
Filename:
MIME Type:
Creator:
Kai Knoblich
Created:
2021-09-25 08:30:27 UTC
Size:
939 bytes
patch
obsolete
>diff --git a/devel/py-tables/Makefile b/devel/py-tables/Makefile >index f10cee471616..d1d4e59fb306 100644 >--- a/devel/py-tables/Makefile >+++ b/devel/py-tables/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME= tables > PORTVERSION= 3.6.1 >+PORTREVISION= 1 > CATEGORIES= devel python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -28,6 +29,15 @@ USE_PYTHON= autoplist concurrent distutils cython > PORTEXAMPLES= * > > OPTIONS_DEFINE= EXAMPLES >+OPTIONS_DEFINE_amd64= AVX2 >+ >+AVX2_DESC= Enable Haswell New Instructions (AVX2) support >+ >+# Explicitly disable AVX2 otherwise it will be automatically enabled if the CPU >+# supports it. If compiled in and run on hosts that have no AVX2 support, it >+# will trigger a SIGILL (Illegal instruction) >+# See also: https://github.com/PyTables/PyTables/issues/841 >+AVX2_VARS_OFF= MAKE_ENV+=DISABLE_AVX2=yes > > post-patch: > @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
kai
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 258714
: 228163
Working