Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8988

Allow for unbundled dependencies in CMake build.

    XMLWordPrintableJSON

Details

    • Epic
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • build
    • cmake-unbundling

    Description

      Our CMake setup currently bundles all dependencies and does not allow for building against unbundled dependencies.

      We should allow for unbundled dependencies as well.

      Motivation;
      a. It has proven to be problematic to enforce building against the bundled versions of our dependencies. Bundled versions may or may not be compatible with all of our supported platforms. Namely Libevent >= 2.1.x fails our libprocess tests on macOS and Ubuntu 17. This in turn prevents us from switching to SSL by default on all platforms.
      b. Historically we tried to not enforce bundling and therefor allowing linux distros to supply Mesos packages.
      c. Module authors need to link against the exact same dependency versions, where needed. Our autotools setup specifically allows for using unbundled dependencies, supporting module authors to cover this task.

      Offering bundled dependencies is per-se a good thing as it eases the pain building Mesos - we just need to make that optional.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tillt Till Toenshoff
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: