[llvm] [BOLT][NFC] Using target_triple in lit config (PR #144078)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 13 07:32:09 PDT 2025


================
@@ -1,4 +1,4 @@
-host_linux_triple = config.target_triple.split("-")[0] + "-unknown-linux-gnu"
----------------
aaupov wrote:

By using a linux triple regardless of the actual triple (mac, windows, ...) and passing it to clang target option below, we get ELF binaries on all platforms.

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


More information about the llvm-commits mailing list