You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
1.4 KiB

cc_binary {
name: "sample_npu",
vendor: true,
srcs: [
"sample_npu_main.c",
"sample_npu_model.c",
"sample_npu_process.c",
],
include_dirs: [
"vendor/platform/secure_c/include",
"vendor/platform/npu/include/acl",
],
header_libs: [
"libuapi_memory_headers",
"drv_generic_headers",
],
shared_libs: [
"liblog",
"libuapi_securec",
"libuapi_memory",
"libascendcl",
],
cflags: [
"-DLOG_TAG=\"sample_npu\"",
"-DCONFIG_SOCT_LOG_SUPPORT",
"-Wformat",
"-Wlong-long",
"-Wpointer-arith",
"-fstack-protector-all",
"-fPIC",
"-Werror",
"-Wall",
],
clang: true,
}
cc_binary {
name: "sample_npu_smmu_test",
vendor: true,
srcs: [
"sample_npu_smmu_test.c",
],
include_dirs: [
"vendor/platform/secure_c/include",
],
header_libs: [
"libuapi_memory_headers",
"drv_generic_headers",
],
shared_libs: [
"libuapi_securec",
"libuapi_memory",
],
cflags: [
"-DLOG_TAG=\"sample_npu_smmu_test\"",
"-DCONFIG_SOCT_LOG_SUPPORT",
"-Wformat",
"-Wlong-long",
"-Wpointer-arith",
"-fstack-protector-all",
"-fPIC",
"-Werror",
"-Wall",
],
clang: true,
}