diff --git a/benchmarks/perf-tool/requirements.txt b/benchmarks/perf-tool/requirements.txt index 2cda008e0..2886795dc 100644 --- a/benchmarks/perf-tool/requirements.txt +++ b/benchmarks/perf-tool/requirements.txt @@ -18,7 +18,7 @@ h5py==3.3.0 # via -r requirements.in idna==3.2 # via requests -numpy==1.22.0 +numpy==1.22.1 # via # -r requirements.in # h5py diff --git a/build.gradle b/build.gradle index c88585a05..f0750eec5 100644 --- a/build.gradle +++ b/build.gradle @@ -134,7 +134,7 @@ opensearch_tmp_dir.mkdirs() task cmakeJniLib(type:Exec) { workingDir 'jni' - commandLine 'cmake', '.' + commandLine 'cmake', '.', "-DKNN_PLUGIN_VERSION=${opensearch_version}" } task buildJniLib(type:Exec) { diff --git a/jni/CMakeLists.txt b/jni/CMakeLists.txt index ea620bed9..c6b2f5f22 100644 --- a/jni/CMakeLists.txt +++ b/jni/CMakeLists.txt @@ -39,8 +39,9 @@ else() message(FATAL_ERROR "Unable to run on system: ${CMAKE_SYSTEM_NAME}") endif() +# By default, set to 0.0.0 if(NOT KNN_PLUGIN_VERSION) - set(KNN_PLUGIN_VERSION "1.3.0.0") + set(KNN_PLUGIN_VERSION "0.0.0") endif() # Set architecture specific variables