[clang] ohos: fix ohos.c test case error with LLVM_ENABLE_PER_TARGET_RUNTIME_… (PR #121484)

Carlo Cabrera via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 2 08:04:15 PST 2025


carlocab wrote:

> Note: OHOS driver doesn't support the old layout, compiler-rt for ${arch}-linux-unknown-ohos targets have to be built with LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON

Can we make `cmake` error out if you try to build for `*-linux-unknown-ohos` with `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF`?

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


More information about the cfe-commits mailing list