Suffix on ppc.
This commit is contained in:
parent
91708372d9
commit
98a2f0ee3d
@ -331,6 +331,9 @@ cp -a %{_includedir}/lapacke %{buildroot}%{_includedir}/%{name}
|
|||||||
%ifarch armv7hl
|
%ifarch armv7hl
|
||||||
suffix="_armv7"
|
suffix="_armv7"
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch ppc64le
|
||||||
|
suffix="_power6"
|
||||||
|
%endif
|
||||||
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
|
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
|
||||||
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
|
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
|
||||||
if [[ "$suffix" != "" ]]; then
|
if [[ "$suffix" != "" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user