-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mark an installed lib file as executable #2198
Comments
This mega PR does the following: - adds cloud.drone.io CI tests to check that all packages are coinstallable. This will ensure that we can always clone all the overrides here into a duniverse and have them build. - to enforce the above, we remove duplicate packages here, unlike the stable opam-repo. This implies that we can't do fancy opam solver tricks for versions of things, which is steadily being solved by adding smarts to dune to differentiate based on build variables (e.g. enabled_if in ocaml/dune#2164) See tarides/opam-monorepo#3 for more discussion. We also add dune ports for: - ppx_tools: has a small ugly tracked in ocaml/dune#2198. - ocamlfind: splits up the opam packages into a findlib opam package that installs the libraries, and ocamlfind that installs the binaries (ocamlfind/ocaml wrapper) to work with the toplevel. This one doesn't have all the bells and whistles of the upstream, so we will need to port things like bytecode only and non-dynlink arches to the dune configurator. We remove ports which are now upstream, such as psq and lru
What about using the |
Wouldn't that go into the |
This mega PR does the following: - adds cloud.drone.io CI tests to check that all packages are coinstallable. This will ensure that we can always clone all the overrides here into a duniverse and have them build. - to enforce the above, we remove duplicate packages here, unlike the stable opam-repo. This implies that we can't do fancy opam solver tricks for versions of things, which is steadily being solved by adding smarts to dune to differentiate based on build variables (e.g. enabled_if in ocaml/dune#2164) See tarides/opam-monorepo#3 for more discussion. We also add dune ports for: - ppx_tools: has a small ugly tracked in ocaml/dune#2198. - ocamlfind: splits up the opam packages into a findlib opam package that installs the libraries, and ocamlfind that installs the binaries (ocamlfind/ocaml wrapper) to work with the toplevel. This one doesn't have all the bells and whistles of the upstream, so we will need to port things like bytecode only and non-dynlink arches to the dune configurator. We remove ports which are now upstream, such as psq and lru
The policy is the same as opam: the |
suggested in ocaml/dune#2198
This is distilled from the opam manual and worth duplicating here since it describes a metadata format that can be used independently of opam. Closes ocaml#2198 Signed-off-by: Anil Madhavapeddy <anil@recoil.org>
Thanks for the clarification. I've submitted a doc PR to close this in #2237 as it wasn't very clear to me before. I'd also never seen the |
Thanks. Yh, I've never used |
It regroups the various bits about installing things and clarify the section semantics for file installation. Closes ocaml#2198 Signed-off-by: Anil Madhavapeddy <anil@recoil.org> Signed-off-by: Jeremie Dimino <jeremie@dimino.org> Co-Authored-By: Etienne Millon <etienne.millon@gmail.com>
While porting ppx_tools to dune, I had to come up with a bit of a hack to support the
ocamlfind ppx_tools/rewriter
functionality. This depends on having an executable file installed inlib/ppx_tools/rewriter
so that its not in the full bin namespace.Installing it via
(install (section lib))
fails at runtime since the files are not executable when installed. I worked around it with:https://github.com/dune-universe/ppx_tools/blob/to-dune/dune#L41
which works but is a bit ugly, so opening this bug for some better way to express that files in
lib
can be executable.The text was updated successfully, but these errors were encountered: