|
@@ -1,5 +1,5 @@
|
|
%define pkg_name julia
|
|
%define pkg_name julia
|
|
-%define pkg_version 0.6.4
|
|
+%define pkg_version 1.0.0
|
|
%define pkg_release 1%{?_dist_release}
|
|
%define pkg_release 1%{?_dist_release}
|
|
|
|
|
|
Summary: High-level, high-performance dynamic programming language for numerical computing
|
|
Summary: High-level, high-performance dynamic programming language for numerical computing
|
|
@@ -7,66 +7,69 @@ Name: %{pkg_name}
|
|
Version: %{pkg_version}
|
|
Version: %{pkg_version}
|
|
Release: %{pkg_release}
|
|
Release: %{pkg_release}
|
|
|
|
|
|
-License: MIT and BSD
|
|
+License: MIT, BSD and GPLv3
|
|
-# julia: MIT
|
|
+# julia, utf8proc, libwhich: MIT
|
|
-# openblas, arpack and llvm: BSD
|
|
+# libunwind, libuv, openblas, llvm: BSD
|
|
|
|
+# patchelf, mpfr: GPLv3
|
|
Group: Applications/Edutainment
|
|
Group: Applications/Edutainment
|
|
URL: https://julialang.org/
|
|
URL: https://julialang.org/
|
|
|
|
|
|
Source0: https://github.com/JuliaLang/julia/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
Source0: https://github.com/JuliaLang/julia/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
Source11: libunwind-1.1-julia2.tar.gz
|
|
Source11: libunwind-1.1-julia2.tar.gz
|
|
-Source12: libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d.tar.gz
|
|
+Source12: libuv-ed3700c849289ed01fe04273a7bf865340b2bd7e.tar.gz
|
|
Source13: patchelf-0.9.tar.gz
|
|
Source13: patchelf-0.9.tar.gz
|
|
-Source14: utf8proc-d688ac122660e465dc65c8eb7b1c2444fcd52829.tar.gz
|
|
+Source14: utf8proc-97ef668b312b96382714dbb8eaac4affce0816e6.tar.gz
|
|
-Source15: llvm-3.9.1.src.tar.xz
|
|
+Source15: llvm-6.0.0.src.tar.xz
|
|
-Source16: arpack-ng-3.3.0.tar.gz
|
|
+Source16: openblas-e8a68ef261a33568b0f0cf53e0e2287e9f12e69e.tar.gz
|
|
-# Source17: openblas-5dde4e65d321076582a2fafe16949d2160551e81.tar.gz
|
|
+Source17: libwhich-81e9723c0273d78493dc8c8ed570f68d9ce7e89e.tar.gz
|
|
-Source17: openblas-939452ea9dcb57abdcc3f1278c6db668a4690465.tar.gz
|
|
+Source18: mpfr-4.0.1.tar.bz2
|
|
|
|
|
|
-# Patches from Fedora srpm
|
|
|
|
-Patch0: julia_unwind_version.patch
|
|
|
|
|
|
|
|
-# https://github.com/JuliaLang/julia/pull/22603
|
|
+# # Patches from Fedora srpm
|
|
-# Remove ieee754_rem_pio2 in favor of a rem_pio2_kernel written in Julia.
|
|
+# Patch0: julia_unwind_version.patch
|
|
-Patch1: julia-0.6.3-issue22603.patch
|
|
|
|
|
|
|
|
-# not make debug
|
|
+# # https://github.com/JuliaLang/julia/pull/22603
|
|
-Patch11: julia-0.6.3-Makefile_release.patch
|
|
+# # Remove ieee754_rem_pio2 in favor of a rem_pio2_kernel written in Julia.
|
|
|
|
+# Patch1: julia-0.6.3-issue22603.patch
|
|
|
|
|
|
-## Patches for make test
|
|
+# # # not make debug
|
|
-# Avoid test error
|
|
+Patch11: julia-Makefile_release.patch
|
|
-Patch21: julia-0.6.3-skip_libgit2_test.patch
|
|
|
|
|
|
|
|
-# https://github.com/JuliaLang/julia/pull/23124
|
|
+# ## Patches for make test
|
|
-# Bump tolerance a bit in stressful test of eigs on matrix
|
|
+# # Avoid test error
|
|
-# with many repeated eigenvalues.
|
|
+# Patch21: julia-0.6.3-skip_libgit2_test.patch
|
|
-Patch22: julia-0.6.3-issue23124.patch
|
|
+Patch21: julia-skip-LibGit2-libgit2.patch
|
|
|
|
|
|
|
|
+# # https://github.com/JuliaLang/julia/pull/23124
|
|
|
|
+# # Bump tolerance a bit in stressful test of eigs on matrix
|
|
|
|
+# # with many repeated eigenvalues.
|
|
|
|
+# Patch22: julia-0.6.3-issue23124.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-gfortran
|
|
BuildRequires: gcc-gfortran
|
|
-BuildRequires: gmp-devel mpfr-devel
|
|
+BuildRequires: gmp-devel
|
|
BuildRequires: openspecfun-devel
|
|
BuildRequires: openspecfun-devel
|
|
BuildRequires: openlibm-devel
|
|
BuildRequires: openlibm-devel
|
|
BuildRequires: suitesparse-devel
|
|
BuildRequires: suitesparse-devel
|
|
BuildRequires: dSFMT-devel
|
|
BuildRequires: dSFMT-devel
|
|
-BuildRequires: fftw3-devel
|
|
|
|
BuildRequires: pcre2-devel
|
|
BuildRequires: pcre2-devel
|
|
BuildRequires: curl-devel
|
|
BuildRequires: curl-devel
|
|
BuildRequires: libssh2-devel
|
|
BuildRequires: libssh2-devel
|
|
BuildRequires: libgit2-devel
|
|
BuildRequires: libgit2-devel
|
|
BuildRequires: mbedtls-devel
|
|
BuildRequires: mbedtls-devel
|
|
|
|
+BuildRequires: libatomic
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
|
Requires: openlibm
|
|
Requires: openlibm
|
|
Requires: suitesparse
|
|
Requires: suitesparse
|
|
Requires: dSFMT
|
|
Requires: dSFMT
|
|
-Requires: fftw3
|
|
|
|
Requires: pcre2
|
|
Requires: pcre2
|
|
-Requires: libssh2 libgit2 mbedtls
|
|
+Requires: libssh2 mbedtls
|
|
|
|
+Requires: libgit2
|
|
|
|
+Requires: libatomic
|
|
|
|
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -99,12 +102,12 @@ highlights or read the introduction in the online manual.
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
-%patch0 -p1 -b .unwind
|
|
+# %patch0 -p1 -b .unwind
|
|
-%patch1 -p1 -b.ieee754_rem_pio2
|
|
+# %patch1 -p1 -b.ieee754_rem_pio2
|
|
|
|
|
|
%patch11 -b .release
|
|
%patch11 -b .release
|
|
%patch21 -b .skip_test
|
|
%patch21 -b .skip_test
|
|
-%patch22 -p1 -b .tolerance
|
|
+# %patch22 -p1 -b .tolerance
|
|
|
|
|
|
cat > Make.user <<EOF
|
|
cat > Make.user <<EOF
|
|
# Link to the LLVM shared library
|
|
# Link to the LLVM shared library
|
|
@@ -121,14 +124,12 @@ USE_SYSTEM_OPENSPECFUN=1
|
|
|
|
|
|
USE_SYSTEM_PCRE=1
|
|
USE_SYSTEM_PCRE=1
|
|
USE_SYSTEM_DSFMT=1
|
|
USE_SYSTEM_DSFMT=1
|
|
-USE_SYSTEM_FFTW=1
|
|
|
|
USE_SYSTEM_GMP=1
|
|
USE_SYSTEM_GMP=1
|
|
-USE_SYSTEM_MPFR=1
|
|
+USE_SYSTEM_MPFR=0
|
|
USE_SYSTEM_SUITESPARSE=1
|
|
USE_SYSTEM_SUITESPARSE=1
|
|
|
|
|
|
USE_SYSTEM_BLAS=0
|
|
USE_SYSTEM_BLAS=0
|
|
USE_SYSTEM_LAPACK=0
|
|
USE_SYSTEM_LAPACK=0
|
|
-USE_SYSTEM_ARPACK=0
|
|
|
|
|
|
|
|
USE_SYSTEM_LIBSSH2=1
|
|
USE_SYSTEM_LIBSSH2=1
|
|
USE_SYSTEM_CURL=1
|
|
USE_SYSTEM_CURL=1
|
|
@@ -139,7 +140,7 @@ EOF
|
|
%{__mkdir_p} deps/srccache
|
|
%{__mkdir_p} deps/srccache
|
|
%{__cp} \
|
|
%{__cp} \
|
|
%{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} \
|
|
%{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} \
|
|
- %{SOURCE16} %{SOURCE17} \
|
|
+ %{SOURCE16} %{SOURCE17} %{SOURCE18} \
|
|
deps/srccache
|
|
deps/srccache
|
|
|
|
|
|
# About build, build_libdir and build_bindir
|
|
# About build, build_libdir and build_bindir
|
|
@@ -161,7 +162,7 @@ EOF
|
|
%global commonopts MARCH=%{march} %{installopts}
|
|
%global commonopts MARCH=%{march} %{installopts}
|
|
|
|
|
|
%build
|
|
%build
|
|
-%{__make} %{?_smp_mflags} %{commonopts} release
|
|
+%{__make} %{?_smp_mflags} %{commonopts}
|
|
|
|
|
|
# to avoid making documents
|
|
# to avoid making documents
|
|
%{__mkdir_p} doc/_build/html/en
|
|
%{__mkdir_p} doc/_build/html/en
|
|
@@ -218,6 +219,12 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Aug 17 2018 Toshiaki Ara <ara_t@384.jp> 1.0.0-1
|
|
|
|
+- update to 1.0.0
|
|
|
|
+- add/update sources
|
|
|
|
+- drop some Patches
|
|
|
|
+- add BuildRequires: and Requires: libatomic
|
|
|
|
+
|
|
* Sat Jul 14 2018 Toshiaki Ara <ara_t@384.jp> 0.6.4-1
|
|
* Sat Jul 14 2018 Toshiaki Ara <ara_t@384.jp> 0.6.4-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- update SOURCE17 (openblas)
|
|
- update SOURCE17 (openblas)
|