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
[Native] Gradle-related tweaks to improve handling of the simdvec native library (#144539)
This PR introduces a couple of changes related to native libraries build;
In the script used to build and publish the native vec library, force gradle to rebuild native intermediate files to ensure a clean and up-to-date binary. Under some conditions, we ended with object files that were not at the latest version. Probably these were extreme conditions (locally built libraries, experimenting different solutions), but better be safe. The library is tiny and takes seconds to build anyway.
Update gradle build files of benchmarks and KnnIndexTester to explicitly depend on native-libraries. Most of the code in benchmarks and KnnIndexTester depends on the native simdvec library, and it happened in the past that we unknowingly run with older, not updated versions of the library. In particular, we want the :libs:native:native-libraries:extractLibs to appear in the task graph for both :benchmarks:run and :qa:vector:checkVec.
0 commit comments