Revision 8fd832a4c6e6369cc838667899ddb2c3a200a4ef authored by Olaf Hering on 25 October 2019, 08:10:07 UTC, committed by Olaf Hering on 25 October 2019, 08:10:07 UTC
According to sched_setaffinity(2) _GNU_SOURCE must be set prior inclusion of
sched.h. Enable the existing define.

Move two other includes down so that they also see _GNU_SOURCE. Without this
reordering it does not take affect and sched.h can not be used properly.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
1 parent 66b3a2c
Raw File
parmap.opam
opam-version: "2.0"
maintainer: "Roberto Di Cosmo <roberto@dicosmo.org>"
authors: "Roberto Di Cosmo <roberto@dicosmo.org>"
homepage: "https://github.com/rdicosmo/parmap"
dev-repo: "git+https://github.com/rdicosmo/parmap.git"
bug-reports: "https://github.com/rdicosmo/parmap/issues"
build: [
  ["aclocal" "-I" "m4"]
  ["autoconf"]
  ["autoheader"]
  ["./configure"]
  [make "DESTDIR=%{prefix}%" "OCAMLLIBDIR=lib" ]
]
install: [
  [make "install" "DESTDIR=%{prefix}%" "OCAMLLIBDIR=lib"]
]
remove: [
  ["aclocal" "-I" "m4"]
  ["autoconf"]
  ["autoheader"]
  ["./configure"]
  [make "uninstall" "DESTDIR=%{prefix}%" "OCAMLLIBDIR=lib"]
]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "conf-autoconf"
  "conf-aclocal"
]
synopsis: "Minimalistic library allowing to exploit multicore architecture"
description: """
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."""
#url {
#  src: "https://github.com/rdicosmo/parmap/archive/1.0-rc10.tar.gz"
#  checksum: "md5=399676835637c4af5835223d721c7d0f"
#}
back to top