From bf8f53d3d0341bb130dbf89ef02a2bf434ae3fb3 Mon Sep 17 00:00:00 2001 From: Bowen Ma Date: Wed, 14 Sep 2022 10:43:44 +0800 Subject: [PATCH] remove unsed libgmp from build dependencies --- cmake/check_requirements.cmake | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmake/check_requirements.cmake b/cmake/check_requirements.cmake index f34b8baf1f1..6994200e93e 100644 --- a/cmake/check_requirements.cmake +++ b/cmake/check_requirements.cmake @@ -72,12 +72,6 @@ if(NOT CMAKE_SYSTEM_NAME MATCHES "Windows") ## packages used in GPU mode only 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(autoconf) find_required_program(libtoolize)