Skip to content

Commit

Permalink
README: fix outdated references to needing GLPK, precise C++ dependency
Browse files Browse the repository at this point in the history
Closes ocaml#3185, thanks for the contribution!
  • Loading branch information
AltGr committed Jan 26, 2018
1 parent 5e74206 commit baac801
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Either from an existing opam installation, use `opam pin add opam-devel
* Make sure you have the required dependencies installed:
- GNU make
- OCaml >= 4.02.3 (or see [below](#compiling-without-ocaml))
- The `glpk` library (or see [below](#integrated-solver))
- A C++ compiler (unless building without a solver, see `./configure --without-mccs`)
* Run `./configure`
* Run `make lib-ext` as advertised by `./configure` if you don't have the
dependencies installed. This will locally take care of all OCaml dependencies
Expand Down Expand Up @@ -143,18 +143,6 @@ make cold-install

NOTE: You'll still need GNU make.

## Integrated solver

Having the `glpk` library and headers installed enables compilation of opam with
a built-in solver. Without it, the compiled opam will require an
[external solver](http://opam.ocaml.org/doc/Install.html#ExternalSolvers), such
as `aspcud`, at runtime.

You can compile `glpk` locally and install it to a custom prefix, then run
`./configure LIB_PREFIX=custom_prefix`. To avoid dynamically depending on it,
some options need to be specified at link-time, which can be done through file
`src/client/linking.sexp`. See `release/Makefile` for examples.

## Bug tracker

Have a bug or a feature request ? Please open an issue on [our
Expand Down

0 comments on commit baac801

Please sign in to comment.