[PATCH] D152709: [lit] Avoid os.path.realpath in lit.py due to MAX_PATH limitations on Windows
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 12 14:18:17 PDT 2023
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
================
Comment at: llvm/utils/lit/lit/discovery.py:59
if config_map:
- cfgpath = os.path.realpath(cfgpath)
- target = config_map.get(os.path.normcase(cfgpath))
+ target = config_map.get(os.path.normcase(os.path.realpath(cfgpath)))
if target:
----------------
I see this uses realpath and that must be intentional.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152709/new/
https://reviews.llvm.org/D152709
More information about the llvm-commits
mailing list