mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
rocmPackages: remove gcc12Stdenv usage, move rocgdb to rocmClangStdenv
Other packages use the default stdenv now.
This commit is contained in:
parent
5eac14880e
commit
44b03bd350
@ -1,4 +1,4 @@
|
||||
{ gcc12Stdenv # FIXME: Try removing this with a new ROCm release https://github.com/NixOS/nixpkgs/issues/271943
|
||||
{ stdenv
|
||||
, callPackage
|
||||
, recurseIntoAttrs
|
||||
, symlinkJoin
|
||||
@ -73,12 +73,11 @@ in rec {
|
||||
|
||||
# Broken, too many errors
|
||||
rdc = callPackage ./rdc {
|
||||
inherit rocmUpdateScript rocm-smi rocm-runtime;
|
||||
stdenv = gcc12Stdenv;
|
||||
inherit rocmUpdateScript rocm-smi rocm-runtime stdenv;
|
||||
# stdenv = llvm.rocmClangStdenv;
|
||||
};
|
||||
|
||||
rocm-docs-core = python3Packages.callPackage ./rocm-docs-core { stdenv = gcc12Stdenv; };
|
||||
rocm-docs-core = python3Packages.callPackage ./rocm-docs-core { inherit stdenv; };
|
||||
|
||||
hip-common = callPackage ./hip-common {
|
||||
inherit rocmUpdateScript;
|
||||
@ -106,22 +105,19 @@ in rec {
|
||||
|
||||
# Needs GCC
|
||||
rocprofiler = callPackage ./rocprofiler {
|
||||
inherit rocmUpdateScript clr rocm-core rocm-thunk rocm-device-libs roctracer rocdbgapi rocm-smi hsa-amd-aqlprofile-bin;
|
||||
inherit rocmUpdateScript clr rocm-core rocm-thunk rocm-device-libs roctracer rocdbgapi rocm-smi hsa-amd-aqlprofile-bin stdenv;
|
||||
inherit (llvm) clang;
|
||||
stdenv = gcc12Stdenv;
|
||||
};
|
||||
|
||||
# Needs GCC
|
||||
roctracer = callPackage ./roctracer {
|
||||
inherit rocmUpdateScript rocm-device-libs rocm-runtime clr;
|
||||
stdenv = gcc12Stdenv;
|
||||
inherit rocmUpdateScript rocm-device-libs rocm-runtime clr stdenv;
|
||||
};
|
||||
|
||||
# Needs GCC
|
||||
rocgdb = callPackage ./rocgdb {
|
||||
inherit rocmUpdateScript;
|
||||
elfutils = elfutils.override { enableDebuginfod = true; };
|
||||
stdenv = gcc12Stdenv;
|
||||
stdenv = llvm.rocmClangStdenv;
|
||||
};
|
||||
|
||||
rocdbgapi = callPackage ./rocdbgapi {
|
||||
|
Loading…
Reference in New Issue
Block a user