python3Packages.pythran: unvendor the xsimd dependency
https://hydra.nixos.org/build/229711355/nixlog/150/tail https://github.com/NixOS/nixpkgs/pull/246200#issuecomment-1658719714 pythran doesn't seem to support building with external xsimd, but this source-symlink seems to work fine and it's header-only C++ library anyway.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
, six
|
||||
, numpy
|
||||
, beniget
|
||||
, xsimd
|
||||
, isPy3k
|
||||
, substituteAll
|
||||
}:
|
||||
@@ -36,6 +37,12 @@ in buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
# xsimd: unvendor this header-only C++ lib
|
||||
postPatch = ''
|
||||
rm -r third_party/xsimd
|
||||
ln -s '${lib.getDev xsimd}'/include/xsimd third_party/
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ply
|
||||
networkx
|
||||
|
||||
Reference in New Issue
Block a user