[all-commits] [llvm/llvm-project] 96962d: [clang] set python3 as required build dependency

Petr Hosek via All-commits all-commits at lists.llvm.org
Fri Jun 9 00:53:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96962d5512fbc6af0ada0f13e6be332c026529cb
      https://github.com/llvm/llvm-project/commit/96962d5512fbc6af0ada0f13e6be332c026529cb
  Author: Petr Hosek <phosek at google.com>
  Date:   2023-06-09 (Fri, 09 Jun 2023)

  Changed paths:
    M clang/CMakeLists.txt

  Log Message:
  -----------
  [clang] set python3 as required build dependency

The required HTMLLogger include file needs python3 to run
resource_bundle.py to bundle all the html/css/js resources. However, if
user sets -DLLVM_INCLUDE_TESTS=OFF, CMake will not find python3 and the
resource bundler will never be executed. This patch set the python3 as a
required build dependency to fix this problem.

Patch By: Avimitin

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




More information about the All-commits mailing list