Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281255 - Bump dev-python/pycuda-0.93
Summary: Bump dev-python/pycuda-0.93
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 21:14 UTC by Ryan May
Modified: 2009-12-24 19:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
New pycuda 0.93 ebuild (pycuda-0.93.ebuild,1.32 KB, text/plain)
2009-08-12 21:15 UTC, Ryan May
Details
Patch to fix finding header file (pycuda-0.93-fix-include-path.patch,1.44 KB, patch)
2009-08-12 21:17 UTC, Ryan May
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan May 2009-08-12 21:14:30 UTC
Version 0.93 of pycuda came out Aug 10th.  I know this is a quick turn around for a bug to be filed on it.  However, I needed it for a tutorial, so I bumped the ebuild by hand.  In the process, I also found a problem with how a header file was installed, requiring a patch from the development tree.  Here are the fruits of that labor.

This ebuild also adds a doc useflag, since 0.93 adds some useful docs.  I'm not exactly sure what beyond sphinx is necessary, so some adjustment might be needed on that.

Reproducible: Always
Comment 1 Ryan May 2009-08-12 21:15:46 UTC
Created attachment 201080 [details]
New pycuda 0.93 ebuild

New ebuild
Comment 2 Ryan May 2009-08-12 21:17:21 UTC
Created attachment 201082 [details, diff]
Patch to fix finding header file

Patch that changes location where header file is installed and code to better locate where this is installed. Taken from pycuda git.
Comment 3 Patrick Lauer gentoo-dev 2009-09-01 07:42:29 UTC
x86_64-pc-linux-gnu-g++ -pthread -shared -Wl,-O1 -O2 -pipe build/temp.linux-x86_64-2.6/src/cpp/cuda.o build/temp.linux-x86_64-2.6/src/cpp/bitlog.o build/temp.linux-x86_64-2.6/src/wrapper/wrap_cudadrv.o build/temp.linux-x86_64-2.6/src/wrapper/mempool.o -L/opt/cuda/lib -L/usr/lib64 -lboost_python-mt -lboost_thread-mt -lcuda -lpython2.6 -o build/lib.linux-x86_64-2.6/pycuda/_driver.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcuda
collect2: ld returned 1 exit status
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1
 *
 * ERROR: dev-python/pycuda-0.93 failed.

Hmm, dev-util/nvidia-cuda-toolkit is installed. Weird.
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2009-12-24 19:29:40 UTC
Added to CVS.  Thanks for the patch and the version bump.