<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
<div><span></span></div>
<div>
<div>
<div>On 15 Sep 2015, at 12:46, Gabriel Scherer <<a href="mailto:gabriel.scherer@gmail.com">gabriel.scherer@gmail.com</a>> wrote:</div>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">
<div>
<div>Could you provide more information on what changes/fixes you need from upstream? By looking at the slides I see that you mention<br>
  <a href="http://caml.inria.fr/mantis/view.php?id=4034">http://caml.inria.fr/mantis/view.php?id=4034</a><br>
  <a href="http://caml.inria.fr/mantis/view.php?id=6120">http://caml.inria.fr/mantis/view.php?id=6120</a><br>
</div>
<br>
</div>
Are both equally important? Is it easy to workaround not having them, or a deal-breaker for your work? Which other upstream issues would you need solved?<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>4034 is complicated which is why it's sat unfixed - it doesn't need fixing for OPAM, I simply wrapped the Windows API call in OPAM directly to solve its use case.</div>
<div><br>
</div>
<div>6120 is critical for building dose3 directly (if you compile using lib-ext, it doesn't matter) but not critical, therefore. I was going to update its Mantis page with a note that I expect to finish the patch in October (and so hopefully get it into 4.03).
 The make compiler route of my Windows OPAM port already includes this patch.</div>
<div><br>
</div>
<div>I'm not aware of any other OCaml fixes needed - I don't expect any, either, as OCaml of course works well on Windows already!</div>
<div><br>
</div>
<div><br>
</div>
<div>David</div>
<div><br>
</div>
<br>
<blockquote type="cite">
<div>
<div dir="ltr">
<div>  <br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Sep 15, 2015 at 1:31 PM, David Allsopp <span dir="ltr">
<<a href="mailto:dra-news@metastack.com" target="_blank">dra-news@metastack.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As previously mentioned, I've been devoting a little time to porting the<br>
master branch of OPAM to work on native Windows (i.e. in a Command or<br>
PowerShell Prompt rather than in Cygwin).<br>
<br>
I had the chance to sync with a few people in Cambridge at the end of<br>
August, and as a result a few of us had a presentation/discussion at<br>
Microsoft Research Cambridge yesterday about the work I've done so far and<br>
what still needs doing. The (PDF) slides from my talk are available at<br>
<a href="http://1drv.ms/1QeD746" rel="noreferrer" target="_blank">http://1drv.ms/1QeD746</a><br>
<br>
I refer in the slides to various things where Proof-of-Concept (PoC) work<br>
has been done, and I've now shared these on GitHub at<br>
<a href="https://github.com/dra27/opam-experiments" rel="noreferrer" target="_blank">https://github.com/dra27/opam-experiments</a><br>
<br>
I mention at the end that the port is not particularly exciting at this<br>
stage, as you can only get as far as a not terribly polished opam init. My<br>
plan is by mid-October to have opam config env working so that we have a<br>
very, very pre-alpha "release" which may be able to install some packages<br>
into the system switch only.<br>
<br>
Anyone is of course welcome to try building what's on the windows branch in<br>
the meantime, and I'm very happy to provide assistance/receive bug reports<br>
on the build process so far. There's documentation on the detailed<br>
requirements for the build environment in README.md (see<br>
<a href="https://github.com/dra27/opam/blob/windows/README.md#compiling-on-native-win" rel="noreferrer" target="_blank">https://github.com/dra27/opam/blob/windows/README.md#compiling-on-native-win</a><br>
dows)<br>
<br>
I have also shared my OneNote scribblings and notes on the port at<br>
<a href="http://1drv.ms/1QeDkV0" rel="noreferrer" target="_blank">http://1drv.ms/1QeDkV0</a> (opens in OneNote Online). Please be aware that this<br>
document contains paged-out portions of my brain, which is both a<br>
highly-disorganised place and also sometimes expresses opinions more<br>
strongly than are necessary!<br>
<br>
Continuing towards the OCaml/OPAM Windows Dream...<br>
<br>
<br>
David<br>
<br>
_______________________________________________<br>
opam-devel mailing list<br>
<a href="mailto:opam-devel@lists.ocaml.org">opam-devel@lists.ocaml.org</a><br>
<a href="http://lists.ocaml.org/listinfo/opam-devel" rel="noreferrer" target="_blank">http://lists.ocaml.org/listinfo/opam-devel</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</body>
</html>