From 6ef21efa2a5d29dbf3ab31a02d0c25264f4519a1 Mon Sep 17 00:00:00 2001 From: ZPaC Date: Mon, 9 May 2022 20:01:48 +0800 Subject: [PATCH] Disable fortran --- cmake/external_libs/ompi.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/external_libs/ompi.cmake b/cmake/external_libs/ompi.cmake index 1ed8dfb2a63..dfe6f9ffb3e 100644 --- a/cmake/external_libs/ompi.cmake +++ b/cmake/external_libs/ompi.cmake @@ -13,6 +13,6 @@ mindspore_add_pkg(ompi URL ${REQ_URL} MD5 ${MD5} PRE_CONFIGURE_COMMAND ./autogen.pl - CONFIGURE_COMMAND ./configure) + CONFIGURE_COMMAND ./configure --disable-mpi-fortran) include_directories(${ompi_INC}) add_library(mindspore::ompi ALIAS ompi::mpi) \ No newline at end of file