-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scalasca: Add patch to fix tests after OpenMP
Signed-off-by: Jan André Reuter <[email protected]>
- Loading branch information
1 parent
2191801
commit d28c134
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
components/perf-tools/scalasca/SOURCES/scalasca-2.6.1-nowarn-omp-pragmas.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
This patch fixes a missing $ in configure, which causes following checks to | ||
fail if they produce any output to stdout or stderr. | ||
|
||
diff -Nrup scalasca-2.6.1.orig/build-config/m4/scalasca_nowarn_omp_pragmas.m4 scalasca-2.6.1/build-config/m4/scalasca_nowarn_omp_pragmas.m4 | ||
--- scalasca-2.6.1.orig/build-config/m4/scalasca_nowarn_omp_pragmas.m4 2022-12-14 11:55:38.810618928 +0100 | ||
+++ scalasca-2.6.1/build-config/m4/scalasca_nowarn_omp_pragmas.m4 2023-09-27 09:47:31.155201804 +0200 | ||
@@ -62,7 +62,7 @@ AS_CASE([$_scalasca_nowarn_omp_pragmas], | ||
AC_SUBST([NOWARN_OMP_PRAGMAS_]_AC_LANG_PREFIX[FLAGS]) | ||
|
||
dnl Reset environment | ||
-ac_[]_AC_LANG_ABBREV[]_werror_flag=_scalasca_save_[]_AC_LANG_ABBREV[]_werror_flag | ||
+ac_[]_AC_LANG_ABBREV[]_werror_flag=$_scalasca_save_[]_AC_LANG_ABBREV[]_werror_flag | ||
]) | ||
|
||
|
||
diff -Nrup scalasca-2.6.1.orig/build-backend/configure scalasca-2.6.1/build-backend/configure | ||
--- scalasca-2.6.1.orig/build-backend/configure 2022-12-14 11:56:16.350709778 +0100 | ||
+++ scalasca-2.6.1/build-backend/configure 2023-09-27 09:49:35.847822426 +0200 | ||
@@ -21128,7 +21128,7 @@ case $_scalasca_nowarn_omp_pragmas in #( | ||
esac | ||
|
||
|
||
-ac_cxx_werror_flag=_scalasca_save_cxx_werror_flag | ||
+ac_cxx_werror_flag=$_scalasca_save_cxx_werror_flag | ||
|
||
if test "x${ac_cv_prog_cxx_openmp}" != "xunsupported" \ | ||
&& test "x${enable_openmp}" != "xno"; then | ||
diff -Nrup scalasca-2.6.1.orig/build-mpi/configure scalasca-2.6.1/build-mpi/configure | ||
--- scalasca-2.6.1.orig/build-mpi/configure 2022-12-14 11:56:33.574751469 +0100 | ||
+++ scalasca-2.6.1/build-mpi/configure 2023-09-27 09:49:06.135678364 +0200 | ||
@@ -21878,7 +21878,7 @@ case $_scalasca_nowarn_omp_pragmas in #( | ||
esac | ||
|
||
|
||
-ac_cxx_werror_flag=_scalasca_save_cxx_werror_flag | ||
+ac_cxx_werror_flag=$_scalasca_save_cxx_werror_flag | ||
|
||
if test "x${ac_cv_prog_cxx_openmp}" != "xunsupported" \ | ||
&& test "x${enable_openmp}" != "xno"; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters