Skip to content

Stop flattening the installation directory #482

Closed

Description

@aantron

We are currently installing all the Lwt packages in a flat directory, as in pre-Jbuilder days. This is for backwards compatibility with a few users that are making assumptions about the directory structure, namely by compiling with flags for package lwt, when, in fact, using lwt.unix. When lwt.unix and lwt are in the same directory, the -I flag for lwt is good enough to find lwt.unix.

We should probably check one more time for packages depending on lwt.unix, or other lwt sub-libaries, incorrectly when releasing 3.2.0. We'll unflatten the directory in 4.0.0.

Activity

  1. added this to the 3.2.0 milestone on Oct 13, 2017
  2. Drup commented on Oct 20, 2017

    @Drup
    Member

    I think users that don't lookup in META files in 2017 deserves their build to be broken, so just do it. :p

  3. aantron commented on Oct 20, 2017

    @aantron
    CollaboratorAuthor

    I would, if it were just that, but even users that look up META files can have this broken, because the META for lwt was good enough to compile against lwt.unix in a flat directory. I had this mistake in Markup.ml, for example, despite using ocamlfind "carefully," and there were a few other such projects found by @andrewray.

  4. modified the milestones: 3.2.0, 4.0.0 on Dec 20, 2017
  5. added a commit that references this issue on Mar 25, 2018
    44d9f8c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions