mirror of https://github.com/milvus-io/milvus.git
parent
a085af931d
commit
5841a3707b
|
@ -14,6 +14,12 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
if(MILVUS_GPU_VERSION STREQUAL "ON")
|
||||
project(core CXX C CUDA)
|
||||
else()
|
||||
project(core CXX C)
|
||||
endif()
|
||||
|
||||
include_directories(${MILVUS_ENGINE_SRC})
|
||||
include_directories(${MILVUS_THIRDPARTY_SRC})
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
# or implied. See the License for the specific language governing permissions and limitations under the License.
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
set( KNOWHERE_VERSION v2.0.0 )
|
||||
set( KNOWHERE_VERSION v2.1.0 )
|
||||
|
||||
message(STATUS "Building knowhere-${KNOWHERE_SOURCE_VER} from source")
|
||||
message(STATUS ${CMAKE_BUILD_TYPE})
|
||||
|
@ -24,8 +24,10 @@ endif ()
|
|||
|
||||
if ( MILVUS_GPU_VERSION STREQUAL "ON" )
|
||||
set(USE_CUDA ON CACHE BOOL "" FORCE )
|
||||
set(WITH_RAFT ON CACHE BOOL "" FORCE )
|
||||
endif ()
|
||||
|
||||
|
||||
set( CMAKE_PREFIX_PATH ${CONAN_BOOST_ROOT} )
|
||||
FetchContent_Declare(
|
||||
knowhere
|
||||
|
|
Loading…
Reference in New Issue