You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Michael Park (JIRA)" <ji...@apache.org> on 2017/01/14 00:24:26 UTC

[jira] [Updated] (MESOS-6924) Add a target for external dependencies in CMake.

     [ https://issues.apache.org/jira/browse/MESOS-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Park updated MESOS-6924:
--------------------------------
    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.

{code}
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

# NOTE: Try both `libev` and `libevent`. This is a terrible hack.
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
{code}

  was:
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.

{code}
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
# NOTE: Try both `libev` and `libevent`. This is a terrible hack.
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
{code}


> Add a target for external dependencies in CMake.
> ------------------------------------------------
>
>                 Key: MESOS-6924
>                 URL: https://issues.apache.org/jira/browse/MESOS-6924
>             Project: Mesos
>          Issue Type: Task
>          Components: cmake
>            Reporter: Michael Park
>
> 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.
> {code}
> 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
> # NOTE: Try both `libev` and `libevent`. This is a terrible hack.
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)