From c31baa0710b36a5afe659452505e650349b4ee55 Mon Sep 17 00:00:00 2001 From: Boris Basic <boris.basic@edf.fr> Date: Wed, 14 Dec 2022 16:42:44 +0100 Subject: [PATCH] Disable the build of unnecessary stuff where possible --- build-telemac-deps.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-telemac-deps.bat b/build-telemac-deps.bat index bff4734..ec222fe 100644 --- a/build-telemac-deps.bat +++ b/build-telemac-deps.bat @@ -124,7 +124,7 @@ rem ******** rem * HDF5 * rem ******** call :download %hdf5% "https://www.hdfgroup.org/package/hdf5-1-10-8-zip/?wpdmdl=16060&refresh=61dee6661eab21641997926" || exit /b 1 -set cmake_config_options=-DHDF5_GENERATE_HEADERS:BOOL=OFF +set cmake_config_options=-DHDF5_GENERATE_HEADERS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DHDF5_BUILD_EXAMPLES:BOOL=OFF -DHDF5_BUILD_TOOLS:BOOL=OFF -DHDF5_BUILD_UTILS:BOOL=OFF -DHDF5_BUILD_HL_LIB:BOOL=OFF -DHDF5_BUILD_HL_TOOLS:BOOL=OFF call :cmake_build %hdf5% || exit /b 1 exit /b 0 @@ -133,7 +133,7 @@ rem ******* rem * MED * rem ******* call :download %med% "https://files.salome-platform.org/Salome/other/med-4.1.0.tar.gz" || exit /b 1 -set cmake_config_options=-DHDF5_ROOT_DIR:PATH=%install_path%/%hdf5% +set cmake_config_options=-DHDF5_ROOT_DIR:PATH=%install_path%/%hdf5% -DMEDFILE_BUILD_TESTS:BOOL=OFF -DMEDFILE_INSTALL_DOC:BOOL=OFF if %compiler% == intel ( rem MED libraries cannot be built as shared libraries with Visual Studio generator as they rem miss the proper __declspec(dllexport) declarations on each class and function @@ -209,7 +209,7 @@ rem * ScaLAPACK * rem ************* call :download %scalapack% "https://github.com/Reference-ScaLAPACK/scalapack/archive/refs/tags/v2.1.0.zip" || exit /b 1 rem We need to use a foward slash for lapack and blas libraries paths since CMake CheckFortranFunctionExists is bugged when using a backward slash -set cmake_config_options=-DMPI_BASE_DIR:PATH=%install_path%/%msmpi% -DLAPACK_LIBRARIES:STRING=%install_path%/%lapack%/lib/liblapack.a -DBLAS_LIBRARIES:STRING=%install_path%/%lapack%/lib/libblas.a +set cmake_config_options=-DMPI_BASE_DIR:PATH=%install_path%/%msmpi% -DLAPACK_LIBRARIES:STRING=%install_path%/%lapack%/lib/liblapack.a -DBLAS_LIBRARIES:STRING=%install_path%/%lapack%/lib/libblas.a -DBUILD_TESTING:BOOL=OFF call :cmake_build %scalapack% || exit /b 1 exit /b 0 -- GitLab