Commit 3bc9bfc0 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Add patch for last yaxt release.

parent 2866d6f0
......@@ -230,6 +230,10 @@ case ${stages} in
patch -d "$package_name" -p1 \
<"${script_dir}/patches/yaxt-0.9.0-pgfortran-20.patch"
;;
yaxt-0.9.1)
patch -d "$package_name" -p1 \
<"${script_dir}/patches/yaxt-0.9.1-test_redist_collection_pgfortran-20.1.patch"
;;
esac
fi
done
......
diff --git a/tests/test_redist_collection_displace_f.f90 b/tests/test_redist_collection_displace_f.f90
index ec83cf6..19495c6 100644
--- a/tests/test_redist_collection_displace_f.f90
+++ b/tests/test_redist_collection_displace_f.f90
@@ -59,7 +59,7 @@ MODULE redist_collection_displace
#endif
! and when taking the slice address and the optimizer is on,
! some other random failure occurs even with very recent compiler versions
-#if defined __PGI && (__PGIC__ <= 19 || __PGIC__ == 20 && __PGIC_MINOR__ == 11)
+#if defined __PGI && (__PGIC__ <= 19 || __PGIC__ == 20 && __PGIC_MINOR__ <= 11)
#undef HAVE_FC_C_LOC_OF_SLICE
#endif
USE test_redist_common, ONLY: build_odd_selection_xmap, &
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment