| iree_cc_library( |
| NAME |
| util_base |
| HDRS |
| "util.h" |
| SRCS |
| "util.c" |
| DEPS |
| ::alloc |
| iree::modules::hal |
| ) |
| |
| # static library using regular HAL |
| iree_cc_library( |
| NAME |
| util_static |
| DEPS |
| ::util_base |
| device::device_static_loader |
| ) |
| |
| # vmvx using regular HAL |
| iree_cc_library( |
| NAME |
| util_vmvx |
| DEPS |
| ::util_base |
| device::device_vmvx_loader |
| ) |
| |
| # static library using inline HAL |
| iree_cc_library( |
| NAME |
| util_static_inline |
| HDRS |
| "util.h" |
| SRCS |
| "util.c" |
| DEPS |
| ::alloc |
| device::device_static_loader |
| iree::modules::hal::inline |
| iree::modules::hal::loader |
| COPTS |
| "-DBUILD_LOADER_HAL" |
| ) |
| |
| # vmvx using inline HAL |
| iree_cc_library( |
| NAME |
| util_vmvx_inline |
| HDRS |
| "util.h" |
| SRCS |
| "util.c" |
| DEPS |
| ::alloc |
| device::device_vmvx_loader |
| iree::modules::hal::inline |
| COPTS |
| "-DBUILD_INLINE_HAL" |
| ) |
| |
| iree_cc_library( |
| NAME |
| alloc |
| HDRS |
| "alloc.h" |
| SRCS |
| "alloc.c" |
| DEPS |
| iree::base |
| ) |