From d98da45f1582ba0d76e3bc1d8b9aa2e5df1a4a50 Mon Sep 17 00:00:00 2001
From: Boris Basic <boris.basic@edf.fr>
Date: Thu, 12 Oct 2023 17:58:56 +0200
Subject: [PATCH] No need to mention the compiler name when building
 dependencies

---
 build-telemac.bat | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/build-telemac.bat b/build-telemac.bat
index 8856d18..a33b6b9 100644
--- a/build-telemac.bat
+++ b/build-telemac.bat
@@ -81,8 +81,6 @@ goto compiler_set
 rem TODO
 
 :compiler_set
-rem Store the compiler name with the first letter capitalized
-for /f "tokens=2 delims=:" %%a in ('"find "" ":%compiler:~,1%" 2>&1"') do set compiler_name=%%a%compiler:~1%
 
 rem ***********************************
 rem Check that the version is supported
@@ -251,7 +249,7 @@ rem ******
 rem MS-MPI
 rem ******
 :build_msmpi
-echo Building %msmpi% with %compiler_name% compiler...
+echo Building %msmpi%...
 set carch=x86_64
 pushd %msmpi%
 cd sdk
@@ -332,7 +330,7 @@ rem AED2
 rem ****
 :build_aed2
 call :download %aed2% "http://www.opentelemac.org/index.php/component/jdownloads/finish/39-manual-installation-sources/2126-aed2m/0?Itemid=55" || exit /b 1
-echo Building libaed2 with %compiler_name% compiler...
+echo Building libaed2...
 set install_dir=%external_path:/=\%\%aed2%
 rd /s/q %install_dir% 2>nul
 pushd %aed2%
@@ -482,7 +480,7 @@ if %compiler% == mingw (
   )
 )
 
-echo Building %lib% with %compiler_name% compiler...
+echo Building %lib%...
 
 pushd %lib%
 mkdir build-%compiler% 2>nul
-- 
GitLab