opam-repository
opam-repository copied to clipboard
Svmwrap nonlopt 400 [do not merge]
I am not sure this is the right way to do; but in case one of the dependencies cannot install; I might still want to be able to install the software; so there is a git branch where we can compile even without the said dependency (ocaml-nlopt).
Sounds fine. The alternative is to make nlopt a depopts (or have the -nlopt version) and use enabled_if dune feature or something of the kind.
#=== ERROR while compiling svmwrap_nonlopt.4.0.0 ==============================#
# context 2.1.2 | linux/x86_64 | ocaml-base-compiler.4.07.1 | pinned(https://github.com/UnixJunkie/svmwrap/archive/refs/tags/v4.0.0_nonlopt.tar.gz)
# path ~/.opam/4.07/.opam-switch/build/svmwrap_nonlopt.4.0.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p svmwrap_nonlopt -j 31
# exit-code 1
# env-file ~/.opam/log/svmwrap_nonlopt-13306-c2df56.env
# output-file ~/.opam/log/svmwrap_nonlopt-13306-c2df56.out
### output ###
# Error: I don't know about package svmwrap_nonlopt (passed through
# only-packages)
I guess an issue here is that the package name is svmwrap
I just issued a temporary tag for CI tests; I'll issue a final one if tests pass
@UnixJunkie what's left to do on this PR?
I have a no_nlopt branch; let's just use this one and install from sources if users need it.