https://github.com/ocaml/ocaml-pr-repository
opam switches for all the proposed pull requests against the compiler
https://github.com/ocaml/ocaml-pr-repository
Last synced: 11 months ago
JSON representation
opam switches for all the proposed pull requests against the compiler
- Host: GitHub
- URL: https://github.com/ocaml/ocaml-pr-repository
- Owner: ocaml
- Created: 2017-10-02T13:32:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-16T20:19:48.000Z (over 7 years ago)
- Last Synced: 2025-06-29T09:03:28.506Z (11 months ago)
- Size: 145 KB
- Stars: 5
- Watchers: 1
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ocaml-pr-repository -- opam remotes for OCaml Pull Requests
The OCaml compiler is developed openly at , with
new changes discussed on the pull requests tracker at .
It can be convenient to quickly try out a proposed patch and rapidly get a
package development environment up and running, without having to manually
recompile everything.
This repository contains a set of opam1-format compiler descriptions that are
dynamically generated daily from the list of active PRs in the OCaml GitHub
repository. They let you switch to any active PR using the
[opam](https://opam.ocaml.org) package manager very easily:
## Usage
First add this repository to your opam package universe:
$ opam repo add ocaml-pr https://github.com/ocaml/ocaml-pr-repository.git
Then list all the available compilers to find your PR
$ opam switch --all
[...]
-- 4.06.0+pr944 Added some missing numeric C99-functions to Pervasives
-- 4.06.0+pr964 Add Pervasives.pi
-- 4.06.0+pr974 Enable msvc64 asmcomp tests
-- 4.06.0+pr975 Make the testsuite more paranoid about the results
-- 4.06.0+trunk+afl 4.06 release branch with afl-fuzz instrumentation
-- 4.06.0+trunk+flambda 4.06 release branch with flambda activated
-- 4.06.0+trunk+fp 4.06 release branch with frame-pointers
Then switch to the PR you want to try out:
$ opam switch 4.06.0+pr944
$ eval `opam config env`
And that's all you need to do to use the patched compiler. Once you have
tested the patch, don't forget to comment on the pull request with anything
you've learnt from the usage of the patch.
## Questions
* OCaml [discussion forum](https://discuss.ocaml.org)
* [opam development list](mailto:opam-devel@lists.ocaml.org)