You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joseph Wu (JIRA)" <ji...@apache.org> on 2019/05/28 17:58:00 UTC
[jira] [Commented] (MESOS-9798) How to reduce compile time after
had changed/improved source code?
[ https://issues.apache.org/jira/browse/MESOS-9798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16849982#comment-16849982 ]
Joseph Wu commented on MESOS-9798:
----------------------------------
This is an architectural problem with how large is the codebase is, and how the code is structured. The Mesos agent takes the longest to compile, mostly because 80% or so of the Mesos source files are compiled into the agent. That includes {{src/docker/docker.hpp}}.
> How to reduce compile time after had changed/improved source code?
> ------------------------------------------------------------------
>
> Key: MESOS-9798
> URL: https://issues.apache.org/jira/browse/MESOS-9798
> Project: Mesos
> Issue Type: Improvement
> Components: cmake
> Affects Versions: 1.8.0
> Environment: Linux firework-vm01 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux
> Reporter: chatsiri
> Priority: Minor
> Labels: newbie
>
> Hello all,
> I'm have changed variables in src/ directory finished, but compiler using long time to finished build steps. How can reduces compile time per component or source directory? Such as an simple steps below
> # I'm add new member function to class Docker on docker.hpp. This class declares on file at docker directory.
> # Compile source again from build directory. This directory create on the base source code directory same src/ , bin/ and include/.
> # Come to build path with
> ## $cd build
> ## $../configure --disable-python --disable-java --enable-debug --enable-fast-install
> ## $make
> ## $sudo make install.
> In steps No.3. Compiler used long time compiles source code. How we can reduce compile time per source directory that we had changed its?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)