Accepting request 888344 from devel:languages:ocaml
- Update to version 20210423.2800b78 avoid corruption on 32bit architectures add support for returning results in the right order OBS-URL: https://build.opensuse.org/request/show/888344 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-parmap?expand=0&rev=9
This commit is contained in:
commit
1368ee8df3
3
_service
3
_service
@ -1,8 +1,9 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="tar_scm" mode="disabled">
|
<service name="tar_scm" mode="disabled">
|
||||||
<param name="filename">ocaml-parmap</param>
|
<param name="filename">ocaml-parmap</param>
|
||||||
<param name="revision">526acc4d2dd0f8949dfd53fa1ff015307c970899</param>
|
<param name="revision">2800b78e9e10ffffafc3cbb0ffaed646ab71cc6a</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
|
<param name="submodules">disable</param>
|
||||||
<param name="url">https://github.com/rdicosmo/parmap.git</param>
|
<param name="url">https://github.com/rdicosmo/parmap.git</param>
|
||||||
<param name="versionformat">%cd.%h</param>
|
<param name="versionformat">%cd.%h</param>
|
||||||
</service>
|
</service>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e73a703e0293484594254ac004f78aee618dbbd13be71f6e5e8dc223c7fe2110
|
|
||||||
size 31236
|
|
3
ocaml-parmap-20210423.2800b78.tar.xz
Normal file
3
ocaml-parmap-20210423.2800b78.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:53417d9239992b4f2d6ee3f7654eb696de9f71af8e1be82963fc39e935d26e75
|
||||||
|
size 31968
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 25 22:22:22 UTC 2021 - ohering@suse.de
|
||||||
|
|
||||||
|
- Update to version 20210423.2800b78
|
||||||
|
avoid corruption on 32bit architectures
|
||||||
|
add support for returning results in the right order
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 20 20:20:20 UTC 2020 - ohering@suse.de
|
Thu Feb 20 20:20:20 UTC 2020 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ocaml-parmap
|
# spec file for package ocaml-parmap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,17 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ocaml-parmap
|
Name: ocaml-parmap
|
||||||
Version: 20200124.526acc4
|
Version: 20210423.2800b78
|
||||||
Release: 0
|
Release: 0
|
||||||
%{?ocaml_preserve_bytecode}
|
%{?ocaml_preserve_bytecode}
|
||||||
Summary: Multicore architecture exploitation for OCaml programs with minimal modifications
|
Summary: Multicore architecture exploitation for OCaml programs with minimal modifications
|
||||||
License: LGPL-2.0-only
|
License: LGPL-2.0-only
|
||||||
Group: Development/Languages/OCaml
|
Group: Development/Languages/OCaml
|
||||||
URL: http://rdicosmo.github.io/parmap/
|
URL: https://opam.ocaml.org/packages/parmap
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
BuildRequires: ocaml-dune
|
BuildRequires: ocaml-dune
|
||||||
BuildRequires: ocaml-rpm-macros >= 20200220
|
BuildRequires: ocaml-rpm-macros >= 20210409
|
||||||
BuildRequires: ocamlfind(bigarray)
|
BuildRequires: ocamlfind(bigarray)
|
||||||
BuildRequires: ocamlfind(dune.configurator)
|
BuildRequires: ocamlfind(dune.configurator)
|
||||||
BuildRequires: ocamlfind(graphics)
|
BuildRequires: ocamlfind(graphics)
|
||||||
@ -57,6 +57,10 @@ developing applications that use %{name}.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
sed -i~ '
|
||||||
|
s@10000000@1000000@
|
||||||
|
' tests/simplescale.ml
|
||||||
|
diff -u "$_"~ "$_" && exit 1
|
||||||
dune_release_pkgs='parmap'
|
dune_release_pkgs='parmap'
|
||||||
%ocaml_dune_setup
|
%ocaml_dune_setup
|
||||||
%ocaml_dune_build
|
%ocaml_dune_build
|
||||||
@ -66,11 +70,7 @@ dune_release_pkgs='parmap'
|
|||||||
%ocaml_create_file_list
|
%ocaml_create_file_list
|
||||||
|
|
||||||
%check
|
%check
|
||||||
test -x "$(type -P ocamlc.opt)" || exit 0
|
|
||||||
OCAML_DUNE_RUNTEST_ARGS="-j 1"
|
OCAML_DUNE_RUNTEST_ARGS="-j 1"
|
||||||
%if "%{_lib}" == "lib"
|
|
||||||
dune_test_tolerate_fail='dune_test_tolerate_fail Array.make'
|
|
||||||
%endif
|
|
||||||
export nData=$((1000 * 10))
|
export nData=$((1000 * 10))
|
||||||
export nProcs=2
|
export nProcs=2
|
||||||
%ocaml_dune_test
|
%ocaml_dune_test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user