8e800cedaf
cudaPackages.cuda_compat: ignore missing libs provided at runtime cudaPackages.gpus: Jetson should never build by default cudaPackages.flags: don't build Jetson capabilities by default cudaPackages: re-introduce filter for pre-existing CUDA redist packages in overrides cudaPackages: only recurseIntoAttrs for the latest of each major version cudaPackages.nvccCompatabilities: use GCC 10 through CUDA 11.5 to avoid a GLIBC incompatability cudaPackages.cutensor: acquire libcublas through cudatoolkit prior to 11.4 cudaPackages.cuda_compat: mark as broken on aarch64-linux if not targeting Jetson cudaPackages.cutensor_1_4: fix build cudaPackages: adjust use of autoPatchelfIgnoreMissingDeps cudaPackages.cuda_nvprof: remove unecessary override to add addOpenGLRunpath cudaPackages: use getExe' to avoid patchelf warning about missing meta.mainProgram cudaPackages: fix evaluation with Nix 2.3 cudaPackages: fix platform detection for Jetson/non-Jetson aarch64-linux python3Packages.tensorrt: mark as broken if required packages are missing Note: evaluating the name of the derivation will fail if tensorrt is not present, which is why we wrap the value in `lib.optionalString`. cudaPackages.flags.getNixSystem: add guard based on jetsonTargets cudaPackages.cudnn: use explicit path to patchelf cudaPackages.tensorrt: use explicit path to patchelf
14 lines
451 B
Bash
14 lines
451 B
Bash
# shellcheck shell=bash
|
|
|
|
# Should we mimick cc-wrapper's "hygiene"?
|
|
[[ -z ${strictDeps-} ]] || (( "$hostOffset" < 0 )) || return 0
|
|
|
|
echo "Sourcing mark-for-cudatoolkit-root-hook" >&2
|
|
|
|
markForCUDAToolkit_ROOT() {
|
|
mkdir -p "${prefix}/nix-support"
|
|
[[ -f "${prefix}/nix-support/include-in-cudatoolkit-root" ]] && return
|
|
echo "$pname-$output" > "${prefix}/nix-support/include-in-cudatoolkit-root"
|
|
}
|
|
|
|
fixupOutputHooks+=(markForCUDAToolkit_ROOT)
|