Skip to content
Snippets Groups Projects
  1. Jun 26, 2022
    • Dmitry Mikushin's avatar
      Adding README · 506bae66
      Dmitry Mikushin authored
      506bae66
    • Dmitry Mikushin's avatar
      Implementing distributed CMake abstraction. · 04b365f0
      Dmitry Mikushin authored
      CMake supports "launchers" for distributed compilation. A launcher prepends the supported
      compiler or linker and acts as a command line "wrapper" script. Launcher is added only if the user
      defines the corresponding environment variables manually, for example CXX_LINKER_LAUNCHER.
      
      Unlike the "launchers" approach above, this patch prepends all supported compilers and linkers
      with a "distcmake" wrapper by default, with no further user configuration needed. In order to
      enable this mode, a user should simply invoke CMake like this:
      
      export CMAKE_DISTRIBUTED_BUILD=1
      cmake .
      
      Then, CMake will issue generator rules, that shall include "distcmake" wrapper:
      
      [ 50%] Linking CXX executable test
      /home/marcusmae/amd/cmake_distributed/install/bin/cmake -E cmake_link_script CMakeFiles/test.dir/link.txt --verbose=1
      distcmake /usr/bin/c++ -rdynamic CMakeFiles/test.dir/test.cpp.o -o test
      
      The "distcmake" implementation is to be provided separately. The trivial stub could just
      fallback to the traditional compilation:
      
      cat distcmake
      #!/usr/bin/bash
      $@
      04b365f0
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · 526d1013
      Kitware Robot authored
      526d1013
  2. Jun 25, 2022
  3. Jun 24, 2022
  4. Jun 23, 2022
  5. Jun 22, 2022
Loading