[all-commits] [llvm/llvm-project] b07177: [Libomptarget] Rework interface for enabling plugi...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Apr 29 09:19:00 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b07177fb68d396cc9063ac4899e4d67f6765597f
https://github.com/llvm/llvm-project/commit/b07177fb68d396cc9063ac4899e4d67f6765597f
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-04-29 (Mon, 29 Apr 2024)
Changed paths:
M offload/CMakeLists.txt
A offload/include/Shared/Targets.def.in
M offload/plugins-nextgen/CMakeLists.txt
M offload/plugins-nextgen/common/CMakeLists.txt
M offload/src/CMakeLists.txt
M offload/src/PluginManager.cpp
Log Message:
-----------
[Libomptarget] Rework interface for enabling plugins (#86875)
Summary:
Previously we would build all of the plugins by default and then only
load some using the `LIBOMPTARGET_PLUGINS_TO_LOAD` variable. This patch
renamed this to `LIBOMPTARGET_PLUGINS_TO_BUILD` and changes whether or
not it will include the plugin in CMake.
Additionally this patch creates a new `Targets.def` file that allows us
to enumerate all of the enabled plugins. This is somewhat different from
the old method, and it's done this way for future use that will need to
be shared. This follows the same method that LLVM uses for its targets,
however it does require adding an extra include path.
Depends on https://github.com/llvm/llvm-project/pull/86868
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