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. 05 Jul, 2016 1 commit
    • Brad King's avatar
      Intel: Do not use GNU-like flags on Windows · f9dbe22c
      Brad King authored
      Refactor options out of `Modules/Compiler/Intel-{ASM,C,CXX,Fortran}.cmake`
      into a common helper in `Modules/Compiler/Intel.cmake`.  Condition
      them to be used only on non-Windows hosts where the Intel compiler
      is GNU-like instead of MSVC-like.
      Previously this worked only because the options were later overridden
      by `Modules/Platform/Windows-Intel*.cmake`, but it is cleaner to not
      set the options in the first place.
  3. 15 Aug, 2012 1 commit
  4. 13 Aug, 2012 2 commits
    • Kitware Robot's avatar
      Remove CMake-language block-end command arguments · 9db31162
      Kitware Robot authored
      Ancient versions of CMake required else(), endif(), and similar block
      termination commands to have arguments matching the command starting the
      block.  This is no longer the preferred style.
      Run the following shell code:
      for c in else endif endforeach endfunction endmacro endwhile; do
          echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
    • Kitware Robot's avatar
      Convert CMake-language commands to lower case · 77543bde
      Kitware Robot authored
      Ancient CMake versions required upper-case commands.  Later command
      names became case-insensitive.  Now the preferred style is lower-case.
      Run the following shell code:
      cmake --help-command-list |
      grep -v "cmake version" |
      while read c; do
          echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
  5. 02 Mar, 2011 1 commit
  6. 23 Feb, 2011 2 commits