Skip to content
Snippets Groups Projects
  1. Jul 26, 2021
    • Kitware Robot's avatar
      KWSys 2021-07-26 (d5fd6ca2) · 7fc3f700
      Kitware Robot authored and Brad King's avatar Brad King committed
      Code extracted from:
      
          https://gitlab.kitware.com/utils/kwsys.git
      
      at commit d5fd6ca2ba5b4ca04d7ac346ceb87f7d2b0ad8aa (master).
      
      Upstream Shortlog
      -----------------
      
      Dženan Zukić (1):
            7079df74 SystemTools: Fix GetOperatingSystemNameAndVersion empty string return
      
      Đoàn Trần Công Danh (1):
            4e69b791 SystemInformation: Add option to explicitly avoid using execinfo
      7fc3f700
  2. Jun 30, 2021
  3. Jun 22, 2021
    • Alex Richardson's avatar
      Enable compiler warnings when compiling CMake with Clang · 88e56c2e
      Alex Richardson authored
      I noticed that I wasn't getting any compiler warnings when testing my
      merge requests locally. Turns out this happens because I am compiling
      using Clang rather than GCC, so no warning flags are added to the build.
      d06a9bdf enabled warnings by default
      for GCC > 4.2, but Clang supports them too. This has been the case
      since at least Clang 3.0 (I couldn't test any older versions on
      godbolt.org). For AppleClang, we can also assume that the warning flags
      are supported. According to Wikipedia Clang became the default
      compiler starting with Xcode 4.2, and the table on
      https://trac.macports.org/wiki/XcodeVersionInfo, states that XCode
      4.2 Clang was based on upstream Clang 3.0, which supports all the
      warning flags.
      
      The warning flags are currently not added when compiling with clang-cl
      since this exposes some pre-existing warnings that need to be fixed first.
      88e56c2e
  4. May 27, 2021
  5. May 07, 2021
    • Brad King's avatar
      cmSystemTools: Improve CreateLink and CreateSymlink error codes · d7522b8f
      Brad King authored
      In commit 7f890539 (cmSystemTools: Return KWSys Status from CreateLink
      and CreateSymlink, 2021-04-15) we just took the `-err` from libuv and
      treated it as a POSIX error.  This is accurate on POSIX, but on Windows
      does not match the POSIX error codes.
      
      Use `uv_fs_get_system_error` to get the actual system error code.
      This requires libuv 1.38 or higher.  Require that for Windows, but
      fall back to the previous approach on POSIX.
      d7522b8f
  6. May 05, 2021
    • Kitware Robot's avatar
      KWSys 2021-05-05 (e9ca4104) · 04c6e736
      Kitware Robot authored and Brad King's avatar Brad King committed
      Code extracted from:
      
          https://gitlab.kitware.com/utils/kwsys.git
      
      at commit e9ca4104e816c28e3fcf94ce69fd75ca9498f4a7 (master).
      
      Upstream Shortlog
      -----------------
      
      Ben Boeckel (1):
            99ffa991 cmake: clear some configure checks when the deployment target changes
      
      Martin Willers (2):
            bbf6cdef Terminal: Simplify CLICOLOR_FORCE check
            f308fcfb Terminal: Disable color output when CLICOLOR is set to 0
      04c6e736
  7. Apr 22, 2021
  8. Apr 14, 2021
    • Kitware Robot's avatar
      KWSys 2021-04-14 (7ab1c601) · a7901671
      Kitware Robot authored and Brad King's avatar Brad King committed
      Code extracted from:
      
          https://gitlab.kitware.com/utils/kwsys.git
      
      at commit 7ab1c60177e76707fbdd462fdbf7304ad2532edc (master).
      
      Upstream Shortlog
      -----------------
      
      Brad King (11):
            85e76a10 Status: Add class to hold an OS-specific status of a system operation
            eec0add2 Directory: Return Status from Load
            955e7c1e SystemTools: Return Status from RemoveFile and RemoveADirectory
            c5a99e59 SystemTools: Return Status from GetPermissions and SetPermissions
            fadfd7a0 SystemTools: Return Status from Touch
            06216f0b SystemTools: Return Status from FileTimeCompare
            ab198a22 SystemTools: Return Status from GetShortPath
            2446b205 SystemTools: Return Status from MakeDirectory
            6aec6af9 SystemTools: Return Status from ChangeDirectory
            0664553b SystemTools: Return Status from copy operations
            a95f61cf SystemTools: Return Status from symlink operations
      a7901671
  9. Feb 10, 2021
  10. Feb 03, 2021
  11. Dec 09, 2020
  12. Oct 13, 2020
  13. Aug 19, 2020
  14. Jul 09, 2020
  15. Jun 24, 2020
  16. Jun 03, 2020
  17. May 27, 2020
    • Brad King's avatar
      Hard-code some try_compile results for third-party libraries · bc681fc3
      Brad King authored
      Our bundled third-party libraries perform many `try_compile` checks for
      compatibility with their upstream build systems.  For many of the checks
      we already know the result for compilers we support for building CMake
      itself, especially on Windows.  Hard-code known results to avoid running
      the checks.
      bc681fc3
    • Kitware Robot's avatar
      KWSys 2020-05-27 (a3263389) · c47501bc
      Kitware Robot authored and Brad King's avatar Brad King committed
      Code extracted from:
      
          https://gitlab.kitware.com/utils/kwsys.git
      
      at commit a3263389bcaab27fd62a23599d4ce9bdaa01479a (master).
      
      Upstream Shortlog
      -----------------
      
      Brad King (7):
            ce4941c9 IOStream: Drop this component of KWSys
            49d04c2c hashtable: Drop this component of KWSys
            a0bd892c SystemInformation: Use 'long long' unconditionally
            441dd494 Drop unused checks for 'long long' and '__int64'
            2b749749 Drop unused C type macros check
            74daf33b Drop unused Borland and OpenWatcom preprocessor conditions
            c4e8126a Drop unused CXX cstdio check
      c47501bc
  18. May 26, 2020
  19. May 11, 2020
    • Brad King's avatar
      XL: Install our Fortran 'cpp' helper script with execute permission · f7a94cf2
      Brad King authored
      This script was added by commit 19f267c7 (XL: Add support for Ninja
      and XL Fortran, 2019-11-21, v3.17.0-rc1~368^2) but does not have a `.sh`
      extension so our existing install rules neglect to give it execute
      permission.  Our test suite works on XL Fortran in the build tree but
      the script is broken without execute permission on installation.
      
      Fixes: #20695
      f7a94cf2
  20. May 07, 2020
  21. Apr 20, 2020
  22. Apr 17, 2020
  23. Apr 03, 2020
  24. Mar 30, 2020
    • Brad King's avatar
      AIX: Install ExportImportList script with execute permission · 39e5a4da
      Brad King authored
      This script was added by commit 0f150b69 (AIX: Explicitly compute
      shared object exports for both XL and GNU, 2019-07-11,
      v3.16.0-rc1~418^2~2) but does not have a `.sh` extension so our existing
      install rules neglect to give it execute permission.  Our test suite
      works on AIX in the build tree but the script is broken without execute
      permission on installation.
      
      Fixes: #20520
      39e5a4da
  25. Mar 05, 2020
    • ThePrez's avatar
      cmstd: Remove -isystem option for IBM i (OS400) · 917db816
      ThePrez authored and Brad King's avatar Brad King committed
      Much like AIX, IBM i (OS identifier "OS400") implicitly adds `extern
      "C"` around system header files included with the `-isystem` option.
      Update the condition added by commit c688b401 (cmstd: Modernize CMake
      system headers, 2019-08-04, v3.16.0-rc1~81^2~1) to treat `IBM i` as we
      do AIX.
      917db816
  26. Mar 04, 2020
    • Curl Upstream's avatar
      curl 2020-03-04 (b8d13668) · 735ea300
      Curl Upstream authored and Brad King's avatar Brad King committed
      Code extracted from:
      
          https://github.com/curl/curl.git
      
      at commit b8d1366852fd0034374c5de1e4968c7a224f77cc (curl-7_69_0).
      735ea300
    • Kitware Robot's avatar
      KWSys 2020-03-04 (6af2e592) · ec33e360
      Kitware Robot authored and Brad King's avatar Brad King committed
      Code extracted from:
      
          https://gitlab.kitware.com/utils/kwsys.git
      
      at commit 6af2e59217a7e10ed507da564a1445b60ac2a095 (master).
      
      Upstream Shortlog
      -----------------
      
      Hans Johnson (17):
            81d1e737 STYLE: Use modern path naming
            28b8e6c2 STYLE: Convert CMake-language commands to lower case
            6ce3d69a DOC: Update documentation for modern add_subdirectory.
            8a7fe7ac STYLE: Remove redundant void argument lists
            1c3e193d COMP: Use nullptr instead of 0 or NULL
            2a4c1252 STYLE: Replace integer literals which are cast to bool.
            0fe7214d STYLE: Make prototype match definition names
            3b30d0ff STYLE: Make prototype match definition names
            691d5612 PERF: readability container size empty
            7be4043f STYLE: Prefer c++11 'using' to 'typedef'
            acc916ed COMP: Prefer const pointer when value does not change
            4c7f64eb COMP: Prefer const member functions
            d07092a0 STYLE: Use default member initialization
            6d20e7c9 STYLE: Prefer = default to explicitly trivial implementations
            91429382 PERF: emplace_back method results in potentially more efficient code
            cc8fc323 STYLE: Use auto for variable type matches the type of the initializer
            6621b069 STYLE: Use range-based loops from C++11
      
      Julien Schueller (1):
            a1a261ac CMake: Fix psapi lib name on case-sensitive fs
      ec33e360
  27. Feb 17, 2020
    • Kitware Robot's avatar
      KWSys 2020-02-17 (3e117fe1) · 96dd383c
      Kitware Robot authored and Brad King's avatar Brad King committed
      Code extracted from:
      
          https://gitlab.kitware.com/utils/kwsys.git
      
      at commit 3e117fe1e008aeca4a4f33a431b196848cc34e11 (master).
      
      Upstream Shortlog
      -----------------
      
      Brad King (1):
            c2420a42 SystemTools: Revert "CopyFileIfDifferent: Ensure that source is a file"
      
      Julien Schueller (1):
            c3acc96d CMake: Fix psapi lib name on case-sensitive fs
      
      Sebastian Lipponer (2):
            573713fa SystemTools: CopyFileIfDifferent: Ensure that source is a file
            ea77593a SystemTools: CopyFileIfDifferent: Fix endless recursion
      96dd383c
  28. Feb 13, 2020
  29. Jan 20, 2020
  30. Jan 14, 2020
    • Brad King's avatar
      Enable RPATH for CMake's own binaries by default · d92bf9e8
      Brad King authored
      Reconcile the changes made by:
      
      * commit ae62f660 (ENH: CMake does not need RPATHs at all for its own executables, 2006-03-01, v2.4.0~380)
      * commit a056cffc (COMP: enable RPATH if any of the CMAKE_USE_SYSTEM_XXX variables is enabled, 2007-08-28, v2.6.0~1183)
      * commit c0108d1e (COMP: use RPATH is building QtDialog and the Qt libs are not in /lib or /usr/lib, 2007-11-05, v2.6.0~915)
      
      The overall goal of those changes was to get the RPATH set for external
      libraries when needed and also to avoid re-linking or other RPATH
      editing on installation.  We can use a simpler approach to satisfy both
      goals: always use RPATH entries for libraries found externally.  If
      there are no such libraries we will get no RPATH.  If there are such
      libraries that are not in standard paths we will get a RPATH that points
      at them.  This will work for running either from the build tree or the
      install tree, so we can use the same for both to avoid editing on
      installation.
      
      Fixes: #20185
      d92bf9e8
  31. Sep 20, 2019
    • Marc Chevrier's avatar
      cmstd: Modernize CMake system headers · c688b401
      Marc Chevrier authored and Brad King's avatar Brad King committed
      Provide a standardized way to handle the C++ "standard" headers
      customized to be used with current CMake C++ standard constraints.
      Offer under directory `cm` headers which can be used as direct
      replacements of the standard ones.  For example:
      
          #include <cm/string_view>
      
      can be used safely for CMake development in place of the `<string_view>`
      standard header.
      
      Fixes: #19491
      c688b401
  32. Aug 29, 2019
    • Kitware Robot's avatar
      KWSys 2019-08-29 (08f14d96) · f9a3f134
      Kitware Robot authored and Brad King's avatar Brad King committed
      Code extracted from:
      
          https://gitlab.kitware.com/utils/kwsys.git
      
      at commit 08f14d96b449e5d1e166998b363da16167a3ac82 (master).
      
      Upstream Shortlog
      -----------------
      
      Ben Boeckel (1):
            9afecb09 SystemTools: fix typo in junction functions
      
      Jon Chronopoulos (1):
            38486236 SystemTools: do not special case a junction in RemoveFile
      
      Rolf Eike Beer (3):
            b747462d CMake: drop needless x${VAR} tricks
            1ed70242 tests: verify SystemTools::CopyFileIfDifferent()
            f73d1b4f SystemTools: factor out "dest is directory" case from CopyFileIfDifferent()
      f9a3f134
  33. Aug 26, 2019
  34. Aug 23, 2019
Loading