1. 28 Jan, 2021 1 commit
    • William R. Dieter's avatar
      IntelLLVM: Add support for Intel LLVM-based compilers · a90d2a9e
      William R. Dieter authored
      Using a single ID 'IntelLLVM' for the suite of Intel compilers based on
      the LLVM backend.  The 'IntelLLVM' ID are used for C, C++, and Fortran.
      Data Parallel C++ will be handled in a separate commit.
      The C and C++ definitions are based on the Clang definitions.  The Intel
      LLVM-based C and C++ compilers are based on the Clang front end, so
      existing Clang options are more likely to be a good match than options
      for the older Intel compilers.
      Fortran is based on the older Fortran front end with the LLVM backend.
      It has a similar interface to the older versions, though many options
      are shared with the C and C++ compilers.
      Fixes: #21561
      Signed-off-by: William R. Dieter's avatarWilliam R. Dieter <william.r.dieter@intel.com>
  2. 27 Jan, 2021 1 commit
  3. 07 Dec, 2020 2 commits
    • Brad King's avatar
      Revert "Intel: Add Intel DPC++ compiler identification" · 41b69348
      Brad King authored
      Revert commit 887f3a88 (Intel: Add Intel DPC++ compiler
      identification, 2020-09-21, v3.19.0-rc1~124^2).  The compiler has
      already been released, and is more usable with CMake by pretending to be
      upstream Clang than by identifying it as a compiler for which we have
      not implemented support.
      Fixes: #21551
    • Brad King's avatar
      Revert "Intel: Add Intel Clang compiler identification" · f0babb53
      Brad King authored
      Revert commit 5c3a93ab (Intel: Add Intel Clang compiler
      identification, 2020-09-29, v3.19.0-rc1~68^2).  The compiler has already
      been released, and is more usable with CMake by pretending to be
      upstream Clang than by identifying it as a compiler for which we have
      not implemented support.
      Issue: #21551
  4. 29 Sep, 2020 1 commit
  5. 22 Sep, 2020 1 commit
  6. 28 Aug, 2020 1 commit
  7. 15 May, 2020 1 commit
    • Raul Tambre's avatar
      CUDA: Add support for Clang compiler · 5df21adf
      Raul Tambre authored
      When crosscompiling we pass the sysroot.
      We need to try various architecture flags. Clang doesn't automatically
      select one that works.  First try the ones that are more likely to work
      for modern installations:
      * <=sm_50 is deprecated since CUDA 10.2, try sm_52 first for
                future compatibility.
      * <=sm_20 is removed since CUDA 9.0, try sm_30.
      Otherwise fallback to Clang's current default. Currently that's `sm_20`,
      the lowest it supports.
      Separable compilation isn't supported yet.
      Fixes: #16586
  8. 14 May, 2019 1 commit
  9. 20 Mar, 2019 1 commit
  10. 28 Feb, 2019 1 commit
  11. 25 Feb, 2019 1 commit
  12. 21 Feb, 2019 1 commit
  13. 16 Jan, 2019 1 commit
    • Fred Baksik's avatar
      GHS: Add Compiler ID detection · 72e0c115
      Fred Baksik authored
      -- Detect GHS compiler and version
         Detect ARCHITECTURE_ID for PPC / ARM / 86 targets
         Detect PLATFORM_ID for Integrity and Integrity178 platforms
         Using defines specified in the documents for the compilers: 201416 PPC / 201754 ARM / 201714 86
      -- Fallback C/CXX compiler ID to GHS if not otherwise detected and using GHS MULTI generator
         Works around issue with some GHS compilers not setting __ghs__ compiler define
      -- Tweak Compiler ID checking so major id of 002017 is not replaced with 217
      -- Prefer try_compile() library targets when testing for working GHS compilers
      -- Avoid CMake errors if reading past end of file for checking if file is PE executable
  14. 11 Jan, 2019 1 commit
  15. 17 May, 2017 1 commit
    • Daniel Pfeifer's avatar
      Use string(APPEND) in Modules · 9e24af01
      Daniel Pfeifer authored
      Automate with:
      find Modules -type f -print0 | xargs -0 perl -i -0pe \
        's/set\(([a-zA-Z0-9_\$\{\}]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
  16. 11 Jan, 2017 1 commit
    • Daniel Pfeifer's avatar
      Don't include CMakeParseArguments · d6877e6c
      Daniel Pfeifer authored
      The cmake_parse_arguments command is builtin with version 3.5.
      The CMakeParseArguments module is empty and exists for backwards
      compatibility with CMake 3.4 and lower.
      Remove the includes of CMakeParseArguments from CMake's modules.
      The modules are always used with the current version of CMake.
      Leave the includes in the tests, as the tests may be run with an older
      version of CMake.
  17. 15 Dec, 2016 1 commit
  18. 14 Nov, 2016 1 commit
  19. 27 Sep, 2016 1 commit
    • Brad King's avatar
      Simplify CMake per-source license notices · 86578ecc
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      Replace CMake per-source copyright/license notice headers with a short
      description of the license and links to `Copyright.txt` and online information
      available from "https://cmake.org/licensing".  The online URL also handles
      cases of modules being copied out of our source into other projects, so we
      can drop our notices about replacing links with full license text.
      Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
      of the replacements mechanically.  Manually fix up shebang lines and trailing
      newlines in a few files.  Manually update the notices in a few files that the
      script does not handle.
  20. 27 Jul, 2016 1 commit
    • Daniel Pfeifer's avatar
      Use string(APPEND) in Modules · 5d0d980d
      Daniel Pfeifer authored
      Automate with:
      find Modules -type f -print0 | xargs -0 perl -i -0pe \
      's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
  21. 21 Mar, 2016 1 commit
  22. 02 Nov, 2015 1 commit
  23. 11 Aug, 2014 1 commit
    • Erik Lindahl's avatar
      Add Fujitsu compiler detection · 0578c283
      Erik Lindahl authored
      The Fujitsu C/C++ compilers are the default ones for K computer.
      Detect both native and cross compilers by looking for the __FUJITSU
      preprocessor definition.
  24. 13 Jun, 2014 1 commit
  25. 05 Jun, 2014 2 commits
  26. 07 May, 2014 6 commits