From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id E02DD7FADE for ; Wed, 19 Nov 2014 22:20:57 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of kennethadammiller@gmail.com) identity=pra; client-ip=209.85.218.42; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of kennethadammiller@gmail.com designates 209.85.218.42 as permitted sender) identity=mailfrom; client-ip=209.85.218.42; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-oi0-f42.google.com) identity=helo; client-ip=209.85.218.42; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="postmaster@mail-oi0-f42.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4BAJgIbVTRVdoqm2dsb2JhbABag2NZBIMCyR2HSQKBAgcWAQEBAQERAQEBAQEGCwsJFC6EAgEBAQMBEhEdARseAwELBgUEAwQNKgICIgERAQUBHAYTCBqICQEDCQkNsUE9MYs7gXKDEYowChknDWiFZwEBAQEGAQEBAQEBFgEFDpB2C4J3gVQFjBuLGocslQAYKYMXgjwfMIJLAQEB X-IPAS-Result: Ap4BAJgIbVTRVdoqm2dsb2JhbABag2NZBIMCyR2HSQKBAgcWAQEBAQERAQEBAQEGCwsJFC6EAgEBAQMBEhEdARseAwELBgUEAwQNKgICIgERAQUBHAYTCBqICQEDCQkNsUE9MYs7gXKDEYowChknDWiFZwEBAQEGAQEBAQEBFgEFDpB2C4J3gVQFjBuLGocslQAYKYMXgjwfMIJLAQEB X-IronPort-AV: E=Sophos;i="5.07,419,1413237600"; d="scan'208";a="108292298" Received: from mail-oi0-f42.google.com ([209.85.218.42]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 19 Nov 2014 22:20:57 +0100 Received: by mail-oi0-f42.google.com with SMTP id v63so1086704oia.15 for ; Wed, 19 Nov 2014 13:20:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Fk0vE4+KTDH4QS6592dsbakOiO9VhKT0jztpYgdJ5Bo=; b=vZl6JcUPj9FwC+ayukdGMA9qh8zqhCsjn3FDfAzo0K1TaUJGk8EBTFQ2uUGRblK/ET KHOv/tfzU6jbV6xFOqwUTH1Yu+0LBIMjKYEMhi/cKcZmDViy6cXxyeoPOvxLfkNYDYML aEqZaFJNVuwWX8JtlWRZ0Fua7GkR54i/a+vqRiA+vr1Dyno9KcjOVYkT5bdBpqfLauNc Q8WOzsKGVR8nFB9wmUiNbPWjlLRGTLZSsg5R6ULoKq0g1fVsh5cNjW7rqkaed2BgIW+N nXTBfLu+Z0/et19z5b5CsmOUGVsV4hK7tjbedB9o5f6bcy8eSw4/QCx1V06Ylenkjqy9 qdhA== MIME-Version: 1.0 X-Received: by 10.60.144.129 with SMTP id sm1mr38066484oeb.13.1416432055928; Wed, 19 Nov 2014 13:20:55 -0800 (PST) Received: by 10.182.197.1 with HTTP; Wed, 19 Nov 2014 13:20:55 -0800 (PST) In-Reply-To: <546D06C4.4060200@coherentgraphics.co.uk> References: <546D06C4.4060200@coherentgraphics.co.uk> Date: Wed, 19 Nov 2014 16:20:55 -0500 Message-ID: From: Kenneth Adam Miller To: caml users Content-Type: multipart/alternative; boundary=047d7b339f158ad09705083cc9f2 Subject: Re: [Caml-list] Recursive dependency issues --047d7b339f158ad09705083cc9f2 Content-Type: text/plain; charset=UTF-8 I use packs, but so far I was pretty certain that this used the compiler to find the location in .opam; some of the packages that I use with PACKS are not dependencies of the local library and are installed through opam. PACKS finds them, and to be clear, I do in fact have multiple installations of some libraries, and at different versions between the local development and opam. On Wed, Nov 19, 2014 at 4:08 PM, John Whitington < john@coherentgraphics.co.uk> wrote: > Hi, > > Kenneth Adam Miller wrote: > >> Ok. Does anybody know how to use OCamlMakefile to have it do this? The >> commands already call ocamlfind before ocamlc; >> >> ocamlfind ocamlc ... >> > > To use OCaml packages with OCamlMakefile, you want... > > PACKS = mylib anotherlib yetanotherlib > > Here's an example OCamlMakefile-based makefile: > > https://github.com/johnwhitington/cpdf-source/blob/master/Makefile > > See the OCamlMakefile documentation for the rest of the options. > > Thanks, > > -- > John Whitington > Director, Coherent Graphics Ltd > http://www.coherentpdf.com/ > > --047d7b339f158ad09705083cc9f2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I use packs, but so far I was pretty certain that this use= d the compiler to find the location in .opam; some of the packages that I u= se with PACKS are not dependencies of the local library and are installed t= hrough opam. PACKS finds them, and to be clear, I do in fact have multiple = installations of some libraries, and at different versions between the loca= l development and opam.

On Wed, Nov 19, 2014 at 4:08 PM, John Whitington <jo= hn@coherentgraphics.co.uk> wrote:
Hi,

Kenneth Adam Miller wrote:
Ok. Does anybody know how to use OCamlMakefile to have it do this? The
commands already call ocamlfind before ocamlc;

ocamlfind ocamlc ...

To use OCaml packages with OCamlMakefile, you want...

PACKS =3D mylib anotherlib yetanotherlib

Here's an example OCamlMakefile-based makefile:

https://github.com/johnwhitington/cpdf-source/= blob/master/Makefile

See the OCamlMakefile documentation for the rest of the options.

Thanks,

--
John Whitington
Director, Coherent Graphics Ltd
http://www.cohere= ntpdf.com/


--047d7b339f158ad09705083cc9f2--