mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
* Fix by putting libs in upper dir
This commit is contained in:
parent
1574d94f0a
commit
6f77917635
3 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
|||
AUX 99cudasdk 67 RMD160 fc48d3d14e4bf8d9931466fa9b93dbc0cd8e4990 SHA1 66f378316b2577681201f4cdad50b7c2186f8885 SHA256 d2312e36071b1fe63289a4632b62fab7ebe91f8a48eb4550c5170389ab6fc69f
|
||||
DIST cuda-sdk-linux-2.10.1215.2015-3233425.run 46618139 RMD160 bfbadee2b669d72e038abf34cb200343a3826465 SHA1 3ef64ffd9d1bc0afe351c80f07d5c2a87e7e044a SHA256 5d9521f049312fc00fef9e9ed6fa2bd8475e0d309dab109da4b663461d9855bb
|
||||
EBUILD nvidia-cuda-sdk-2.10.1215.2015.ebuild 1517 RMD160 ff9c78bc2bb2e2e3b3f6a719feae5be2e46a807d SHA1 88be4155469a1dc058f1c887eac3f1ab6252115f SHA256 d76ed60a0c3fbe9a9ebfdeeef56bbeaa2e21d35d83ab5d98703064ad2987a40e
|
||||
EBUILD nvidia-cuda-sdk-2.10.1215.2015.ebuild 1692 RMD160 1b0d3da6a4dd1b65ad1c8bb032e091265b30a420 SHA1 7bf25e06508a50fed1ebc21984a3ebbecfbf1394 SHA256 de0d55bb66e20dd7e07091da62f254b027bc3044bcf3aecd9ebfab6b3a749645
|
||||
|
|
|
|||
1
dev-util/nvidia-cuda-sdk/files/99cudasdk
Normal file
1
dev-util/nvidia-cuda-sdk/files/99cudasdk
Normal file
|
|
@ -0,0 +1 @@
|
|||
LDPATH=/opt/cuda/sdk/common/lib:/opt/cuda/sdk/common/lib/linux/lib
|
||||
|
|
@ -46,12 +46,20 @@ src_compile() {
|
|||
if ! use examples ; then
|
||||
rm -rf projects bin tools
|
||||
fi
|
||||
emake lib/libcutil.so
|
||||
emake lib/libparamgl.so
|
||||
emake lib/librendercheckgl.so
|
||||
emake cuda-install=/opt/cuda ${myopts} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/sdk"
|
||||
|
||||
# Put libs inside sdk
|
||||
exeinto /opt/cuda/lib
|
||||
doexe "${S}"/sdk/lib/*
|
||||
rm -rf "${S}"/sdk/lib/*
|
||||
|
||||
for f in $(find .); do
|
||||
local t="$(dirname ${f})"
|
||||
if [[ "${t/obj\/}" != "${t}" || "${t##*.}" == "a" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue