magma: fix cuda 13 compatibility
This commit is contained in:
@@ -138,6 +138,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-Dfzq2gqoLSByCLWV5xvY/lXZeVa/yQ67lDSoIAa9jUU=";
|
||||
})
|
||||
]
|
||||
++ lib.optionals cudaSupport [
|
||||
# Fixes:
|
||||
# error: 'struct cudaDeviceProp' has no member named 'clockRate'
|
||||
# Context: https://github.com/icl-utk-edu/magma/issues/61
|
||||
(fetchpatch {
|
||||
name = "fix-cuda13-compat.patch";
|
||||
url = "https://github.com/icl-utk-edu/magma/commit/235aefb7b064954fce09d035c69907ba8a87cbcd.patch";
|
||||
hash = "sha256-i9InbxD5HtfonB/GyF9nQhFmok3jZ73RxGcIciGBGvU=";
|
||||
})
|
||||
]
|
||||
++ lib.optionals rocmSupport [
|
||||
# TODO: Drop both these patches on next magma release
|
||||
(fetchpatch {
|
||||
|
||||
Reference in New Issue
Block a user