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

How to reduce compile time after had changed/improved source code?

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Information Provided
    • Affects Version/s: 1.8.0
    • Fix Version/s: None
    • Component/s: cmake
    • Labels:
    • Environment:

      Linux firework-vm01 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux

    • Target Version/s:

      Description

      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

      1. I'm add new member function to class Docker on docker.hpp. This class declares on file at docker directory.
      2. Compile source again from build directory. This directory create on the base source code directory same src/ , bin/ and include/.
      3. Come to build path with 
        1. $cd build
        2. $../configure --disable-python --disable-java --enable-debug --enable-fast-install
        3. $make
        4. $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?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rchatsiri chatsiri
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: