You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: DEVELOPER_GUIDE.md
+7
Original file line number
Diff line number
Diff line change
@@ -237,6 +237,13 @@ If you want to make a custom patch on JNI library
237
237
3. Place the patch file under `jni/patches`
238
238
4. Make a change in `jni/CmakeLists.txt`, `.github/workflows/CI.yml` to apply the patch during build
239
239
240
+
By default, in the cmake build system, these patches will be applied and committed to the native libraries. In order to
241
+
successfully make the commits the `user.name` and `user.email` git configurations need to be setup. If you cannot set
242
+
these in your environment, you can disable committing the changes to the library by passing gradle this flag:
243
+
`build.lib.commit_patches=false`. For example, `gradlew build -Dbuild.lib.commit_patches=false`. If the patches are
244
+
not committed, then the full library build process will run each time `cmake` is invoked. In a development environment,
245
+
it is recommended to setup the user git configuration to avoid this cost.
246
+
240
247
### Enable SIMD Optimization
241
248
SIMD(Single Instruction/Multiple Data) Optimization is enabled by default on Linux and Mac which boosts the performance
242
249
by enabling `AVX2` on `x86 architecture` and `NEON` on `ARM64 architecture` while building the Faiss library. But to enable SIMD, the underlying processor
0 commit comments