[all-commits] [llvm/llvm-project] 44de2b: [CIR][cmake] Add support for cmake variable CLANG_...

Nathan Lanza via All-commits all-commits at lists.llvm.org
Thu Apr 11 13:56:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44de2bb6949f0ca62a2e16506fe3d91be14e6d23
      https://github.com/llvm/llvm-project/commit/44de2bb6949f0ca62a2e16506fe3d91be14e6d23
  Author: Nathan Lanza <nathanlanza at gmail.com>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    M clang/CMakeLists.txt
    A clang/include/clang/CIR/CMakeLists.txt
    M clang/include/clang/CMakeLists.txt
    M clang/include/clang/Config/config.h.cmake
    A clang/lib/CIR/CMakeLists.txt
    M clang/lib/CMakeLists.txt
    M clang/test/CMakeLists.txt
    M clang/test/lit.site.cfg.py.in

  Log Message:
  -----------
  [CIR][cmake] Add support for cmake variable CLANG_ENABLE_CIR

Introduce a cmake variable that guards the inclusion of ClangIR into the
build of clang. Guard that we aren't trying to build without MLIR. Add
two subdirectories that, as of now, don't do anything.

Reviewers: bcardosolopes, erichkeane, petrhosek, Ericson2314

Reviewed By: bcardosolopes

Pull Request: https://github.com/llvm/llvm-project/pull/86078



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list