From 4cfb8c14dd46d71fd5d58b13681471d189da55e5 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 --- cmake/modules/AddLLVM.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 303962bf7d8..29eacf26058 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/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)