rename macro in preparation for openblas build

epel9
Dominik 'Rathann' Mierzejewski 8 years ago
parent aee624e853
commit 19379f45e2

@ -71,13 +71,13 @@ autoreconf -vif
%build %build
export F77=gfortran export F77=gfortran
%if 0%{?fedora} || 0%{?rhel} >= 7 %if 0%{?fedora} || 0%{?rhel} >= 7
%global atlaslib -L%{_libdir}/atlas -ltatlas %global blaslib -L%{_libdir}/atlas -ltatlas
%else %else
%global atlaslib -L%{_libdir}/atlas -lf77blas -latlas %global blaslib -L%{_libdir}/atlas -lf77blas -latlas
%endif %endif
%configure --enable-shared --enable-static \ %configure --enable-shared --enable-static \
--with-blas="%{atlaslib}" \ --with-blas="%{blaslib}" \
--with-lapack="%{atlaslib}" --with-lapack="%{blaslib}"
%make_build %make_build

Loading…
Cancel
Save