================
@@ -32,6 +32,8 @@
 
 if "HOME" in os.environ:
     config.environment["HOME"] = os.environ["HOME"]
+if "SystemDrive" in os.environ:
+    config.environment["SystemDrive"] = os.environ["SystemDrive"]
----------------
cor3ntin wrote:

can we do something like

```py
# Propagate directories. Wrong values might be used on windows otherwise
for key in ["TMP", "TEMP", "HOME", "SystemDrive"]:
  config.environment[key] = os.environ[key]
```

https://github.com/llvm/llvm-project/pull/90478
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to