From 3623e1dce426d5e24fb5312cb1080ed438953917996fac621d0de87ca9d550c8 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 23 Jun 2016 22:35:56 +0000 Subject: [PATCH] mode="disabled" OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-parmap?expand=0&rev=13 --- _service | 6 +- ...r_scm:ocaml-parmap-20160605.10e2437.tar.xz | 3 - _service:set_version:ocaml-parmap.spec | 158 ------------------ 3 files changed, 3 insertions(+), 164 deletions(-) delete mode 100644 _service:recompress:tar_scm:ocaml-parmap-20160605.10e2437.tar.xz delete mode 100644 _service:set_version:ocaml-parmap.spec diff --git a/_service b/_service index 767f483..f95aad1 100644 --- a/_service +++ b/_service @@ -1,14 +1,14 @@ - + git://github.com/rdicosmo/parmap.git git %cd.%h master ocaml-parmap - + *.tar xz - + diff --git a/_service:recompress:tar_scm:ocaml-parmap-20160605.10e2437.tar.xz b/_service:recompress:tar_scm:ocaml-parmap-20160605.10e2437.tar.xz deleted file mode 100644 index ad083d1..0000000 --- a/_service:recompress:tar_scm:ocaml-parmap-20160605.10e2437.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:269c8a02b9d99297e5f9cbe196718a6f29a17f1826ab3db9d929eaedcec18456 -size 62428 diff --git a/_service:set_version:ocaml-parmap.spec b/_service:set_version:ocaml-parmap.spec deleted file mode 100644 index b4aeccc..0000000 --- a/_service:set_version:ocaml-parmap.spec +++ /dev/null @@ -1,158 +0,0 @@ -# -# spec file for package ocaml-parmap -# -# Copyright (c) 2016 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: ocaml-parmap -Version: 20160605.10e2437 -%{ocaml_preserve_bytecode} -Release: 0 -License: LGPL-2.0 -Summary: Exploit multicore architectures for OCaml programs with minimal modifications -Url: http://rdicosmo.github.io/parmap/ -Group: Development/Libraries/Other -Source: %{name}-%{version}.tar.xz -BuildRequires: ocaml -BuildRequires: ocaml-oasis -BuildRequires: ocaml-ocamldoc -BuildRequires: ocaml-rpm-macros >= 4.03 -BuildRequires: ocamlfind(bigarray) -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 -which happens to be a map, fold or map/fold (map-reduce), just use -Parmap's parmap, parfold and parmapfold primitives in place of the -standard List.map and friends; you can specify the number of -subprocesses to use with the optional parameter ncores, and the -size of granularity of the parallel computation with the optional -parameter chunksize. - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries/Other -Requires: %{name} = %{version} - -%description devel -The %{name}-devel package contains libraries and signature files for -developing applications that use %{name}. - - -%prep -%setup -q - -%build -echo -n > config.h -if grep -w sched_setaffinity /usr/include/sched.h -then -tee -a config.h <<_EOF_ -#define HAVE_DECL_SCHED_SETAFFINITY 1 -_EOF_ -fi -rm -fv setup.ml myocamlbuild.ml META* _* */_* -# obs service changes every ^Version line ... -sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_ -OASISFormat: 0.4 -Name: parmap -Version: 20160605.10e2437 -Synopsis: library to exploit multicore architectures (parallel programming) -Authors: Marco Danelutto and Roberto Di Cosmo -License: LGPL-2 -LicenseFile: LICENSE -Plugins: META(`oasis version`) -BuildTools: ocamlbuild - -Library parmap - Path: . - Install: true - Modules: Parmap - CSources: bytearray_stubs.c, setcore_stubs.c, config.h - CCOpt: -Wall -O2 -g -I$PWD -Werror -D_GNU_SOURCE - -Document parmap - Title: API reference for parmap - Type: ocamlbuild - BuildTools+: ocamldoc - InstallDir: \$htmldir - Install: true - XOCamlbuildPath: . - XOCamlbuildLibraries: parmap - -Executable "%{name}-mandels" - Install: true - Path: example - MainIs: mandels.ml - CompiledObject: best - BuildDepends: parmap, graphics, unix, bigarray - -_EOF_ -%oasis_setup -%ocaml_oasis_configure --enable-docs -%ocaml_oasis_build -%ocaml_oasis_doc - -%install -%ocaml_oasis_findlib_install -# -mkdir -vp %{buildroot}/etc/ld.so.conf.d/ -tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ -%{_libdir}/ocaml/parmap -_EOF_ -# - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%defattr(-,root,root) -%doc README.md LICENSE -/etc/ld.so.conf.d/*.conf -%{_bindir}/* -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%if %{ocaml_native_compiler} -%{_libdir}/ocaml/*/*.cmxs -%endif -%{_libdir}/ocaml/*/*.so - -%files devel -%defattr(-,root,root,-) -%doc LICENSE -%{oasis_docdir_html} -%dir %{_libdir}/ocaml/* -%{_libdir}/ocaml/*/*.a -%if %{ocaml_native_compiler} -%{_libdir}/ocaml/*/*.cmx -%{_libdir}/ocaml/*/*.cmxa -%endif -%{_libdir}/ocaml/*/*.annot -%{_libdir}/ocaml/*/*.cma -%{_libdir}/ocaml/*/*.cmi -%{_libdir}/ocaml/*/*.cmt -%{_libdir}/ocaml/*/*.cmti -%{_libdir}/ocaml/*/*.mli -%{_libdir}/ocaml/*/META - -%changelog