From 4b109fe7a86eecc2d4f3b52de4cd8078f54fc598 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 17 Dec 2020 14:46:20 +0100 Subject: [PATCH] Kill optflags on PPC64le --- eigen3.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/eigen3.spec b/eigen3.spec index f2ceab6..fab74a7 100644 --- a/eigen3.spec +++ b/eigen3.spec @@ -4,6 +4,12 @@ # debuginfo package for the empty main package. %global debug_package %{nil} +# FIXME ICE on ppc64le when buildings docs with optflags +%ifarch ppc64le +%global optflags %{nil} +%endif + + %if 0%{?fedora} >= 33 %global blaslib flexiblas %else @@ -78,12 +84,7 @@ Developer documentation for Eigen. -DCMAKEPACKAGE_INSTALL_DIR=share/cmake/%{name} %cmake_build -%ifarch ppc64le -# FIXME HACK: ICE when building docs, just create empty folder -mkdir -p %{_vpath_builddir}/doc/html -%else %cmake_build --target doc -%endif rm -f %{_vpath_builddir}/doc/html/installdox rm -f %{_vpath_builddir}/doc/html/unsupported/installdox