blob: 3bbbebc20e0c079187f4e800d112c95758ed5d88 [file] [log] [blame]
iree_cc_library(
NAME
util_base
HDRS
"util.h"
SRCS
"util.c"
DEPS
::alloc
iree::base
iree::hal
iree::hal::local
iree::hal::drivers::local_sync::sync_driver
iree::modules::hal
iree::vm
iree::vm::shims_emitc
)
# 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::base
iree::hal
iree::hal::local
iree::hal::drivers::local_sync::sync_driver
iree::modules::hal
iree::modules::hal::inline
iree::modules::hal::loader
iree::vm
iree::vm::shims_emitc
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::base
iree::hal
iree::hal::local
iree::hal::drivers::local_sync::sync_driver
iree::modules::hal
iree::modules::hal::inline
iree::vm
iree::vm::shims_emitc
COPTS
"-DBUILD_INLINE_HAL"
)
iree_cc_library(
NAME
alloc
HDRS
"alloc.h"
SRCS
"alloc.c"
DEPS
iree::base
)