mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
faiss: refactor: mv comment out of bash
This commit is contained in:
parent
047fc47f2c
commit
c132bb9560
@ -53,11 +53,11 @@ stdenv.mkDerivation {
|
||||
hash = "sha256-nS8nhkNGGb2oAJKfr/MIAZjAwMxBGbNd16/CkEtv67I=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Remove the following substituteInPlace when updating
|
||||
# to a release that contains change from PR
|
||||
# https://github.com/facebookresearch/faiss/issues/3239
|
||||
# that fixes building faiss with swig 4.2.x
|
||||
postPatch = ''
|
||||
substituteInPlace faiss/python/swigfaiss.swig \
|
||||
--replace-fail '#ifdef SWIGWORDSIZE64' '#if (__SIZEOF_LONG__ == 8)'
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user