rocmPackages: set GPU_TARGETS for migraphx
This commit is contained in:
parent
561cac4480
commit
3bc74475b1
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, buildDocs ? false
|
, buildDocs ? false
|
||||||
, buildTests ? false
|
, buildTests ? false
|
||||||
|
, gpuTargets ? clr.gpuTargets
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -109,6 +110,7 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||||
"-DCMAKE_INSTALL_BINDIR=bin"
|
"-DCMAKE_INSTALL_BINDIR=bin"
|
||||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||||
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
||||||
|
"-DGPU_TARGETS=${lib.concatStringsSep ";" gpuTargets}"
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Reference in a new issue