mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
cudaPackages.nsight_compute: fixup for SBSA aarch64-linux
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
(cherry picked from commit 542236f51b)
This commit is contained in:
@@ -27,8 +27,7 @@ let
|
||||
inherit (qt) wrapQtAppsHook qtwebview;
|
||||
archDir =
|
||||
{
|
||||
aarch64-linux =
|
||||
"linux-" + (if flags.isJetsonBuild then "v4l_l4t" else "linux-desktop") + "-t210-a64";
|
||||
aarch64-linux = "linux-" + (if flags.isJetsonBuild then "v4l_l4t" else "desktop") + "-t210-a64";
|
||||
x86_64-linux = "linux-desktop-glibc_2_11_3-x64";
|
||||
}
|
||||
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
@@ -44,7 +43,7 @@ in
|
||||
(qt6.qtwebengine or qt6.full)
|
||||
rdma-core
|
||||
]
|
||||
++ lib.optionals (cudaMajorMinorVersion == "12.0" && flags.isJetsonBuild) [
|
||||
++ lib.optionals (cudaMajorMinorVersion == "12.0" && stdenv.hostPlatform.isAarch64) [
|
||||
libjpeg8
|
||||
]
|
||||
++ lib.optionals (cudaAtLeast "12.1" && cudaOlder "12.4") [
|
||||
|
||||
Reference in New Issue
Block a user