aboutsummaryrefslogtreecommitdiff
path: root/lld/test/lit.site.cfg.py.in
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2020-04-29 01:37:28 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2020-04-29 01:38:08 +0000
commit216833b32befd14079130a3b857906f4e301179c (patch)
tree3c0a2fdd3a7fafce06b5c6b8f990a3cf5307972e /lld/test/lit.site.cfg.py.in
parent409df3987cb8d6c4a9005b2e633d0116c315375d (diff)
downloadllvm-216833b32befd14079130a3b857906f4e301179c.zip
llvm-216833b32befd14079130a3b857906f4e301179c.tar.gz
llvm-216833b32befd14079130a3b857906f4e301179c.tar.bz2
Revert "Temporarily revert "build: use `find_package(Python3)` if available""
This reverts commit 35edd704e0fda09e8e634515c0b451d4a8b6b914. Revert the revert and extend the patch further to account for the use of the `PYTHONINTERP_FOUND`.
Diffstat (limited to 'lld/test/lit.site.cfg.py.in')
-rw-r--r--lld/test/lit.site.cfg.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/lit.site.cfg.py.in b/lld/test/lit.site.cfg.py.in
index 02840f8..4aa2fcd 100644
--- a/lld/test/lit.site.cfg.py.in
+++ b/lld/test/lit.site.cfg.py.in
@@ -13,7 +13,7 @@ config.lld_obj_root = "@LLD_BINARY_DIR@"
config.lld_libs_dir = "@LLVM_LIBRARY_OUTPUT_INTDIR@"
config.lld_tools_dir = "@LLVM_RUNTIME_OUTPUT_INTDIR@"
config.target_triple = "@TARGET_TRIPLE@"
-config.python_executable = "@PYTHON_EXECUTABLE@"
+config.python_executable = "@Python3_EXECUTABLE@"
config.have_zlib = @HAVE_LIBZ@
config.sizeof_void_p = @CMAKE_SIZEOF_VOID_P@