[PATCH] D84625: Execute llvm-lit with the python found by CMake by default
Alexander Richardson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 3 02:52:42 PDT 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd23b15cc1607: Execute llvm-lit with the python found by CMake by default (authored by arichardson).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84625/new/
https://reviews.llvm.org/D84625
Files:
llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
llvm/utils/llvm-lit/llvm-lit.in
Index: llvm/utils/llvm-lit/llvm-lit.in
===================================================================
--- llvm/utils/llvm-lit/llvm-lit.in
+++ llvm/utils/llvm-lit/llvm-lit.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!@Python3_EXECUTABLE@
# -*- coding: utf-8 -*-
import os
Index: llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
+++ llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
@@ -86,6 +86,7 @@
values = [
"LLVM_SOURCE_DIR=" + rebase_path("//llvm", dir),
+ "Python3_EXECUTABLE=$python_path",
"BUILD_MODE=.",
"LLVM_LIT_CONFIG_MAP=" + config_map,
]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84625.282554.patch
Type: text/x-patch
Size: 718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200803/b9e506d7/attachment.bin>
More information about the llvm-commits
mailing list