Skip to content

Commit f2f268e

Browse files
authored
adaptivecpp: fix cuda build (#384055)
2 parents bf25eae + ccb9ff2 commit f2f268e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/by-name/ad/adaptivecpp/package.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ stdenv.mkDerivation (finalAttrs: {
3737
sha256 = "sha256-ZwHDiwv1ybC+2UhiOe2f7fnfqcul+CD9Uta8PT9ICr4=";
3838
};
3939

40+
# do not use old FindCUDA cmake module
41+
postPatch = ''
42+
rm cmake/FindCUDA.cmake
43+
'';
44+
4045
# we may be able to get away with just wrapping hipcc and nothing more
4146
# this is mainly so that if acpp tries doing <PATH_TO_HIPCC>/../amdgcn/bitcode
4247
rocmMerged = symlinkJoin {

0 commit comments

Comments
 (0)