commit c8597c6c62db5914cd7a8f1e1fc0b773fe033b462dd411e03d7dbb978812b684 Author: Dmitry Roshchin Date: Wed Aug 6 07:24:22 2014 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Rmath.tar.gz b/Rmath.tar.gz new file mode 100644 index 0000000..06c4caf --- /dev/null +++ b/Rmath.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6d515c04d0b13e578d6f6acf32361195dd2a5047691e5e0ca2fc0178137e286 +size 168642 diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..c1fca34 --- /dev/null +++ b/_constraints @@ -0,0 +1,9 @@ + + + kvm + + + 2000 + + + diff --git a/julia-0.3.0-rc2.tar.gz b/julia-0.3.0-rc2.tar.gz new file mode 100644 index 0000000..28fb1b8 --- /dev/null +++ b/julia-0.3.0-rc2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41e85f5982bc0211bb1594b817161dc31e3bb031977d0825f3b71329dfaa8afc +size 2265027 diff --git a/julia.changes b/julia.changes new file mode 100644 index 0000000..c31ed10 --- /dev/null +++ b/julia.changes @@ -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) diff --git a/julia.spec b/julia.spec new file mode 100644 index 0000000..b509228 --- /dev/null +++ b/julia.spec @@ -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 diff --git a/juliabuildopts b/juliabuildopts new file mode 100644 index 0000000..4e0504b --- /dev/null +++ b/juliabuildopts @@ -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 \ No newline at end of file diff --git a/libuv.tar.gz b/libuv.tar.gz new file mode 100644 index 0000000..98b9ce6 --- /dev/null +++ b/libuv.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43133f14ecefa34a8817098d76b3e71e5ee21540d973ecc6a4020283c66988a6 +size 730057