[all-commits] [llvm/llvm-project] 61c8ee: [clang] Move CLANG_BOOTSTRAP_CMAKE_ARGS above PASS...

Xin-Xin Wang via All-commits all-commits at lists.llvm.org
Fri Dec 13 19:05:31 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 61c8ee6a2fa490bc224d006cd03efd650f6561bb
      https://github.com/llvm/llvm-project/commit/61c8ee6a2fa490bc224d006cd03efd650f6561bb
  Author: Xin-Xin Wang <get at xin-xin.me>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M clang/CMakeLists.txt

  Log Message:
  -----------
  [clang] Move CLANG_BOOTSTRAP_CMAKE_ARGS above PASSTHROUGH_VARIABLES

I want to pass some CMake cache files in CLANG_BOOTSTRAP_CMAKE_ARGS as
`-C <cache file>.cmake` arguments. I want to be able to use the values
of the bootstrap passthrough variables in the cache files, so the cache
file arguments need to be after passthrough variables. This should be
safe because the values of passthrough variables are all constants and
can't refer to values in CLANG_BOOTSTRAP_CMAKE_ARGS.

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




More information about the All-commits mailing list