[opam-devel] Apscud on osx < 10.9 (was Re: aspcud 1.9.0 packages on Archlinux)
Daniel Bünzli
daniel.buenzli at erratique.ch
Thu Mar 27 16:59:07 GMT 2014
Le jeudi, 27 mars 2014 à 17:24, Louis Gesbert a écrit :
> About `opam --git-version`, this should be done properly on all build paths,
> and we get it by manually checking the files under .git without resorting to the git program.
>
> So I guess brew builds from an archive, in which case I don't see what we could do.
In fact, `brew reinstall --HEAD -v opam` tells us what it does (that last git checkout-index is the culprit):
==> Cloning https://github.com/ocaml/opam.git
git --git-dir /Library/Caches/Homebrew/opam--git/.git status -s
Updating /Library/Caches/Homebrew/opam--git
git config remote.origin.url https://github.com/ocaml/opam.git
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
git checkout -f master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
git reset --hard origin/HEAD
HEAD is now at e1c1683 Merge pull request #1279 from OCamlPro/no-inconsistent-solver-nonsense
git reset --hard origin/HEAD
HEAD is now at e1c1683 Merge pull request #1279 from OCamlPro/no-inconsistent-solver-nonsense
git checkout-index -a -f --prefix=/private/tmp/opam-S8VT/
==> ./configure --prefix=/usr/local/Cellar/opam/HEAD
checking for gcc… clang
...
More information about the opam-devel
mailing list