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
Created attachment 201080 [details] New pycuda 0.93 ebuild New ebuild
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.
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.
Added to CVS. Thanks for the patch and the version bump.