[llvm] On Windows, make the release script work with the local git checkout (PR #78273)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 05:45:33 PST 2024


================
@@ -106,8 +108,8 @@ echo Using VS devcmd: %vsdevcmd%
 :: start echoing what we do
 @echo on
 
-set python32_dir=C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python310-32
-set python64_dir=C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python310
+set python32_dir=C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python311-32
----------------
zmodem wrote:

LLDB is super fiddly about the Python stuff, and it's great at finding the versions on my system which don't work. It's also important that the version used in the package is consistent.

In general, any probing is really bad for building reproducible packages. I think what we should really do is have the script download the exact Python versions we want.

But, for local testing it might make sense to bypass this. Maybe there could be another flag for that.

https://github.com/llvm/llvm-project/pull/78273


More information about the llvm-commits mailing list