Unverified Commit 332de4b2 authored by Joseph Huber's avatar Joseph Huber Committed by GitHub
Browse files

[Offload] Correctly reject building on unsupported architectures (#92276)

Summary:
Previously we had this `LIBOMPTARGET_ENABLED` variable which controlled
including `libomptarget`. This is now redundant since it's controlled by
`LLVM_ENABLE_RUNTIMES`. However, this had the extra effect of not
building it when given unsupported targets. THis was lost during the
move to `offload`. This patch moves this logic back and makes the
`offload` target just quit without doing anything if used on an
unsupported architecture.

https://github.com/llvm/llvm-project/issues/91881
https://github.com/llvm/llvm-project/issues/91819



---------

Co-authored-by: default avatarSylvestre Ledru <sylvestre@debian.org>
parent 3f954f57
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment