forked from milvus-io/milvus-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ji Bin <[email protected]>
- Loading branch information
Showing
5 changed files
with
924 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
MILVUS_REPO="https://github.com/milvus-io/milvus.git" | ||
MILVUS_VERSION="v2.2.14" | ||
MILVUS_VERSION="v2.2.15" | ||
BUILD_PROXY= | ||
BUILD_FORCE=NO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
From 578938ec360c91c97716bbd301c8886c0bb814c7 Mon Sep 17 00:00:00 2001 | ||
From: Ji Bin <[email protected]> | ||
Date: Thu, 23 Nov 2023 10:26:22 +0800 | ||
Subject: [PATCH] patch for v1.3.19 | ||
|
||
Signed-off-by: Ji Bin <[email protected]> | ||
--- | ||
CMakeLists.txt | 8 -------- | ||
knowhere/archive/KnowhereConfig.h | 1 + | ||
2 files changed, 1 insertion(+), 8 deletions(-) | ||
|
||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 36f7332..6cb7e8b 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -27,13 +27,6 @@ add_definitions( -DAUTO_INITIALIZE_EASYLOGGINGPP ) | ||
if ( APPLE ) | ||
set ( CMAKE_CROSSCOMPILING TRUE ) | ||
set ( RUN_HAVE_GNU_POSIX_REGEX 0 ) | ||
- if ( DEFINED ENV{HOMEBREW_PREFIX} ) | ||
- set( APPLE_LLVM_PREFIX $ENV{HOMEBREW_PREFIX} ) | ||
- else() | ||
- set( APPLE_LLVM_PREFIX "/usr/local" ) | ||
- endif() | ||
- set ( CMAKE_C_COMPILER "${APPLE_LLVM_PREFIX}/opt/llvm/bin/clang" ) | ||
- set ( CMAKE_CXX_COMPILER "${APPLE_LLVM_PREFIX}/opt/llvm/bin/clang++" ) | ||
endif () | ||
|
||
set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ) | ||
@@ -80,7 +73,6 @@ include( CheckCXXCompilerFlag ) | ||
if ( ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" ) | ||
message(STATUS "MacOS") | ||
set ( MACOS TRUE ) | ||
- set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -L${APPLE_LLVM_PREFIX}/opt/libomp/lib" ) | ||
elseif ( "${CMAKE_SYSTEM}" MATCHES "Linux" ) | ||
message( STATUS "Linux") | ||
set ( LINUX TRUE ) | ||
diff --git a/knowhere/archive/KnowhereConfig.h b/knowhere/archive/KnowhereConfig.h | ||
index f83bb94..f794e8b 100644 | ||
--- a/knowhere/archive/KnowhereConfig.h | ||
+++ b/knowhere/archive/KnowhereConfig.h | ||
@@ -11,6 +11,7 @@ | ||
|
||
#pragma once | ||
|
||
+#include <cstdint> | ||
#include <vector> | ||
#include <string> | ||
|
||
-- | ||
2.42.1 | ||
|
Oops, something went wrong.