From 19cfcebd2961f4fdb453d3f3a690de00b3f49125 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 25 Jan 2022 15:33:09 +0100 Subject: [PATCH] Fix git-version in smpi scripts. Thanks Tom Cornebize for reporting. --- src/smpi/smpicc.in | 2 +- src/smpi/smpicxx.in | 2 +- src/smpi/smpif90.in | 2 +- src/smpi/smpiff.in | 2 +- src/smpi/smpirun.in | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/smpi/smpicc.in b/src/smpi/smpicc.in index 9db4630ce7..7ed93ffa44 100755 --- a/src/smpi/smpicc.in +++ b/src/smpi/smpicc.in @@ -7,7 +7,7 @@ # under the terms of the license (GNU LGPL) which comes with this package. SIMGRID_VERSION="@SIMGRID_VERSION_STRING@" -SIMGRID_GITHASH="@SIMGRID_GITHASH@" +SIMGRID_GITHASH="@GIT_VERSION@" CC=@CMAKE_C_COMPILER@ diff --git a/src/smpi/smpicxx.in b/src/smpi/smpicxx.in index 6463277973..ac2beeb4ba 100755 --- a/src/smpi/smpicxx.in +++ b/src/smpi/smpicxx.in @@ -7,7 +7,7 @@ # under the terms of the license (GNU LGPL) which comes with this package. SIMGRID_VERSION="@SIMGRID_VERSION_STRING@" -SIMGRID_GITHASH="@SIMGRID_GITHASH@" +SIMGRID_GITHASH="@GIT_VERSION@" CXX=@CMAKE_CXX_COMPILER@ diff --git a/src/smpi/smpif90.in b/src/smpi/smpif90.in index 588dee4331..2bae9781bd 100644 --- a/src/smpi/smpif90.in +++ b/src/smpi/smpif90.in @@ -6,7 +6,7 @@ # under the terms of the license (GNU LGPL) which comes with this package. SIMGRID_VERSION="@SIMGRID_VERSION_STRING@" -SIMGRID_GITHASH="@SIMGRID_GITHASH@" +SIMGRID_GITHASH="@GIT_VERSION@" REAL_FORTRAN_COMPILER=@SMPI_Fortran_COMPILER@ diff --git a/src/smpi/smpiff.in b/src/smpi/smpiff.in index 6bb53c02ae..fa32a9cf1c 100644 --- a/src/smpi/smpiff.in +++ b/src/smpi/smpiff.in @@ -6,7 +6,7 @@ # under the terms of the license (GNU LGPL) which comes with this package. SIMGRID_VERSION="@SIMGRID_VERSION_STRING@" -SIMGRID_GITHASH="@SIMGRID_GITHASH@" +SIMGRID_GITHASH="@GIT_VERSION@" REAL_FORTRAN_COMPILER=@SMPI_Fortran_COMPILER@ diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 7f31a98ace..ef1eb1df26 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -8,7 +8,7 @@ @CMAKE_SMPI_COMMAND@ SIMGRID_VERSION="@SIMGRID_VERSION_STRING@" -SIMGRID_GITHASH="@SIMGRID_GITHASH@" +SIMGRID_GITHASH="@GIT_VERSION@" DEFAULT_LOOPBACK_BANDWIDTH="498000000Bps" DEFAULT_LOOPBACK_LATENCY="0.000004s" -- 2.20.1