1. 10 Dec, 2020 1 commit
  2. 22 Nov, 2020 1 commit
    • Raul Tambre's avatar
      CUDA: Clang CUDA 11.1 support · 440dc98b
      Raul Tambre authored
      version.txt is gone from CUDA 11.1 installations, but the rest is the same.
      Instead of looking for version.txt look for <CUDA path>/nvvm/libdevice, which
      is the main thing that Clang requires (though it also checks for the existence
      of bin and include).
      
      Fixes #21353.
      440dc98b
  3. 19 Nov, 2020 1 commit
    • Brad King's avatar
      Revert "specify language flag when source LANGUAGE property is set" · 30aa715f
      Brad King authored
      Revert commit 74b1c9fc (Explicitly specify language flag when source
      LANGUAGE property is set, 2020-06-01, v3.19.0-rc1~722^2) and the lookup
      tables from its two immediate ancestors.  The purpose of that change was
      to convert an explicit `LANGUAGE` source file property into an explicit
      language specification compiler flag like `-x c`.  This seems reasonable
      since the property is documented as meaning "indicate what programming
      language the source file is".  It is also needed to help compilers deal
      with non-standard source file extensions they don't recognize.
      
      However, some projects have been setting `LANGUAGE C` on `.S` assembler
      source files to mean "use the C compiler".  Passing `-x c` for them
      breaks the build because the `.S` sources are not written in C.  These
      projects should be updated to use `enable_language(ASM)`, for which
      CMake often chooses the C compiler as the assembler when using
      toolchains that support it (which would have to be the case for projects
      using the approach).
      
      Revert the change for now to preserve the old behavior for such projects.
      We can re-introduce it with a policy in a future version of CMake.
      
      Fixes: #21469
      Issue: #14516, #20716
      30aa715f
  4. 03 Nov, 2020 1 commit
  5. 02 Nov, 2020 1 commit
  6. 24 Oct, 2020 1 commit
  7. 16 Oct, 2020 1 commit
  8. 12 Oct, 2020 1 commit
  9. 08 Oct, 2020 5 commits
  10. 06 Oct, 2020 2 commits
  11. 05 Oct, 2020 1 commit
  12. 04 Oct, 2020 1 commit
  13. 01 Oct, 2020 2 commits
  14. 30 Sep, 2020 3 commits
  15. 29 Sep, 2020 1 commit
  16. 28 Sep, 2020 2 commits
  17. 24 Sep, 2020 1 commit
  18. 23 Sep, 2020 6 commits
  19. 22 Sep, 2020 1 commit
  20. 21 Sep, 2020 1 commit
  21. 20 Sep, 2020 1 commit
    • Raul Tambre's avatar
      FindCUDAToolkit: Support scattered installations when crosscompiling · 9d3f7872
      Raul Tambre authored
      Previously when CMAKE_CROSSCOMPILING was ON we'd end up not setting the target
      directory if the non-scattered one didn't exist.
      Fix this by assuming a scattered installation if the target directory isn't set
      after the crosscompiling logic.
      
      This is the same fix as commit 2c0d5d01 (CUDA: Support scattered
      installations when crosscompiling with Clang, 2020-09-14).
      9d3f7872
  22. 18 Sep, 2020 1 commit
  23. 16 Sep, 2020 2 commits
  24. 15 Sep, 2020 2 commits