Accepting request 517015 from devel:languages:ocaml

- Use Group: Development/Languages/OCaml

- Update to version 20170223.c9b0ee7
  Only wait for the children started by parmap
  Prevent at_exit handlers registered in the parent from running in the child
  handle EINTR errors in wait_for_pids
  added get_ncores
  Gc.compact needs to be called only inside of spawn_many
  added get_rank so that worker processes can know at which rank they were forked out of the master process

- Wrap specfile conditionals to fix quilt setup

- Remove autodeps for pre openSUSE 12.1 releases

OBS-URL: https://build.opensuse.org/request/show/517015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-parmap?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2017-08-18 13:03:27 +00:00 committed by Git OBS Bridge
commit 884a095eab
4 changed files with 36 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5e1c33a940ff11cab7afd327470d58bd219fd7a7287a4e80782f7169b993c62
size 62320

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c1978b4bc3ed63ce2b15d69019a00289b0934c85bba171f536cf0385c910b3d
size 62764

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de
- Use Group: Development/Languages/OCaml
-------------------------------------------------------------------
Mon Jul 17 20:24:18 UTC 2017 - ohering@suse.de
- Update to version 20170223.c9b0ee7
Only wait for the children started by parmap
Prevent at_exit handlers registered in the parent from running in the child
handle EINTR errors in wait_for_pids
added get_ncores
Gc.compact needs to be called only inside of spawn_many
added get_rank so that worker processes can know at which rank they were forked out of the master process
-------------------------------------------------------------------
Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de
- Wrap specfile conditionals to fix quilt setup
-------------------------------------------------------------------
Mon Jul 17 10:48:58 UTC 2017 - ohering@suse.de
- Remove autodeps for pre openSUSE 12.1 releases
-------------------------------------------------------------------
Wed May 31 07:07:33 UTC 2017 - olaf@aepfle.de

View File

@ -17,12 +17,12 @@
Name: ocaml-parmap
Version: 20160605.10e2437
Version: 20170223.c9b0ee7
Release: 0
%{ocaml_preserve_bytecode}
%{?ocaml_preserve_bytecode}
Summary: Exploit multicore architectures for OCaml programs with minimal modifications
License: LGPL-2.0
Group: Development/Libraries/Other
Group: Development/Languages/OCaml
Url: http://rdicosmo.github.io/parmap/
Source: %{name}-%{version}.tar.xz
BuildRequires: ocaml
@ -34,12 +34,6 @@ BuildRequires: ocamlfind(graphics)
BuildRequires: ocamlfind(unix)
BuildRequires: pkgconfig(x11)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# ocaml autodep start for pkg: ocaml-parmap
# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires
%if 0%{?suse_version} < 1210
Requires: ocaml-runtime
%endif
# ocaml autodep end for pkg: ocaml-parmap
%description
If you want to use your many cores to accelerate an operation
@ -52,7 +46,7 @@ parameter chunksize.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/Other
Group: Development/Languages/OCaml
Requires: %{name} = %{version}
%description devel
@ -89,7 +83,7 @@ Library parmap
Install: true
Modules: Parmap
CSources: bytearray_stubs.c, setcore_stubs.c, config.h
CCOpt: -Wall -O2 -g -I$PWD -Werror -D_GNU_SOURCE
CCOpt: %{optflags} -I$PWD -Werror -D_GNU_SOURCE
Document parmap
Title: API reference for parmap
@ -132,7 +126,7 @@ _EOF_
%{_bindir}/*
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/*
%if %{ocaml_native_compiler}
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs
%endif
%{_libdir}/ocaml/*/*.so
@ -143,7 +137,7 @@ _EOF_
%{oasis_docdir_html}
%dir %{_libdir}/ocaml/*
%{_libdir}/ocaml/*/*.a
%if %{ocaml_native_compiler}
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmx
%{_libdir}/ocaml/*/*.cmxa
%endif