[PATCH] D154130: [lit][clang] Avoid realpath on Windows due to MAX_PATH limitations

Simon Pilgrim via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 2 04:38:36 PDT 2023


RKSimon added a comment.

@MrTrillian This is failing for me with:

  C:\LLVM\ninja>ninja check-llvm-codegen-x86
  [0/1/0/1] Running lit suite C:/LLVM/llvm-project/llvm/test/CodeGen/X86llvm-lit.py: C:\LLVM\llvm-project\llvm\utils\lit\lit\TestingConfig.py:151: fatal: unable to parse config file 'C:\\LLVM\\llvm-project\\llvm\\test\\lit.cfg.py', traceback: Traceback (most recent call last):
    File "C:\LLVM\llvm-project\llvm\utils\lit\lit\TestingConfig.py", line 139, in load_from_path
      exec(compile(data, path, "exec"), cfg_globals, None)
    File "C:\LLVM\llvm-project\llvm\test\lit.cfg.py", line 21, in <module>
      config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^
  AttributeError: 'NoneType' object has no attribute 'use_lit_shell'


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154130/new/

https://reviews.llvm.org/D154130



More information about the cfe-commits mailing list