ocaml has a pretty length build, and it has no dependencies or options. Candidate for bottling?
I'd say so.
Any others spring to mind? Happy to do a few today.
Hmm, just noticed that the ocaml formula does this:
# site-lib in the Cellar will be a symlink to the HOMEBREW_PREFIX location
ln_s HOMEBREW_PREFIX+"lib/ocaml/site-lib", lib+"ocaml/site-lib"
Not sure how that is going to gel with bottling.
As long as HOMEBREW_PREFIX is default (which I can add back in) and nothing is installed in there that shouldn't be a problem?
(HOMEBREW_PREFIX+"lib/ocaml/site-lib").mkpath won't happen when installing from the bottle though, right?
Indeed. The symlink should be there though, not sure if that's enough.
Can you think of a suitable test? Other possible candidates for bottling: valgrind, mysql, pkg-config, readline, git.
Bottles for testing:
I think we can mkpath the ocaml site-lib directory in the keg linking code.
See 172c05e; ocaml bottle should be a go.
Add objective-caml bottle.
Add sbcl bottle.
Result of discussion in #9841.
Added. Anything else worth bottling?