opam-repository icon indicating copy to clipboard operation
opam-repository copied to clipboard

Svmwrap nonlopt 400 [do not merge]

Open UnixJunkie opened this issue 3 years ago • 5 comments

UnixJunkie avatar Jun 09 '22 12:06 UnixJunkie

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).

UnixJunkie avatar Jun 09 '22 12:06 UnixJunkie

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.

mseri avatar Jun 09 '22 13:06 mseri

#=== 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

mseri avatar Jun 09 '22 13:06 mseri

I just issued a temporary tag for CI tests; I'll issue a final one if tests pass

UnixJunkie avatar Jun 09 '22 14:06 UnixJunkie

@UnixJunkie what's left to do on this PR?

kit-ty-kate avatar Oct 13 '22 12:10 kit-ty-kate

I have a no_nlopt branch; let's just use this one and install from sources if users need it.

UnixJunkie avatar Oct 17 '22 00:10 UnixJunkie