You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Bannier (JIRA)" <ji...@apache.org> on 2016/12/02 11:04:58 UTC

[jira] [Created] (MESOS-6671) External 3rdparty deps are not built with the configured compiler in cmake build

Benjamin Bannier created MESOS-6671:
---------------------------------------

             Summary: External 3rdparty deps are not built with the configured compiler in cmake build
                 Key: MESOS-6671
                 URL: https://issues.apache.org/jira/browse/MESOS-6671
             Project: Mesos
          Issue Type: Bug
          Components: cmake
            Reporter: Benjamin Bannier


CMake permits users to modify the compiler for e.g., C++ source files by setting {{CMAKE_CXX_COMPILER}}. Additionally, to use compiler wrappers like ccache or distcc modern cmake versions allow to specify the wrapper by setting e.g., {{CMAKE_CXX_COMPILER_LAUNCHER}}.

The current Mesos cmake ignores both these variables when building external 3rdparty autotools-based dependencies, and the only way to overwrite the compiler there would be to set e.g., {{CXX='ccache clang++'}} and {{make}} time. This is undesirable as it is too easy to introduce inconsistent compiler settings.



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