mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #192156 from viraptor/devito-fix-darwin
python310Packages.devito: fix darwin build
This commit is contained in:
commit
49a2d51ba2
1 changed files with 4 additions and 3 deletions
|
@ -18,6 +18,8 @@
|
|||
, pytestCheckHook
|
||||
, matplotlib
|
||||
, pytest-xdist
|
||||
, gcc
|
||||
, llvmPackages
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -46,7 +48,7 @@ buildPythonPackage rec {
|
|||
-i requirements.txt
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook pytest-xdist matplotlib ];
|
||||
checkInputs = [ pytestCheckHook pytest-xdist matplotlib gcc ];
|
||||
|
||||
# I've had to disable the following tests since they fail while using nix-build, but they do pass
|
||||
# outside the build. They mostly related to the usage of MPI in a sandboxed environment.
|
||||
|
@ -88,12 +90,11 @@ buildPythonPackage rec {
|
|||
pyrevolve
|
||||
scipy
|
||||
sympy
|
||||
];
|
||||
] ++ lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
|
||||
|
||||
pythonImportsCheck = [ "devito" ];
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
homepage = "https://www.devitoproject.org/";
|
||||
description = "Code generation framework for automated finite difference computation";
|
||||
license = licenses.mit;
|
||||
|
|
Loading…
Reference in a new issue