[all-commits] [llvm/llvm-project] 332de4: [Offload] Correctly reject building on unsupported...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed May 15 09:39:03 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 332de4b2677ce7a95cc2df30d761fbb55376fe07
https://github.com/llvm/llvm-project/commit/332de4b2677ce7a95cc2df30d761fbb55376fe07
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-15 (Wed, 15 May 2024)
Changed paths:
M offload/CMakeLists.txt
M openmp/CMakeLists.txt
Log Message:
-----------
[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: Sylvestre Ledru <sylvestre at debian.org>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list