[all-commits] [llvm/llvm-project] b05f16: [Test] Invoke GetErrcMessages from config-ix inste...

Justin Bogner via All-commits all-commits at lists.llvm.org
Tue Feb 21 16:07:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b05f16bb9ecc3b67a357bf01697e974704e10fa2
      https://github.com/llvm/llvm-project/commit/b05f16bb9ecc3b67a357bf01697e974704e10fa2
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/cmake/config-ix.cmake

  Log Message:
  -----------
  [Test] Invoke GetErrcMessages from config-ix instead of llvm/CMakeLists

Since GetErrcMessages uses cmake's `try_run` mechanism it's sensitive
to changes to CMAKE_CXX_FLAGS, so we move it into config-ix with the
similar flag-sensitive configuration. This makes it run before
HandleLLVMOptions and avoids issues with LLVM_ENABLE_WERROR and other
configuration that manipulate CMAKE_CXX_FLAGS.

Differential Revision: https://reviews.llvm.org/D144526


  Commit: 88bd2601c013e349fa907b3f878312a94e16e9f6
      https://github.com/llvm/llvm-project/commit/88bd2601c013e349fa907b3f878312a94e16e9f6
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M llvm/.gitattributes

  Log Message:
  -----------
  [Test] Set gitattributes for line endings in tapi inputs

LLVM's parsing of .tbd files errors out with "unsupported file type"
if the tbd files have CRLF line endings. Add gitattributes for the
inputs to avoid test failures on windows.

Differential Revision: https://reviews.llvm.org/D144527


Compare: https://github.com/llvm/llvm-project/compare/141471a0cbf2...88bd2601c013


More information about the All-commits mailing list