Fix cudatoolkit building on non-sandboxed systems

This fixes cudatoolkit building on non-sandboxed system.

The cudatoolkit tests run each of the CUDA binaries as a small smoke
test just to make sure they all can at least somewhat run.

However, the `cuda-gdb` binary doesn't run correctly on non-sandboxed
systems because it picks up versions of Python from /usr/lib.

This PR disables the smoke tests for now.  They should be re-enabled
when we figure out how to make them work for cuda-gdb on non-sandboxed
systems.

This PR is for #57939.
This commit is contained in:
(cdep)illabout 2019-03-22 15:50:17 +09:00 committed by Herwig Hochleitner
parent deea6dde76
commit 7942c79c69

View File

@ -147,7 +147,11 @@ let
done < <(find $out $lib $doc -type f -print0)
'';
doInstallCheck = true;
# cuda-gdb doesn't run correctly when not using sandboxing, so
# temporarily disabling the install check. This should be set to true
# when we figure out how to get `cuda-gdb --version` to run correctly
# when not using sandboxing.
doInstallCheck = false;
postInstallCheck = let
in ''
# Smoke test binaries