From 0c02c4e977a78c5d8dd5cd01141b2ee5c31fd5b2 Mon Sep 17 00:00:00 2001 From: "Nathaniel R. Lewis" <nlewis@gaikai.com> Date: Thu, 25 Apr 2019 21:10:23 -0700 Subject: [PATCH] fix binary installation for nvidia-cuda-toolkit-10.1.105 --- .../nvidia-cuda-toolkit-10.1.105.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.105.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.105.ebuild index 7030ff9fe1..aa67067769 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.105.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.105.ebuild @@ -91,10 +91,15 @@ src_install() { done dodir ${cudadir} || die - # Install binaries separately to amke sure the X permission is set + # Install nvvm binaries separately to make sure the X permission is set + into ${cudadir}/nvvm || die + dobin $(find nvvm/bin -maxdepth 1 -type f) || die + find nvvm/bin -maxdepth 1 -type f -delete || die + + # Install binaries separately to make sure the X permission is set into ${cudadir} || die - dobin $(find bin nvvm/bin -type f) || die - find bin nvvm/bin -type f -delete || die + dobin $(find bin -maxdepth 1 -type f) || die + find bin -maxdepth 1 -type f -delete || die # Install the rest insinto ${cudadir} || die -- 2.19.2