project('npu-engine', ['c', 'cpp'],
- version: '2.3.14',
- license: ['Proprietary'],
+ version: '2.5.0',
+ license: ['Apache-2.0'],
meson_version: '>=0.47.0',
default_options: [
'werror=true',
'-Wvla',
'-Wpointer-arith',
'-Wno-sign-compare',
+ '-Wno-packed-not-aligned'
]
foreach extra_arg : warning_c_flags
ne_common_inc = include_directories('include/common')
ne_host_inc = include_directories('include/host')
+ne_uapi_inc = include_directories('include/uapi')
# Check build platform
target_platform = get_option('target_platform')
add_project_arguments('-DENABLE_EMUL', language: ['c', 'cpp'])
endif
+if get_option('enable_npu_cuse')
+ add_project_arguments('-DENABLE_CUSE', language: ['c', 'cpp'])
+endif
+
if sysroot.startswith('/')
sysroot_inc_cflags_template = '-I@0@/usr/include@1@'
sysroot_inc = sysroot_inc_cflags_template.format(sysroot, '')