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

Add a target for external dependencies in CMake.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cmake
    • None

    Description

      It would be nice to be able to have a target for external dependencies, i.e. 3rdparty dependencies except stout/libprocess. This would help with mesos-tidy in specific, to do less work. We can currently spell out all of them + a hack around libev vs libevent, it would be cleaner to simply build an external dependencies target.

      # Build the external dependencies.
      # TODO(mpark): Use an external dependencies target once MESOS-6924 is resolved.
      cmake --build 3rdparty --target boost-1.53.0
      cmake --build 3rdparty --target elfio-3.2
      cmake --build 3rdparty --target glog-0.3.3
      cmake --build 3rdparty --target gmock-1.7.0
      cmake --build 3rdparty --target http_parser-2.6.2
      
      # TODO(mpark): The `|| true` is a hack to try both `libev` and `libevent` and
      #              use whichever one happens to be configured. This would also go
      #              away with MESOS-6924.
      cmake --build 3rdparty --target libev-4.22 || true
      cmake --build 3rdparty --target libevent-2.1.5-beta || true
      
      cmake --build 3rdparty --target leveldb-1.4
      cmake --build 3rdparty --target nvml-352.79
      cmake --build 3rdparty --target picojson-1.3.0
      cmake --build 3rdparty --target protobuf-2.6.1
      cmake --build 3rdparty --target zookeeper-3.4.8
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcypark Michael Park
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: