1. 16 Mar, 2017 1 commit
    • Cedric Roux's avatar
      fix dependancies in CMakeLists.txt for the T tracer · fc6dec9e
      Cedric Roux authored
      On some hosts, compilations with the T tracer was failing.
      
      The error was:
        common/utils/T/T.h:15:19: fatal error: T_IDs.h: No such file or directory
      
      The problem was that in CMakeLists.txt some targets depend on the
      pre-generation of T_IDs.h but this dependancy relation was not set,
      so those targets could be generated before the T (it was the case
      with HASHTABLE).
      
      This commit fixes that. Basically, we take all the targets found in
      "add_executable" and "add_library" and make them depend on the
      T if the T is enabled. Almost all existing targets were added,
      even those that may not need it.
      
      The problem of this approach is that someone adding a new target
      using the T will not necessarily add a dependancy there.
      
      Another solution would be to generate T_IDs.h at "cmake" stage,
      not "make" stage and use an "if (NOT EXISTS T_IDs.h)" to generate
      the file. We lose the dependancy relation though.
      
      Things may be changed if maintenance cost is too high.
      fc6dec9e
  2. 13 Mar, 2017 6 commits
  3. 10 Mar, 2017 3 commits
  4. 09 Mar, 2017 5 commits
  5. 08 Mar, 2017 9 commits
  6. 07 Mar, 2017 2 commits
  7. 06 Mar, 2017 1 commit
  8. 03 Mar, 2017 5 commits
  9. 02 Mar, 2017 1 commit
  10. 01 Mar, 2017 4 commits
  11. 28 Feb, 2017 3 commits