Skip to content
Snippets Groups Projects
  1. May 15, 2019
  2. May 14, 2019
  3. May 13, 2019
    • xloem's avatar
      Protect possibly predefined preprocessor symbol · c0c35168
      xloem authored
      On my systems (RHEL7 and Android Termux) PAGE_SIZE is defined to 4096 in /usr/include/sys/user.h .  The enum then produces a compile-term error.
      Adding this change resolves this error for me.
      c0c35168
  4. Apr 30, 2019
  5. Apr 22, 2019
  6. Apr 18, 2019
  7. Apr 15, 2019
  8. Apr 11, 2019
  9. Apr 10, 2019
  10. Apr 09, 2019
  11. Apr 08, 2019
    • Vassil Vassilev's avatar
      [clad] Bump clad version to v0.5. · ad9e5c42
      Vassil Vassilev authored
      The new release includes some improvements in both Forward and
      Reverse mode:
      * Extend the way to specify a dependent variables. Consider function,
        `double f(double x, double y, double z) {...}`, `clad::differentiate(f, "z")`
        is equivalent to `clad::differentiate(f, 2)`. `clad::gradient(f, "x, y")`
        differentiates with respect to `x` and `y` but not `z`. The gradient results
        are stored in a `_result` parameter in the same order as `x` and `y` were
        specified. Namely, the result of `x` is stored in `_result[0]` and the result
        of `y` in `_result[1]`. If we invert the arguments specified in the string to
        `clad::gradient(f, "y, x")` the results will be stored inversely.
      * Enable recursive differentiation.
      * Support single- and multi-dimensional arrays -- works for arrays with constant
        size like `double A[] = {1, 2, 3};`, `double A[3];` or `double A[1][2][3][4];`
      
      See more at: https://github.com/vgvassilev/clad/blob/v0.5/docs/ReleaseNotes.md
      ad9e5c42
  12. Mar 26, 2019
    • Oksana Shadura's avatar
      Missing lines from modulemap from previous revert · d02f4014
      Oksana Shadura authored
      From V.Vasilev, it fixes:
      [ 72%] Building CXX object interpreter/llvm/src/tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CodeGenModule.cpp.o
      While building module 'Cling_Interpreter' imported from /.../root/core/clingutils/src/RStl.cxx:25:
      In file included from <module-includes>:5:
       /.../root/interpreter/cling/include/cling/Interpreter/RuntimeUniverse.h:13:2: error: "This file must not be included by compiled programs."
       #error "This file must not be included by compiled programs."
       ^
      d02f4014
  13. Mar 25, 2019
    • Vassil Vassilev's avatar
      [cxxmodules] Optimize IsWrapper · ba52bcc8
      Vassil Vassilev authored
      The getNameAsString interface causes a lot of temporary allocations.
      The analysis if a decl is a cling-style wrapper can work only on a
      simple declarations on the global scope.
      
      This patch filters out complex declarations (eg in namespaces) and
      checks only the identifier content.
      
      The patch reduces the memory footprint difference shown in root-project/root#3012.
      ba52bcc8
    • Vassil Vassilev's avatar
      [cmake] Remove dead option. · a99a855d
      Vassil Vassilev authored
      a99a855d
  14. Mar 23, 2019
  15. Mar 21, 2019
  16. Mar 17, 2019
  17. Mar 16, 2019
  18. Mar 11, 2019
  19. Feb 22, 2019
  20. Feb 20, 2019
  21. Feb 09, 2019
  22. Feb 05, 2019
  23. Jan 24, 2019
    • Yuka Takahashi's avatar
      [cxxmodules] Introduce virtual modulemap overlay file (#3267) · 89ea0e7b
      Yuka Takahashi authored
      This patch includes:
      - Remove existing modulemap.overlay files
        Cling now can generate virtual overlay files on-demand.
      - Implement `-modulemap_overlay` flag to Cling
        This flag is used to tell Cling the location of modulemaps to be
        overlayed. (eg. stl.modulemap, libc.modulemap)
      - Generate and load virtual modulemap in Cling
        It is in Interpreter constructor, happens as part of cxxmodules
        initialization step.
      - Implement an interface to Clang CompilerInvocation which can take FileSystem pointer
        Previously, Clang only took a "string of filenames" which clearly doesn't
        work for our usecase. We already discussed this new interface at
        modules meeting, so this change will land upstream.
      - Add a file existence check in Clang
        When compiling a pcm and when Clang saw the #include with which pcm was available
        (or being generated implicitly), Clang was putting a notation of the full path to this pcm.
        This caused an error when build directory was deleted, because the path didn't exist anymore.
      
      This patch enables modules to be binary distributed, and to make it
      work in CMSSW enviroment.
      89ea0e7b
  24. Jan 10, 2019
  25. Jan 09, 2019
  26. Dec 20, 2018
Loading