Crafter.Build/tests/ToolchainResolve
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 2fd45133a0
test(cuda): resolve nvcc on staged toolkits
ToolchainResolve stages toolkit roots, a PATH and a host root, and
checks the order (CUDA_PATH, then the roots, then PATH), that a
CUDA_PATH without an nvcc is an error and not a fallback, that a
relative one names an absolute nvcc, that a file
that cannot be run is no nvcc and a relative PATH entry no place to
look, what the error says when there is none, and that a toolkit
resolves under the host root through a link: /usr/local/cuda in the
host's /usr to an absolute path, named with a trailing slash too,
through /etc/alternatives and to a relative path, and a link outside
the host's /usr that leads into it. A link to itself finds nothing.
2026-11-11 19:34:52 +01:00
..
main.cpp test(cuda): resolve nvcc on staged toolkits 2026-11-11 19:34:52 +01:00