forked from mindspore-Ecosystem/mindspore
!41920 remove unsed libgmp from build dependencies
Merge pull request !41920 from iambowen1984/master
This commit is contained in:
commit
9a23cdd6ba
|
@ -72,12 +72,6 @@ if(NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||||
|
|
||||||
## packages used in GPU mode only
|
## packages used in GPU mode only
|
||||||
if(ENABLE_GPU)
|
if(ENABLE_GPU)
|
||||||
find_library(gmp_LIB gmp)
|
|
||||||
find_library(gmpxx_LIB gmpxx)
|
|
||||||
find_file(gmp_HEADER gmp.h)
|
|
||||||
if(NOT gmp_LIB OR NOT gmpxx_LIB OR NOT gmp_HEADER)
|
|
||||||
message(FATAL_ERROR "Required package gmp not found, please install gmp and try building MindSpore again.")
|
|
||||||
endif()
|
|
||||||
find_required_program(automake)
|
find_required_program(automake)
|
||||||
find_required_program(autoconf)
|
find_required_program(autoconf)
|
||||||
find_required_program(libtoolize)
|
find_required_program(libtoolize)
|
||||||
|
|
Loading…
Reference in New Issue