Kill optflags on PPC64le
This commit is contained in:
parent
bd1125e219
commit
4b109fe7a8
11
eigen3.spec
11
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
|
||||
|
Loading…
Reference in New Issue
Block a user