FS#52115 - [cuda] proposal rework/update/improve PKGBUILD for Cuda

Attached to Project: Community Packages
Opened by Gustavo Alvarez (sl1pkn07) - Sunday, 11 December 2016, 17:19 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 13 December 2017, 04:52 GMT
Task Type Feature Request
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

Hi

I made changes in the pkgbuild for cuda package for better integration and less hacks

Changes:
- Remove sed part and chage to .patch files (with changes)
- Add support for set DESTDIR path as installer scrit option
- Add support for install the pkgconfig (.pc) files like official installer, by handcrafted script
- md5subs to sha256sums
- (optional) remove bundled java for use system java

please test it

greetings
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Wednesday, 13 December 2017, 04:52 GMT
Reason for closing:  Implemented
Comment by Doug Newgard (Scimmia) - Sunday, 11 December 2016, 17:52 GMT
the only thing there that sounds like an improvement is the last one; possibly the pkgconfig file, but this seems like a really bad way to do it.
Comment by Gustavo Alvarez (sl1pkn07) - Tuesday, 28 February 2017, 15:07 GMT
try now

no need external script for generate pkgconfig files anymore

and sync with 8.0.61

EDIT: cuda-8.0.61-3.src.tar.gz fixed typo

and can't remove the previous files(?), the option is greyed
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 24 May 2017, 05:26 GMT
I applied a subset of the changes. Please check them and let's discuss the rest.
Comment by Jakub Klinkovský (lahwaacz) - Thursday, 25 May 2017, 06:08 GMT
Since the system java is used, there should also be a dependency on the java-runtime package.
Comment by Gustavo Alvarez (sl1pkn07) - Wednesday, 27 September 2017, 13:22 GMT
Cuda 9 is out

Cuda 9 official support gcc 6 and clang 3.9, i think is time to switch from gcc5 to gcc6 and add both to optdepends instead depends

EDIT: seems clang39 is incompatible with clang (from extra), can't live both together?
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 06 October 2017, 12:21 GMT
I added all changes that I'm comfortable with maintaining. I'm not adding the pkgconfig stuff because I think that it's too much to maintain with the perl scripts and all. Anything else I've missed? Otherwise I'm going to close this.

Loading...