[llvm] c7aff9a - another wild guess at the win bot-only failures

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 18:23:14 PDT 2020


Author: Nico Weber
Date: 2020-04-02T21:23:05-04:00
New Revision: c7aff9a109b611e4954a3055061a8076b4baa385

URL: https://github.com/llvm/llvm-project/commit/c7aff9a109b611e4954a3055061a8076b4baa385
DIFF: https://github.com/llvm/llvm-project/commit/c7aff9a109b611e4954a3055061a8076b4baa385.diff

LOG: another wild guess at the win bot-only failures

Added: 
    

Modified: 
    llvm/cmake/modules/AddLLVM.cmake

Removed: 
    


################################################################################
diff  --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 303962bf7d82..29eacf260586 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)


        


More information about the llvm-commits mailing list