cudaPackages_12: use gcc12

This commit is contained in:
Someone Serge 2023-02-28 18:07:45 +02:00
parent 5f4bdbe6c3
commit 17248123b6
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4

View file

@ -76,8 +76,4 @@ gcc = "gcc11"
version = "12.0.1"
url = "https://developer.download.nvidia.com/compute/cuda/12.0.1/local_installers/cuda_12.0.1_525.85.12_linux.run"
sha256 = "sha256-GyBaBicvFGP0dydv2rkD8/ZmkXwGjlIHOAAeacehh1s="
# CUDA 12 is compatible with gcc12, but nixpkgs default gcc is still on gcc11 as
# of 2023-01-08. See https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#system-requirements.
# This should be upgraded to gcc12 once nixpkgs default gcc is upgraded. Other
# CUDA versions should likely have their gcc versions upgraded as well.
gcc = "gcc11"
gcc = "gcc12"