[PATCH] D154130: [lit][clang] Avoid realpath on Windows due to MAX_PATH limitations
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 2 05:29:29 PDT 2023
RKSimon added inline comments.
================
Comment at: llvm/utils/lit/lit/discovery.py:60
+ cfgpath = util.abs_path_preserve_drive(cfgpath)
+ target = config_map.get(cfgpath)
if target:
----------------
Found the problem - you have moved the os.path.normpath call inside abs_path_preserve_drive, causing the path canonicalization fails - removing it and going back to os.path.normcase(cfgpath) seems to fix the issue - I'll push my fix shortly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154130/new/
https://reviews.llvm.org/D154130
More information about the llvm-commits
mailing list