From c7aff9a109b611e4954a3055061a8076b4baa385 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 2 Apr 2020 21:22:15 -0400 Subject: [PATCH] another wild guess at the win bot-only failures --- llvm/cmake/modules/AddLLVM.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 303962b..29eacf2 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -1457,7 +1457,7 @@ function(configure_lit_site_cfg site_in site_out) string(CONCAT LIT_SITE_CFG_IN_HEADER "${LIT_SITE_CFG_IN_HEADER}\n\n" "# Allow generated lit.site.cfg.py to be relocatable.\n" - "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" ) # Override config_target_triple (and the env) -- 2.7.4