[PATCH] D101681: [Compiler-rt] Distinguish between testing just built runtime libraries and the libraries shipped with the compiler.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 30 18:07:26 PDT 2021


delcypher added inline comments.


================
Comment at: compiler-rt/test/lit.common.cfg.py:54
+    path = os.path.join(path, 'darwin')
+  else:
+    return None
----------------
@phosek I'd be curious how you think we should handle other platforms. If ` LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` wasn't a thing for Linux this would be just be something like.

```lang=python
if config.host_os == 'Linux':
  path = os.path.join(path, 'linux')
```

but `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` makes this more complicated.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101681



More information about the llvm-commits mailing list