[clang] [clang-tools-extra] [llvm] [polly] [Unittest][Cygwin] Set $PATH when running unittests (PR #163947)
Martin Storsjö via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 17 14:15:31 PDT 2025
================
@@ -19,12 +19,12 @@
if platform.system() == "Darwin":
shlibpath_var = "DYLD_LIBRARY_PATH"
-elif platform.system() == "Windows":
+elif platform.system() == "Windows" or sys.platform == "cygwin":
shlibpath_var = "PATH"
else:
shlibpath_var = "LD_LIBRARY_PATH"
config.environment[shlibpath_var] = os.path.pathsep.join(
- ("@SHLIBDIR@", "@LLVM_LIBS_DIR@", config.environment.get(shlibpath_var, ""))
+ (config.shlibdir, config.llvm_libs_dir, config.environment.get(shlibpath_var, ""))
----------------
mstorsjo wrote:
I don't understand what this change does here and how it relates to the rest of this change, same for the file below.
https://github.com/llvm/llvm-project/pull/163947
More information about the cfe-commits
mailing list