2023-03-02 03:00:02 +00:00
|
|
|
From 030214c7084cf5aaf4372147f48343b9915ca743 Mon Sep 17 00:00:00 2001
|
|
|
|
From: rpm-build <rpm-build>
|
|
|
|
Date: Wed, 1 Mar 2023 19:24:41 -0700
|
|
|
|
Subject: [PATCH 3/3] Drop build flags, e.g. -specs... and -lto from mpi
|
2022-04-10 07:41:28 +00:00
|
|
|
wrappers (mpicc and mpicxx)
|
|
|
|
|
|
|
|
For discussion see:
|
|
|
|
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/7TFWEKTDWBYBHEGMIWBVI3AVGORZGNBS/
|
|
|
|
---
|
2023-03-02 03:00:02 +00:00
|
|
|
src/env/mpicc.bash.in | 6 +++---
|
|
|
|
src/env/mpicc.sh.in | 6 +++---
|
|
|
|
src/env/mpicxx.bash.in | 6 +++---
|
|
|
|
src/env/mpicxx.sh.in | 6 +++---
|
|
|
|
src/env/mpifort.bash.in | 4 ++--
|
|
|
|
src/env/mpifort.sh.in | 4 ++--
|
|
|
|
6 files changed, 16 insertions(+), 16 deletions(-)
|
2022-04-10 07:41:28 +00:00
|
|
|
|
|
|
|
diff --git a/src/env/mpicc.bash.in b/src/env/mpicc.bash.in
|
2023-03-02 03:00:02 +00:00
|
|
|
index 3fc695f..f31e436 100644
|
2022-04-10 07:41:28 +00:00
|
|
|
--- a/src/env/mpicc.bash.in
|
|
|
|
+++ b/src/env/mpicc.bash.in
|
2023-03-02 03:00:02 +00:00
|
|
|
@@ -247,9 +247,9 @@ if [ -n "$profConf" ] ; then
|
2020-08-06 00:58:04 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
-final_cflags="@MPICH_MPICC_CFLAGS@ @WRAPPER_CFLAGS@"
|
|
|
|
-final_cppflags="@MPICH_MPICC_CPPFLAGS@ @WRAPPER_CPPFLAGS@"
|
|
|
|
-final_ldflags="@MPICH_MPICC_LDFLAGS@ @WRAPPER_LDFLAGS@"
|
2023-03-02 03:00:02 +00:00
|
|
|
+final_cflags="@MPICH_MPICC_CFLAGS@"
|
|
|
|
+final_cppflags="@MPICH_MPICC_CPPFLAGS@"
|
|
|
|
+final_ldflags="@MPICH_MPICC_LDFLAGS@"
|
2020-08-06 00:58:04 +00:00
|
|
|
final_libs="@MPICH_MPICC_LIBS@"
|
|
|
|
if test "@INTERLIB_DEPS@" = "no" -o "${interlib_deps}" = "no" ; then
|
|
|
|
final_ldflags="${final_ldflags} @LDFLAGS@"
|
2022-04-10 07:41:28 +00:00
|
|
|
diff --git a/src/env/mpicc.sh.in b/src/env/mpicc.sh.in
|
2023-03-02 03:00:02 +00:00
|
|
|
index 99a8c90..89ef111 100644
|
2022-04-10 07:41:28 +00:00
|
|
|
--- a/src/env/mpicc.sh.in
|
|
|
|
+++ b/src/env/mpicc.sh.in
|
2023-03-02 03:00:02 +00:00
|
|
|
@@ -253,9 +253,9 @@ if [ -n "$profConf" ] ; then
|
2020-08-06 00:58:04 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
-final_cflags="@MPICH_MPICC_CFLAGS@ @WRAPPER_CFLAGS@"
|
|
|
|
-final_cppflags="@MPICH_MPICC_CPPFLAGS@ @WRAPPER_CPPFLAGS@"
|
|
|
|
-final_ldflags="@MPICH_MPICC_LDFLAGS@ @WRAPPER_LDFLAGS@"
|
2023-03-02 03:00:02 +00:00
|
|
|
+final_cflags="@MPICH_MPICC_CFLAGS@"
|
|
|
|
+final_cppflags="@MPICH_MPICC_CPPFLAGS@"
|
|
|
|
+final_ldflags="@MPICH_MPICC_LDFLAGS@"
|
2020-08-06 00:58:04 +00:00
|
|
|
final_libs="@MPICH_MPICC_LIBS@"
|
|
|
|
if test "@INTERLIB_DEPS@" = "no" -o "${interlib_deps}" = "no" ; then
|
|
|
|
final_ldflags="${final_ldflags} @LDFLAGS@"
|
2022-04-10 07:41:28 +00:00
|
|
|
diff --git a/src/env/mpicxx.bash.in b/src/env/mpicxx.bash.in
|
2023-03-02 03:00:02 +00:00
|
|
|
index 29566ba..f80882e 100644
|
2022-04-10 07:41:28 +00:00
|
|
|
--- a/src/env/mpicxx.bash.in
|
|
|
|
+++ b/src/env/mpicxx.bash.in
|
2023-03-02 03:00:02 +00:00
|
|
|
@@ -253,9 +253,9 @@ if [ -n "$profConf" ] ; then
|
2020-08-06 00:58:04 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
-final_cxxflags="@MPICH_MPICXX_CXXFLAGS@ @WRAPPER_CXXFLAGS@"
|
|
|
|
-final_cppflags="@MPICH_MPICXX_CPPFLAGS@ @WRAPPER_CPPFLAGS@"
|
|
|
|
-final_ldflags="@MPICH_MPICXX_LDFLAGS@ @WRAPPER_LDFLAGS@"
|
2023-03-02 03:00:02 +00:00
|
|
|
+final_cxxflags="@MPICH_MPICXX_CXXFLAGS@"
|
|
|
|
+final_cppflags="@MPICH_MPICXX_CPPFLAGS@"
|
|
|
|
+final_ldflags="@MPICH_MPICXX_LDFLAGS@"
|
2020-08-06 00:58:04 +00:00
|
|
|
final_libs="@MPICH_MPICXX_LIBS@"
|
|
|
|
if test "@INTERLIB_DEPS@" = "no" -o "${interlib_deps}" = "no" ; then
|
|
|
|
final_ldflags="${final_ldflags} @LDFLAGS@"
|
2022-04-10 07:41:28 +00:00
|
|
|
diff --git a/src/env/mpicxx.sh.in b/src/env/mpicxx.sh.in
|
2023-03-02 03:00:02 +00:00
|
|
|
index 0b830fe..32dab65 100644
|
2022-04-10 07:41:28 +00:00
|
|
|
--- a/src/env/mpicxx.sh.in
|
|
|
|
+++ b/src/env/mpicxx.sh.in
|
2023-03-02 03:00:02 +00:00
|
|
|
@@ -259,9 +259,9 @@ if [ -n "$profConf" ] ; then
|
2020-08-06 00:58:04 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
-final_cxxflags="@MPICH_MPICXX_CXXFLAGS@ @WRAPPER_CXXFLAGS@"
|
|
|
|
-final_cppflags="@MPICH_MPICXX_CPPFLAGS@ @WRAPPER_CPPFLAGS@"
|
|
|
|
-final_ldflags="@MPICH_MPICXX_LDFLAGS@ @WRAPPER_LDFLAGS@"
|
2023-03-02 03:00:02 +00:00
|
|
|
+final_cxxflags="@MPICH_MPICXX_CXXFLAGS@"
|
|
|
|
+final_cppflags="@MPICH_MPICXX_CPPFLAGS@"
|
|
|
|
+final_ldflags="@MPICH_MPICXX_LDFLAGS@"
|
2020-08-06 00:58:04 +00:00
|
|
|
final_libs="@MPICH_MPICXX_LIBS@"
|
|
|
|
if test "@INTERLIB_DEPS@" = "no" -o "${interlib_deps}" = "no" ; then
|
|
|
|
final_ldflags="${final_ldflags} @LDFLAGS@"
|
2022-04-10 07:41:28 +00:00
|
|
|
diff --git a/src/env/mpifort.bash.in b/src/env/mpifort.bash.in
|
2023-03-02 03:00:02 +00:00
|
|
|
index 5312aea..2322b4f 100644
|
2022-04-10 07:41:28 +00:00
|
|
|
--- a/src/env/mpifort.bash.in
|
|
|
|
+++ b/src/env/mpifort.bash.in
|
2023-03-02 03:00:02 +00:00
|
|
|
@@ -335,8 +335,8 @@ elif [ -n "$FCMODINC" ] ; then
|
2020-08-06 00:58:04 +00:00
|
|
|
FCMODDIRS="${FCMODINC}$modincdir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
-final_fcflags="@MPICH_MPIFORT_FCFLAGS@ @WRAPPER_FCFLAGS@"
|
|
|
|
-final_ldflags="@MPICH_MPIFORT_LDFLAGS@ @WRAPPER_LDFLAGS@"
|
2023-03-02 03:00:02 +00:00
|
|
|
+final_fcflags="@MPICH_MPIFORT_FCFLAGS@"
|
|
|
|
+final_ldflags="@MPICH_MPIFORT_LDFLAGS@"
|
2020-08-06 00:58:04 +00:00
|
|
|
final_libs="@MPICH_MPIFORT_LIBS@"
|
|
|
|
if test "@INTERLIB_DEPS@" = "no" -o "${interlib_deps}" = "no" ; then
|
|
|
|
final_ldflags="${final_ldflags} @LDFLAGS@"
|
2022-04-10 07:41:28 +00:00
|
|
|
diff --git a/src/env/mpifort.sh.in b/src/env/mpifort.sh.in
|
2023-03-02 03:00:02 +00:00
|
|
|
index 902b0f7..665fe85 100644
|
2022-04-10 07:41:28 +00:00
|
|
|
--- a/src/env/mpifort.sh.in
|
|
|
|
+++ b/src/env/mpifort.sh.in
|
2023-03-02 03:00:02 +00:00
|
|
|
@@ -352,8 +352,8 @@ elif [ -n "$FCMODINC" ] ; then
|
2020-08-06 00:58:04 +00:00
|
|
|
FCMODDIRS="${FCMODINC}$modincdir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
-final_fcflags="@MPICH_MPIFORT_FCFLAGS@ @WRAPPER_FCFLAGS@"
|
|
|
|
-final_ldflags="@MPICH_MPIFORT_LDFLAGS@ @WRAPPER_LDFLAGS@"
|
2023-03-02 03:00:02 +00:00
|
|
|
+final_fcflags="@MPICH_MPIFORT_FCFLAGS@"
|
|
|
|
+final_ldflags="@MPICH_MPIFORT_LDFLAGS@"
|
2020-08-06 00:58:04 +00:00
|
|
|
final_libs="@MPICH_MPIFORT_LIBS@"
|
|
|
|
if test "@INTERLIB_DEPS@" = "no" -o "${interlib_deps}" = "no" ; then
|
|
|
|
final_ldflags="${final_ldflags} @LDFLAGS@"
|
2023-03-02 03:00:02 +00:00
|
|
|
--
|
|
|
|
2.39.2
|
|
|
|
|