Revision 58f56f50c3af179c33bb3e55b0b22190e85208a3 authored by Jérémie Courrèges-Anglas on 16 September 2015, 18:44:54 UTC, committed by Roberto Di Cosmo on 17 September 2015, 10:39:17 UTC
Following configure.ac, two things in Makefile.in prevent me from using
it verbatim.  First, our cp(1) does not support the -a flag.  I'd say
that it could easily be replaced by -p.  Second issue, parmap.a
shouldn't be built on architectures that don't have native code support
(ie. where ocamlopt is present and usable).

There's another glitch but I'm afraid I can't fix it given the existing
ocaml.m4: .cmxs plugins aren't supported on all native archs (for
example OpenBSD/sparc).

Here are two patches for the two issues.

Cheers,

>From 54bd6c21e9f56f58be29c8ef923e3a0ca2c32f15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= <jca@wxcvbn.org>
Date: Wed, 16 Sep 2015 20:26:05 +0200
Subject: [PATCH 1/2] Portability: use cp -p instead of -a
1 parent a276c4a
History
File Mode Size
example
m4
tests
.depend -rw-r--r-- 159 bytes
.gitignore -rw-r--r-- 58 bytes
AUTHORS -rw-r--r-- 716 bytes
ChangeLog -rw-r--r-- 568 bytes
Changelog -rw-r--r-- 320 bytes
INSTALL -rw-r--r-- 194 bytes
LICENSE -rw-r--r-- 25.8 KB
META -rw-r--r-- 219 bytes
Makefile.in -rw-r--r-- 2.9 KB
Makefile_3.11.in -rw-r--r-- 2.3 KB
README -rw-r--r-- 6.3 KB
README.md -rw-r--r-- 6.2 KB
_oasis -rw-r--r-- 567 bytes
_tags -rw-r--r-- 216 bytes
bytearray.ml -rw-r--r-- 3.8 KB
bytearray.mli -rw-r--r-- 1.6 KB
bytearray_stubs.c -rw-r--r-- 2.1 KB
config.h.in -rw-r--r-- 1.8 KB
configure -rwxr-xr-x 196.7 KB
configure.ac -rw-r--r-- 945 bytes
libparmap_stubs.clib -rw-r--r-- 34 bytes
myocamlbuild.ml -rw-r--r-- 645 bytes
oasis_test.sh -rwxr-xr-x 106 bytes
parmap.ml -rw-r--r-- 23.3 KB
parmap.mldylib -rw-r--r-- 30 bytes
parmap.mli -rw-r--r-- 10.2 KB
parmap.mllib -rw-r--r-- 30 bytes
parmap.odocl -rw-r--r-- 7 bytes
parmap_utils.ml -rw-r--r-- 1.3 KB
parmap_utils.mli -rw-r--r-- 270 bytes
setcore.mli -rw-r--r-- 207 bytes
setcore_stubs.c -rw-r--r-- 1.7 KB

README.md

back to top