[compiler-rt] Reland "[compiler-rt][test] Use packaging.version.Version to compare glibc versions" (#158230)" (PR #158236)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 12 01:12:05 PDT 2025


DavidSpickett wrote:

https://github.com/llvm/llvm-project/blob/5374f16270f02fdbedbbba96951a8b9ffd9c482f/compiler-rt/test/lit.common.cfg.py#L754 is the code that looks for the macros.

To get to using `Version`, both must have been defined, but one or both of them could be empty. Perhaps we need to handle that.

https://github.com/llvm/llvm-project/pull/158236


More information about the llvm-commits mailing list