[packages/grantlee-qt5] - workaround for strange test failures on x86_64; release 3
qboosh
qboosh at pld-linux.org
Sat Nov 16 14:47:20 CET 2024
commit 6dc89dd192cab90d91399258d1a10329b3e9305b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Nov 16 14:01:53 2024 +0100
- workaround for strange test failures on x86_64; release 3
grantlee-qt5.spec | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/grantlee-qt5.spec b/grantlee-qt5.spec
index b060427..aa1ff3b 100644
--- a/grantlee-qt5.spec
+++ b/grantlee-qt5.spec
@@ -1,4 +1,5 @@
-
+#
+# Conditional build:
%bcond_without tests # unit tests
%define qt_ver 5.3.0
@@ -8,7 +9,7 @@ Summary: Grantlee - set of frameworks for use with Qt 5
Summary(pl.UTF-8): Grantlee - zbiór szkieletów do wykorzystania z Qt 5
Name: grantlee-qt5
Version: 5.3.1
-Release: 2
+Release: 3
License: LGPL v2.1+
Group: Libraries
Source0: https://github.com/steveire/grantlee/releases/download/v%{version}/grantlee-%{version}.tar.gz
@@ -35,6 +36,9 @@ Requires: Qt5Script >= %{qt_ver}
Conflicts: grantlee-qt6 < 6
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# some combo of -fgcse and inlining triggers some miscompilation (two enum-compare tests fail) with gcc 14.2
+%define specflags_x86_64 -fno-gcse -fno-inline-functions -fno-partial-inlining
+
%description
Grantlee is a string template engine based on the Django template
system and written using Qt.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/grantlee-qt5.git/commitdiff/6dc89dd192cab90d91399258d1a10329b3e9305b
More information about the pld-cvs-commit
mailing list