[PATCH] D88957: [cmake] Fix cmake warning in standalone compiler-rt builds.

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 01:50:21 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG8e9622f96120: [cmake] Fix cmake warning in standalone compiler-rt builds. (authored by Pierre Gousseau <pierre.gousseau at sony.com>).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88957

Files:
  llvm/cmake/modules/AddLLVM.cmake


Index: llvm/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/cmake/modules/AddLLVM.cmake
+++ llvm/cmake/modules/AddLLVM.cmake
@@ -1494,6 +1494,7 @@
     if os.path.splitdrive(p)[0] != os.path.splitdrive(base)[0]: return p\n
     if haslink(p) or haslink(base): return p\n
     return os.path.relpath(p, base)\n
+if len(sys.argv) < 3: sys.exit(0)\n
 sys.stdout.write(';'.join(relpath(p) for p in sys.argv[2].split(';')))"
     ${basedir}
     ${pathlist_escaped}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88957.296894.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201008/e9f8da2b/attachment.bin>


More information about the llvm-commits mailing list