stdint and zmq packages#33
Conversation
| build-doc: [ "ocaml" "setup.ml" "-doc" ] | ||
| depends: [ | ||
| "ocaml-android" | ||
| "base-bytes" |
| depends: [ | ||
| "ocaml-android" | ||
| "base-bytes" | ||
| "ocamlfind" {>= "1.5"} |
| @@ -0,0 +1 @@ | |||
| zmq | |||
There was a problem hiding this comment.
Not needed as opam does not know about -toolchain
There was a problem hiding this comment.
Hello,
without such findlib files for zmq-android and stdint, ocamlfind can't find this packages when I compile my code.
There was a problem hiding this comment.
That doesn't make any sense, ocamlfind does not use these "findlib" files. Are you sure there was no other difference? Can you check one more time please?
There was a problem hiding this comment.
There are no findlib files in opam-repository anymore. ocaml/opam-repository#9328
There was a problem hiding this comment.
Yes, I remove them too -- on clear installation I don't seen problems without findlib files.
| @@ -0,0 +1 @@ | |||
| stdint | |||
There was a problem hiding this comment.
Not needed as opam does not know about -toolchain
| depends: [ | ||
| "ocaml-android" | ||
| "conf-zmq-android" | ||
| "ocamlfind" |
| "ocaml-android" | ||
| "conf-zmq-android" | ||
| "ocamlfind" | ||
| "base-unix" |
| "ocamlbuild" {build} | ||
| ] | ||
| conflicts: [ | ||
| "ocaml-zmq" |
There was a problem hiding this comment.
I don't see a reason for this conflict
There was a problem hiding this comment.
I'm steal this opam file from author of package, and just modified related part's. This line written by author of zmq.
| @@ -0,0 +1,3 @@ | |||
| Virtual package relying on zmq library installation. | |||
There was a problem hiding this comment.
We do not use virtual packages for native dependencies in cross-toolchains
| ] | ||
| depends: [ | ||
| "ocaml-android" | ||
| "conf-zmq-android" |
There was a problem hiding this comment.
Instead of this dependency, you should add a depext for the zmq package in MXE
There was a problem hiding this comment.
Is MXE means http://mxe.cc/ ?
I don't use android-ndk -- I'm sit on yocto/bitbake with plain gcc cross-compiler suite, so I can't use it.
There was a problem hiding this comment.
Sorry, MXE is not relevant, forget this part.
No description provided.