[opam-devel] OPAM on Native Windows - Status update
dra-news at metastack.com
Tue Sep 15 13:04:44 BST 2015
On 15 Sep 2015, at 12:46, Gabriel Scherer <gabriel.scherer at gmail.com<mailto:gabriel.scherer at gmail.com>> wrote:
Could you provide more information on what changes/fixes you need from upstream? By looking at the slides I see that you mention
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?
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.
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.
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!
On Tue, Sep 15, 2015 at 1:31 PM, David Allsopp <dra-news at metastack.com<mailto:dra-news at metastack.com>> wrote:
As previously mentioned, I've been devoting a little time to porting the
master branch of OPAM to work on native Windows (i.e. in a Command or
PowerShell Prompt rather than in Cygwin).
I had the chance to sync with a few people in Cambridge at the end of
August, and as a result a few of us had a presentation/discussion at
Microsoft Research Cambridge yesterday about the work I've done so far and
what still needs doing. The (PDF) slides from my talk are available at
I refer in the slides to various things where Proof-of-Concept (PoC) work
has been done, and I've now shared these on GitHub at
I mention at the end that the port is not particularly exciting at this
stage, as you can only get as far as a not terribly polished opam init. My
plan is by mid-October to have opam config env working so that we have a
very, very pre-alpha "release" which may be able to install some packages
into the system switch only.
Anyone is of course welcome to try building what's on the windows branch in
the meantime, and I'm very happy to provide assistance/receive bug reports
on the build process so far. There's documentation on the detailed
requirements for the build environment in README.md (see
I have also shared my OneNote scribblings and notes on the port at
http://1drv.ms/1QeDkV0 (opens in OneNote Online). Please be aware that this
document contains paged-out portions of my brain, which is both a
highly-disorganised place and also sometimes expresses opinions more
strongly than are necessary!
Continuing towards the OCaml/OPAM Windows Dream...
opam-devel mailing list
opam-devel at lists.ocaml.org<mailto:opam-devel at lists.ocaml.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the opam-devel