forked from pool/julia
osc copypac from project:home:Dmitry_R:julia package:julia revision:28
OBS-URL: https://build.opensuse.org/package/show/science/julia?expand=0&rev=1
This commit is contained in:
commit
c8597c6c62
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
Rmath.tar.gz
Normal file
3
Rmath.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c6d515c04d0b13e578d6f6acf32361195dd2a5047691e5e0ca2fc0178137e286
|
||||
size 168642
|
9
_constraints
Normal file
9
_constraints
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<constraints>
|
||||
<sandbox>kvm</sandbox>
|
||||
<hardware>
|
||||
<memory>
|
||||
<size unit="M">2000</size>
|
||||
</memory>
|
||||
</hardware>
|
||||
</constraints>
|
3
julia-0.3.0-rc2.tar.gz
Normal file
3
julia-0.3.0-rc2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:41e85f5982bc0211bb1594b817161dc31e3bb031977d0825f3b71329dfaa8afc
|
||||
size 2265027
|
14
julia.changes
Normal file
14
julia.changes
Normal file
@ -0,0 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 6 06:37:16 UTC 2014 - dmitry_r@opensuse.org
|
||||
|
||||
- Update to version 0.3.0-rc2
|
||||
- spec file cleanup
|
||||
- Use system openlibm, openspecfun, utf8proc
|
||||
- Use FFTW3 with multithreading support
|
||||
- Move build parameters to juliabuildopts file
|
||||
- Move code examples to separate package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 16 00:00:00 UTC 2014 - ronisbr@gmail.com
|
||||
|
||||
- Julia 0.3.0-rc1 (0.2.0+git4218.gc5acc8d)
|
188
julia.spec
Normal file
188
julia.spec
Normal file
@ -0,0 +1,188 @@
|
||||
#
|
||||
# spec file for package julia
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: julia
|
||||
Version: 0.3.0~rc2
|
||||
%define src_ver 0.3.0-rc2
|
||||
Release: 0
|
||||
Summary: High-level, high-performance dynamic programming language
|
||||
License: MIT and GPL-2.0+
|
||||
Group: Development/Languages/Other
|
||||
Url: http://julialang.org/
|
||||
Source0: https://github.com/JuliaLang/julia/archive/v%{src_ver}.tar.gz#/julia-%{src_ver}.tar.gz
|
||||
Source1: juliabuildopts
|
||||
# external sources
|
||||
Source10: libuv.tar.gz
|
||||
Source11: Rmath.tar.gz
|
||||
BuildRequires: arpack-ng-devel
|
||||
BuildRequires: blas-devel
|
||||
BuildRequires: dSFMT-devel
|
||||
BuildRequires: double-conversion-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: fftw3-threads-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-fortran
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: lapack-devel
|
||||
BuildRequires: libunwind-devel
|
||||
BuildRequires: llvm-clang >= 3.3
|
||||
BuildRequires: llvm-devel
|
||||
BuildRequires: m4
|
||||
BuildRequires: mpfr-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: openlibm-devel
|
||||
BuildRequires: openspecfun-devel
|
||||
BuildRequires: patchelf
|
||||
BuildRequires: pcre-devel >= 8.31
|
||||
BuildRequires: perl
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: suitesparse-devel
|
||||
BuildRequires: utf8proc-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: ncurses
|
||||
Requires: readline
|
||||
# Julia uses dlopen
|
||||
Requires: libblas3
|
||||
Requires: libfftw3_threads3
|
||||
Requires: liblapack3
|
||||
Recommends: git
|
||||
# Julia uses unversioned .so files
|
||||
# https://github.com/JuliaLang/julia/issues/6742
|
||||
Recommends: gmp-devel
|
||||
Recommends: mpfr-devel
|
||||
Recommends: openlibm-devel
|
||||
Recommends: openspecfun-devel
|
||||
Recommends: pcre-devel
|
||||
Recommends: suitesparse-devel
|
||||
|
||||
%description
|
||||
Julia is a high-level, high-performance dynamic programming language for
|
||||
technical computing, with syntax that is familiar to users of other technical
|
||||
computing environments. It provides a sophisticated compiler, distributed
|
||||
parallel execution, numerical accuracy, and an extensive mathematical function
|
||||
library. The library, largely written in Julia itself, also integrates mature,
|
||||
best-of-breed C and Fortran libraries for linear algebra, random number
|
||||
generation, signal processing, and string processing.
|
||||
|
||||
%package devel
|
||||
Summary: Julia development, debugging and testing files
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
Contains library symbolic links and header files for developing applications
|
||||
linking to the Julia library, in particular embedding it, as well as tests and a
|
||||
debugging version of Julia. This package is normally not needed when programming
|
||||
in the Julia language, but rather for embedding Julia into external programs or
|
||||
debugging Julia itself.
|
||||
|
||||
%package doc
|
||||
Summary: Julia documentation and code examples
|
||||
Group: Documentation/Other
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Contains the Julia manual, the reference documentation of the standard library.
|
||||
|
||||
%package examples
|
||||
Summary: Julia code examples
|
||||
Group: Documentation/Other
|
||||
BuildArch: noarch
|
||||
|
||||
%description examples
|
||||
Contains the Julia code examples.
|
||||
|
||||
%{expand:%global juliabuildopts %(cat %{SOURCE1})}
|
||||
|
||||
%prep
|
||||
%setup -q -n julia-%{src_ver}
|
||||
|
||||
# remove .gitignore
|
||||
find . -name ".git*" -exec rm {} \;
|
||||
|
||||
cd deps
|
||||
tar xzf %{SOURCE10}
|
||||
tar xzf %{SOURCE11}
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} %{juliabuildopts}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} \
|
||||
prefix=%{_prefix} \
|
||||
libdir=%{_libdir} \
|
||||
sysconfdir=%{_sysconfdir} \
|
||||
%{juliabuildopts}
|
||||
|
||||
# GZip man page.
|
||||
gzip %{buildroot}/%{_mandir}/man1/julia.1
|
||||
|
||||
# Copy the man page for every executable.
|
||||
cd %{buildroot}/%{_mandir}/man1/
|
||||
ln -sf julia.1.gz julia-debug.1.gz
|
||||
|
||||
# Symbolic link of the library libjulia.so for the julia-devel package.
|
||||
cd %{buildroot}/%{_libdir}
|
||||
ln -s julia/libjulia.so libjulia.so
|
||||
|
||||
%check
|
||||
# cd test && make all
|
||||
|
||||
%post devel -p /sbin/ldconfig
|
||||
|
||||
%postun devel -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CONTRIBUTING.md LICENSE.md NEWS.md README.md
|
||||
%{_bindir}/julia
|
||||
%{_libdir}/julia/
|
||||
%dir %{_datadir}/julia
|
||||
%{_datadir}/julia/base
|
||||
%{_datadir}/julia/helpdb.jl
|
||||
%{_mandir}/man1/julia.1.*
|
||||
%dir %{_sysconfdir}/julia/
|
||||
%config(noreplace) %{_sysconfdir}/julia/juliarc.jl
|
||||
# Exclude development files.
|
||||
%exclude %{_libdir}/julia/libjulia-debug.so
|
||||
%exclude %{_libdir}/julia/libuv.a
|
||||
%exclude %{_datadir}/julia/base/build.h
|
||||
%exclude %{_datadir}/julia/base/Makefile
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/julia-debug
|
||||
%{_datadir}/julia/test/
|
||||
%{_includedir}/julia/
|
||||
%{_libdir}/libjulia.so
|
||||
%{_libdir}/julia/libjulia-debug.so
|
||||
%{_mandir}/man1/julia-debug.1.*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%docdir %{_datadir}/julia/doc
|
||||
%{_datadir}/julia/doc
|
||||
%exclude %{_datadir}/julia/doc/Makefile
|
||||
%exclude %{_datadir}/julia/doc/README.md
|
||||
|
||||
%files examples
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/julia/examples
|
||||
|
||||
%changelog
|
32
juliabuildopts
Normal file
32
juliabuildopts
Normal file
@ -0,0 +1,32 @@
|
||||
JULIA_CPU_TARGET=core2 \
|
||||
USE_SYSTEM_LLVM=1 \
|
||||
USE_SYSTEM_LIBUNWIND=1 \
|
||||
USE_SYSTEM_READLINE=1 \
|
||||
USE_SYSTEM_PCRE=1 \
|
||||
USE_SYSTEM_LIBM=1 \
|
||||
USE_SYSTEM_OPENLIBM=1 \
|
||||
USE_SYSTEM_OPENSPECFUN=1 \
|
||||
USE_SYSTEM_DSFMT=1 \
|
||||
USE_SYSTEM_BLAS=1 \
|
||||
LIBBLASNAME=libblas.so.3 \
|
||||
USE_SYSTEM_LAPACK=1 \
|
||||
LIBBLASNAME=liblapack.so.3 \
|
||||
USE_SYSTEM_FFTW=1 \
|
||||
LIBFFTWNAME=libfftw3_threads.so.3 \
|
||||
LIBFFTWFNAME=libfftw3f_threads.so.3 \
|
||||
USE_SYSTEM_GMP=1 \
|
||||
USE_SYSTEM_MPFR=1 \
|
||||
USE_SYSTEM_ARPACK=1 \
|
||||
USE_SYSTEM_SUITESPARSE=1 \
|
||||
USE_SYSTEM_ZLIB=1 \
|
||||
USE_SYSTEM_GRISU=1 \
|
||||
USE_SYSTEM_RMATH=0 \
|
||||
USE_SYSTEM_LIBUV=0 \
|
||||
USE_SYSTEM_UTF8PROC=1 \
|
||||
USE_MKL=0 \
|
||||
USE_BLAS64=0 \
|
||||
USE_LLVM_SHLIB=0 \
|
||||
LLVM_LLC=llc \
|
||||
LLVM_CONFIG=/usr/bin/llvm-config \
|
||||
VERBOSE=1 \
|
||||
USECLANG=1
|
3
libuv.tar.gz
Normal file
3
libuv.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:43133f14ecefa34a8817098d76b3e71e5ee21540d973ecc6a4020283c66988a6
|
||||
size 730057
|
Loading…
Reference in New Issue
Block a user