mirror of https://github.com/milvus-io/milvus.git
Change cmake version (#8666)
Change cmake version from 3.16 to 3.18 1. Change the CMakeList's minimum require version. 2. Change the describtion document of cmake version. Resolves: milvus-io#8407 Signed-off-by: Shen Zhi <m13120163046@163.com>pull/8741/head
parent
bb121c59cb
commit
0e767f0e1b
|
@ -79,7 +79,7 @@ Check the requirements first.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go: 1.15
|
go: 1.15
|
||||||
cmake: >=3.16
|
cmake: >=3.18
|
||||||
gcc: 7.5
|
gcc: 7.5
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
# or implied. See the License for the specific language governing permissions and limitations under the License.
|
# or implied. See the License for the specific language governing permissions and limitations under the License.
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
cmake_minimum_required( VERSION 3.14 )
|
cmake_minimum_required( VERSION 3.18 )
|
||||||
|
|
||||||
add_definitions(-DELPP_THREAD_SAFE)
|
add_definitions(-DELPP_THREAD_SAFE)
|
||||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
# or implied. See the License for the specific language governing permissions and limitations under the License.
|
# or implied. See the License for the specific language governing permissions and limitations under the License.
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.12)
|
cmake_minimum_required(VERSION 3.18)
|
||||||
message(STATUS "------------------------------KNOWHERE-----------------------------------")
|
message(STATUS "------------------------------KNOWHERE-----------------------------------")
|
||||||
message(STATUS "Building using CMake version: ${CMAKE_VERSION}")
|
message(STATUS "Building using CMake version: ${CMAKE_VERSION}")
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 3.14...3.17 FATAL_ERROR)
|
cmake_minimum_required( VERSION 3.18 )
|
||||||
project(wrapper)
|
project(wrapper)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
||||||
# or implied. See the License for the specific language governing permissions and limitations under the License.
|
# or implied. See the License for the specific language governing permissions and limitations under the License.
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.14...3.17 FATAL_ERROR)
|
cmake_minimum_required( VERSION 3.18 )
|
||||||
project(wrapper)
|
project(wrapper)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
||||||
# or implied. See the License for the specific language governing permissions and limitations under the License.
|
# or implied. See the License for the specific language governing permissions and limitations under the License.
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.14...3.17 FATAL_ERROR)
|
cmake_minimum_required( VERSION 3.18 )
|
||||||
project(dablooms)
|
project(dablooms)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
```
|
```
|
||||||
OS: Ubuntu 18.04
|
OS: Ubuntu 18.04
|
||||||
go:1.15
|
go:1.15
|
||||||
cmake: >=3.16
|
cmake: >=3.18
|
||||||
gcc: 7.5
|
gcc: 7.5
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue