1. 19 Nov, 2020 1 commit
  2. 09 Nov, 2020 8 commits
    • Lynn Garren's avatar
      CLHEP- · 4d6e508a
      Lynn Garren authored
    • Lynn Garren's avatar
      fixing Units and Random · ae65d34c
      Lynn Garren authored
    • Lynn Garren's avatar
    • Lynn Garren's avatar
      CLHEP- · 8ccf3485
      Lynn Garren authored
    • Lynn Garren's avatar
      enable C++ modules · 44a21464
      Lynn Garren authored
    • Vassil Vassilev's avatar
      Enable C++ modules for CLHEP · caa0aa3b
      Vassil Vassilev authored and Lynn Garren's avatar Lynn Garren committed
      The C++ modules feature as described in https://clang.llvm.org/docs/Modules.html
      allow producing a binary header representation to avoid redundant header
      This feature is used in ROOT's dictionary system since ROOT v6.20:
      CMSSW and other experiment migrate their dictionaries to use the provided by
      ROOT C++ modules support: https://github.com/cms-sw/cmssw/issues/15248
      Dictionaries which transiently include clhep can be further optimized by
      building a separate module for CLHEP which this MR aims for.
      The current patch introduces a module.modulemap file containing a mapping between
      a binary artifact (a module or a pcm file) and a set of header files. The C++
      modules are more picky on translation unit encapsulation and thus require all
      headers which a translation unit uses to be included. In addition to the
      missing include we outline a few virtual destructors to avoid pollution of .o
      files with weak virtual tables.
      This patch enables builds with modules via rootcling/genreflex/rootcint and
      enables compile-time module builds if configured like:
      cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-fmodules -Xclang -fmodules-local-submodule-visibility" ../clhep/
      The module.modulemap file is easy to maintain as it globs for the well-behaved
      header files and enumerates already the ones needed special treatment.
      Once merged we will backport this to cmssw.
    • Lynn Garren's avatar
      CLHEP · 07002739
      Lynn Garren authored
    • Lynn Garren's avatar
      notes from the PR · 3a947d12
      Lynn Garren authored
  3. 20 Jul, 2020 2 commits
  4. 29 Oct, 2019 6 commits
  5. 21 Oct, 2019 4 commits
  6. 20 Jun, 2019 2 commits
  7. 19 Jun, 2019 3 commits
  8. 12 Jun, 2019 1 commit
  9. 13 Aug, 2018 1 commit
  10. 11 Jun, 2018 8 commits
  11. 17 Apr, 2018 1 commit
  12. 16 Mar, 2018 3 commits