Skip to content
Snippets Groups Projects
  1. Jun 01, 2022
  2. May 31, 2022
  3. May 27, 2022
  4. May 19, 2022
  5. Apr 26, 2022
  6. Apr 25, 2022
  7. Mar 26, 2022
    • Brad King's avatar
      Merge branch 'aix-exe-exports' into release-3.21 · 024204fe
      Brad King authored
      Merge-request: !7120
      024204fe
    • Brad King's avatar
      AIX: Fix executable ENABLE_EXPORTS in Makefile generators · a8dae21a
      Brad King authored
      In commit afcd9fe6 (AIX: Add an option to disable automatic exports
      from shared libraries, 2020-01-30, v3.17.0-rc1~47^2) the population of
      the `<AIX_EXPORTS>` rule variable placeholder was accidentally added to
      the device linking rule rather than the main linking rule.  This caused
      our `ExportImportList` script on AIX, when called for executables with
      `ENABLE_EXPORTS` set, to be given an `AIX_EXPORTS` file name that does
      not exist, leading to a warning from the `dump` tool.
      
      Move the population of the `<AIX_EXPORTS>` placeholder in the Makefile
      generators to the main link rule.
      
      Issue: #20290
      a8dae21a
  8. Mar 21, 2022
  9. Mar 18, 2022
    • Brad King's avatar
      Utilities/Release: Add "source" stage to Windows docker spec · a6aa88e5
      Brad King authored
      Revise the spec added by commit ff929bad (Utilities/Release: Add
      docker specs to build and test Windows binaries, 2020-05-05,
      v3.18.0-rc1~203^2~1) to add a `source` stage that stops just after
      copying the source tree into the image.  This provides more granular
      control to driving scripts.
      a6aa88e5
  10. Mar 16, 2022
  11. Mar 11, 2022
  12. Mar 08, 2022
  13. Mar 04, 2022
  14. Mar 03, 2022
  15. Feb 28, 2022
    • Brad King's avatar
      Merge branch 'FindThreads-revert-libc-pthread-flag' into release-3.21 · 02b04f1c
      Brad King authored
      Merge-request: !7025
      02b04f1c
    • Brad King's avatar
      FindThreads: Revert "Honor THREADS_PREFER_PTHREAD_FLAG when ... in libc" · c6da90bd
      Brad King authored
      Revert commit 5efb6fb5 (FindThreads: Honor THREADS_PREFER_PTHREAD_FLAG
      when pthread is found in libc, 2021-11-03, v3.21.5~4^2).  The check for
      the `-pthread` flag can pass on compilers like XL, that interprets it as
      `-p -t hread` and returns zero.  Prior to that commit, we did not use
      the check in the `CMAKE_HAVE_LIBC_PTHREAD` code path.  Now we do, it
      succeeds, and we incorrectly add the `-pthread` flag for XL.
      
      This change was backported to the 3.21 and 3.22 release series long
      after they initially came out.  Since there may be more cases where we
      now add `-pthread` incorrectly, it is simplest to revert the change in
      all release series pending further investigation.
      
      Fixes: #23270
      c6da90bd
  16. Feb 09, 2022
    • Brad King's avatar
      Merge branch 'backport-IntelLLVM-depfile-flags' into release-3.21 · be20a94f
      Brad King authored
      Merge-request: !6964
      be20a94f
    • William R. Dieter's avatar
      IntelLLVM: Add dependencies on system header files on Windows · a8b6bf9a
      William R. Dieter authored and Brad King's avatar Brad King committed
      
      In commit a90d2a9e (IntelLLVM: Add support for Intel LLVM-based
      compilers, 2020-11-02, v3.20.0-rc1~89^2~20) the IntelLLVM depfile
      generation flags were taken from `Platform/Windows-Intel-C`.  Those
      flags were added by commit a624a3e1 (Ninja: Use deps=gcc for Intel
      Compiler on Windows, 2019-01-30, v3.14.0-rc1~30^2), which forgot to
      account for commit 6d74e787 (Ninja: Add dependencies on
      system-provided header files, 2016-03-15, v3.6.0-rc1~265^2).
      
      The `-QMD` option generates Makefile dependencies.  The `-QMMD` option
      generates Makefile dependencies, but excludes system header files.
      Part of the BuildDepends test includes a header, cmake_pch.hxx, that
      includes a second header, zot_pch.hxx.  The test builds a pch file for
      cmake_pch.hxx, touches zot_pch.hxx, then verifes that cmake_pch.hxx.pch
      is regenerated based on the dependencies.
      
      The cmake_pch.hxx contains `#pragma system_header` before it includes
      zot_pch.hxx.  `#pragma system_header` indicates that the portion of the
      file following the pragma is to be treated as a system header.
      
      When `-QMMD` is used to generate dependencies, the `#include` of
      zot_pch.hxx is ignored because it `-QMMD` says to ignore system headers.
      
      Using `-QMD` instead uses all headers when generating dependencies
      and causes this test to pass.  The Clang configuration in
      Platform/Windows-Clang.cmake also uses the `-MD` option for generating
      pre-compiled headers, instead of `-MMD`.
      
      Signed-off-by: default avatarWilliam R. Dieter <william.r.dieter@intel.com>
      a8b6bf9a
    • Brad King's avatar
      Intel: Add dependencies on system header files on Windows · 94f1bbdd
      Brad King authored
      In commit a624a3e1 (Ninja: Use deps=gcc for Intel Compiler on Windows,
      2019-01-30, v3.14.0-rc1~30^2) we forgot to account for commit 6d74e787
      (Ninja: Add dependencies on system-provided header files, 2016-03-15,
      v3.6.0-rc1~265^2).
      94f1bbdd
    • Brad King's avatar
      Merge branch 'doc-MSVC_TOOLSET_VERSION-v143' into release-3.21 · 4423fa2b
      Brad King authored
      Merge-request: !6966
      4423fa2b
    • Heiko Thiel's avatar
      Help: Add MSVC_TOOLSET_VERSION value for v143 toolset · dca3a032
      Heiko Thiel authored and Brad King's avatar Brad King committed
      This was accidentally left out of commit f01ea7e3 (MSVC: Fix
      MSVC_TOOLSET_VERSION for VS 2022 v143 toolset, 2019-04-03,
      v3.21.3~10^2~1).
      dca3a032
  17. Feb 01, 2022
  18. Jan 31, 2022
  19. Jan 27, 2022
    • Brad King's avatar
      Merge branch 'message-flush' into release-3.21 · 9025bde5
      Brad King authored
      Merge-request: !6913
      9025bde5
    • Brad King's avatar
      message: Restore explicit flushing of messages on stderr · 634587e3
      Brad King authored
      In the `cmake` command-line tool, the `message()` command with no
      message mode argument prints the message stderr using the C++ `cerr`
      stream.  Since commit 0a0a0f8a (cmMessenger: Color messages to
      terminal by type, 2021-05-18, v3.21.0-rc1~146^2) and an update by
      commit c7a8c9c8 (cmMessenger: Revert to non-color messages on
      Windows, 2021-07-20, v3.21.1~15^2), we print the newline at the end of
      the message using just `\n`.  We've now observed some cases of output
      on stdout and stderr getting jumbled when the two go to the same file
      descriptor.  Previously the newline was printed with `endl`, which
      implicitly flushes.  Flush explicitly to restore that behavior.
      
      Fixes: #23155
      634587e3
  20. Jan 26, 2022
Loading