mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 19:55:54 -04:00
Correct atlas library path
This commit is contained in:
parent
34b5d7d380
commit
613c79dd0b
1 changed files with 2 additions and 2 deletions
|
@ -666,8 +666,8 @@ sed -e 's|@@SAGE_ROOT@@|%{SAGE_ROOT}|' \
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
# ensure proper/preferred libatlas is in linker path
|
# ensure proper/preferred libatlas is in linker path
|
||||||
perl -pi -e 's|^(extra_link_args = ).*|$1\["-L%{_libdir}/atlas"\]|;' src/sage/misc/cython.py
|
perl -pi -e 's|^(extra_link_args = ).*|$1\["-L%{_libdir}/atlas"\]|;' src/sage/misc/cython.py
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora} > 20
|
||||||
perl -pi -e 's|return 'atlas'|return 'satlas'|;' src/sage/misc/cython.py
|
perl -pi -e "s|return 'atlas'|return 'satlas'|;" src/sage/misc/cython.py
|
||||||
%endif
|
%endif
|
||||||
# some .c files are not (re)generated
|
# some .c files are not (re)generated
|
||||||
find src/sage \( -name \*.pyx -o -name \*.pxd \) | xargs touch
|
find src/sage \( -name \*.pyx -o -name \*.pxd \) | xargs touch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue