Skip to content

Commit ccb9ff2

Browse files
committed
adaptivecpp: fix cuda build
1 parent f1c5d6d commit ccb9ff2

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)