FS#56352 - [tensorflow] python-tensorflow-opt-cuda is built without optimisations

Attached to Project: Community Packages
Opened by Grégoire Payen de La Garanderie (gdlg) - Thursday, 16 November 2017, 17:31 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 20 November 2017, 03:19 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello,

There is a typo in tensorflow’s PKGBUILD.

In the function package_python-tensorflow-opt-cuda(), the specified wheel directory is wrong.
WHEEL_PACKAGE=$(find ${srcdir}/tmpcuda -name "tensor*.whl")
should be
WHEEL_PACKAGE=$(find ${srcdir}/tmpcudaopt -name "tensor*.whl")

This cause the cuda wheel to be used instead of the cuda-opt wheel for the python-tensorflow-opt-cuda package.

Thanks
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 20 November 2017, 03:19 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 19 November 2017, 22:52 GMT
Good catch, thanks.

Loading...