Skip to content

Commit

Permalink
python3Packages.jaxlib: fix dependency hash on aarch64-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Aug 3, 2023
1 parent 6232bc9 commit f4d6317
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkgs/development/python-modules/jaxlib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,12 @@ let
"--config=mkl_open_source_only"
];

sha256 =
if cudaSupport then
"sha256-8QaXoZq6oITRsYn4RdLUXcKQv3PJ4Q3ItX9PkBwxGBI="
else
"sha256-M/h5EZmyiV4QvzgKRjdz7V1LHENUJlc/ig1QAItnWVQ=";
sha256 = (if cudaSupport then {
x86_64-linux = "sha256-8QaXoZq6oITRsYn4RdLUXcKQv3PJ4Q3ItX9PkBwxGBI=";
} else {
x86_64-linux = "sha256-M/h5EZmyiV4QvzgKRjdz7V1LHENUJlc/ig1QAItnWVQ=";
aarch64-linux = "sha256-edkYcdlvOLNGRSanch1fGCZwq8SFn3TzcUNt1LhzG/E=";
}).${stdenv.system} or (throw "jaxlib: unsupported system: ${stdenv.system}");
};

buildAttrs = {
Expand Down

0 comments on commit f4d6317

Please sign in to comment.