- Update to version 20200123.d9bcb31. (1.1)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-parmap?expand=0&rev=44
This commit is contained in:
Olaf Hering 2020-01-28 19:45:55 +00:00 committed by Git OBS Bridge
parent 924686dd4e
commit 1e998f87ab
6 changed files with 26 additions and 6 deletions

View File

@ -1,9 +1,9 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">ocaml-parmap</param>
<param name="revision">dune-wip</param>
<param name="revision">d9bcb31921e68eba88e798a68fc366c88c688c36</param>
<param name="scm">git</param>
<param name="url">https://github.com/olafhering/ocaml-parmap.git</param>
<param name="url">https://github.com/rdicosmo/parmap.git</param>
<param name="versionformat">%cd.%h</param>
</service>
<service name="recompress" mode="disabled">

View File

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

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 28 18:19:20 UTC 2020 - ohering@suse.de
- Update to version 20200123.d9bcb31. (1.1)
-------------------------------------------------------------------
Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de

View File

@ -17,7 +17,7 @@
Name: ocaml-parmap
Version: 20191021.1b17a5d
Version: 20200123.d9bcb31
Release: 0
%{?ocaml_preserve_bytecode}
Summary: Multicore architecture exploitation for OCaml programs with minimal modifications

15
x.patch Normal file
View File

@ -0,0 +1,15 @@
--- a/tests/floatscale.ml
+++ b/tests/floatscale.ml
@@ -30,7 +30,11 @@ let env_string = env_param (fun x -> x)
let nIters = env_int "nIters" 1
-let nData = env_int "nData" 10000000
+let nData_default =
+ let default = 10000000 in
+ min (Sys.max_array_length / 2) default
+
+let nData = env_int "nData" nData_default
let nProcs = env_int "nProcs" 8