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

Peng Huang via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 2 08:48:54 PST 2025


phuang 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`?

Sure. I will try adding.
And one question: will llvm deprecate the old layout? should we consider adding the old layout support for ohos?

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


More information about the cfe-commits mailing list