We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6f32a commit c7aff9aCopy full SHA for c7aff9a
llvm/cmake/modules/AddLLVM.cmake
@@ -1457,7 +1457,7 @@ function(configure_lit_site_cfg site_in site_out)
1457
1458
string(CONCAT LIT_SITE_CFG_IN_HEADER "${LIT_SITE_CFG_IN_HEADER}\n\n"
1459
"# Allow generated lit.site.cfg.py to be relocatable.\n"
1460
- "def path(p): return os.path.join(os.path.dirname(__file__), p).replace(os.sep, '/') if p else ''\n"
+ "def path(p): return os.path.normpath(os.path.join(os.path.dirname(__file__), p)).replace(os.sep, '/') if p else ''\n"
1461
)
1462
1463
# Override config_target_triple (and the env)
0 commit comments