"CLANG_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
"LLVM_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
- "PYTHON_EXECUTABLE=$python_path",
+ "Python3_EXECUTABLE=$python_path",
]
if (clang_enable_static_analyzer) {
"LLVM_HOST_TRIPLE=$llvm_current_triple",
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
"LLVM_USE_SANITIZER=",
- "PYTHON_EXECUTABLE=$python_path",
+ "Python3_EXECUTABLE=$python_path",
"USE_Z3_SOLVER=",
]
"LLVM_RUNTIME_OUTPUT_INTDIR=" + rebase_path("$root_out_dir/bin"),
"LLVM_SOURCE_DIR=" + rebase_path("//llvm"),
"LLVM_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
- "PYTHON_EXECUTABLE=$python_path",
+ "Python3_EXECUTABLE=$python_path",
"TARGET_TRIPLE=$llvm_target_triple",
]
values += invoker.extra_values
"LLVM_NATIVE_ARCH=$native_target",
"LLVM_USE_INTEL_JITEVENTS=0",
"LLVM_USE_SANITIZER=",
- "PYTHON_EXECUTABLE=$python_path",
+ "Python3_EXECUTABLE=$python_path",
"TARGETS_TO_BUILD=$llvm_targets_to_build_string",
"TARGET_TRIPLE=$llvm_target_triple",