head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2026.10.23.23.38.56;	author alnsn;	state Exp;
branches;
next	1.1;
commitid	BkJ0WB4nVTh6UE0H;

1.1
date	2026.10.23.23.17.50;	author alnsn;	state Exp;
branches;
next	;
commitid	XwOIpifWejTtME0H;


desc
@@


1.2
log
@ocaml-parmap depends on ocaml-dune-configurator.
@
text
@# $NetBSD: Makefile,v 1.1 2026/10/23 23:17:50 alnsn Exp $

DISTNAME=	parmap-1.2.5
PKGNAME=	ocaml-${DISTNAME}
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=rdicosmo/}
GITHUB_PROJECT=	parmap
GITHUB_TAG=	${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://rdicosmo.github.io/parmap/
COMMENT=	Minimalistic library to exploit multicore architecture for OCaml
LICENSE=	gnu-lgpl-v2

USE_TOOLS+=		gmake
OCAML_USE_DUNE=		yes
DUNE_BUILD_PACKAGES=	parmap
OPAM_INSTALL_FILES=	parmap

TEST_TARGET=		test

.include "../../lang/ocaml/ocaml.mk"
.include "../../devel/ocaml-dune-configurator/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.1
log
@Add devel/ocaml-parmap version 1.2.5.

Parmap is a minimalistic library allowing to exploit multicore architecture
for OCaml programs with minimal modifications: 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, and specify the number of
subprocesses to use by the optional parameter ~ncores.
@
text
@d1 1
a1 1
# $NetBSD$
d23 1
@

