Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37044268
en ru br
ALT Linux repositórios
S:1.2.4-alt1

Group :: Desenvolvimento/ML
RPM: ocaml-parmap

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# SPDX-License-Identifier: GPL-2.0-only
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1

Name: ocaml-parmap
Version: 1.2.4
Release: alt1
Summary: Small OCaml library allowing to exploit multicore architectures
Group: Development/ML
# Parmap is distributed under the LGPL licence version 2, with the usual special linking exception to section 6 for OCaml programs.
License: LGPL-2.0 with OCaml-LGPL-linking-exception
Url: http://rdicosmo.github.io/parmap/
Vcs: https://github.com/rdicosmo/parmap

Source0: %name-%version.tar

BuildRequires(pre): rpm-build-ocaml
BuildRequires: dune
BuildRequires: ocaml
BuildRequires: ocaml-configurator
BuildRequires: ocaml-csexp-devel
BuildRequires: ocaml-dune-configurator-devel
BuildRequires: ocaml-findlib
BuildRequires: ocaml-ocamlbuild
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-result-devel

%description
Parmap is a minimalistic library allowing to exploit multicore
architectures for OCaml programs with minimal modifications.

%package devel
Summary: Development files for %name
Group: Development/ML
Requires: %name = %EVR

%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.

%prep
%setup

%build
%dune_build -p parmap

%install
%dune_install

%check
# `dune runtests' actually are very CPU intensive benchmarks ('scale' tests),
# and we don't need to run benchmarks for integration testing. Run single and
# fastest test just to be sure parmap is working at all.
dune exec -p parmap tests/simplescalefold.exe

%files
%_docdir/parmap
%_libdir/ocaml/parmap/*.cmi
%_libdir/ocaml/parmap/*.cma
%_libdir/ocaml/parmap/*.cmxs
%_libdir/ocaml/stublibs/dllparmap_stubs.so*

%files devel
%_libdir/ocaml/parmap/META
%_libdir/ocaml/parmap/opam
%_libdir/ocaml/parmap/dune-package
%_libdir/ocaml/parmap/*.a
%_libdir/ocaml/parmap/*.cmxa
%_libdir/ocaml/parmap/*.cmti
%_libdir/ocaml/parmap/*.cmt
%_libdir/ocaml/parmap/*.cmx
%_libdir/ocaml/parmap/*.mli
%_libdir/ocaml/parmap/*.ml

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009