forked from pool/julia
This commit is contained in:
parent
488d72c5f4
commit
6a393cd16f
13
julia.spec
13
julia.spec
@ -258,6 +258,15 @@ export CFLAGS="%{optflags} -Wno-stringop-overflow -Wno-maybe-uninitialized"
|
|||||||
export CXXFLAGS="%{optflags} -Wno-stringop-overflow -Wno-maybe-uninitialized"
|
export CXXFLAGS="%{optflags} -Wno-stringop-overflow -Wno-maybe-uninitialized"
|
||||||
export LD_LIBRARY_PATH=%{_builddir}/%{buildsubdir}/build/usr/lib:%{_builddir}/%{buildsubdir}/build%{_libdir}
|
export LD_LIBRARY_PATH=%{_builddir}/%{buildsubdir}/build/usr/lib:%{_builddir}/%{buildsubdir}/build%{_libdir}
|
||||||
|
|
||||||
|
pushd deps
|
||||||
|
export USE_BLAS64=1
|
||||||
|
export USE_BINARYBUILDER_OPENBLAS=0
|
||||||
|
export OPENBLAS_LIBNAMESUFFIX="%{?__isa_bits}_"
|
||||||
|
export OPENBLAS_SYMBOLSUFFIX="%{?__isa_bits}_"
|
||||||
|
export OPENBLAS_CFLAGS="%{optflags}"
|
||||||
|
make install-openblas
|
||||||
|
popd
|
||||||
|
|
||||||
make %{?_smp_mflags} \
|
make %{?_smp_mflags} \
|
||||||
MARCH=%{julia_march} \
|
MARCH=%{julia_march} \
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
@ -302,13 +311,11 @@ make %{?_smp_mflags} \
|
|||||||
USE_SYSTEM_P7ZIP=1 \
|
USE_SYSTEM_P7ZIP=1 \
|
||||||
USE_SYSTEM_OPENLIBM=1 \
|
USE_SYSTEM_OPENLIBM=1 \
|
||||||
USE_BLAS64=1 \
|
USE_BLAS64=1 \
|
||||||
OPENBLAS_LIBNAMESUFFIX="%{?__isa_bits}_" \
|
|
||||||
OPENBLAS_SYMBOLSUFFIX="%{?__isa_bits}_" \
|
|
||||||
JLDFLAGS="$LDFLAGS" \
|
JLDFLAGS="$LDFLAGS" \
|
||||||
VERBOSE=1 \
|
VERBOSE=1 \
|
||||||
TAGGED_RELEASE_BANNER="openSUSE %{suse_version} experimental build (unofficial)" \
|
TAGGED_RELEASE_BANNER="openSUSE %{suse_version} experimental build (unofficial)" \
|
||||||
release debug
|
release debug
|
||||||
|
|
||||||
# This may fix other issues where libLLVM-14jl.so is not properly copied?
|
# This may fix other issues where libLLVM-14jl.so is not properly copied?
|
||||||
if [ "x%{_lib}" != xlib ] ; then
|
if [ "x%{_lib}" != xlib ] ; then
|
||||||
cp -a %{_builddir}/%{buildsubdir}/build/usr/lib/* %{_builddir}/%{buildsubdir}/build/%{_libdir}
|
cp -a %{_builddir}/%{buildsubdir}/build/usr/lib/* %{_builddir}/%{buildsubdir}/build/%{_libdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user