mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 18:23:44 +00:00
rocmPackages: fix rccl build by adding version info to clr output
This commit is contained in:
parent
3bc74475b1
commit
bc377c1e4a
@ -123,6 +123,10 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||
# Replace rocm-opencl-icd functionality
|
||||
mkdir -p $icd/etc/OpenCL/vendors
|
||||
echo "$out/lib/libamdocl64.so" > $icd/etc/OpenCL/vendors/amdocl64.icd
|
||||
|
||||
# add version info to output (downstream rocmPackages look for this)
|
||||
mkdir $out/.info
|
||||
echo "${finalAttrs.version}" > $out/.info/version
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
Loading…
Reference in New Issue
Block a user