[Action] upload meson test log if test failed
[platform/adaptation/npu/trix-engine.git] / meson.build
index 8033a11..f1c17f5 100644 (file)
@@ -1,6 +1,6 @@
 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',
@@ -37,6 +37,7 @@ warning_flags = [
   '-Wvla',
   '-Wpointer-arith',
   '-Wno-sign-compare',
+  '-Wno-packed-not-aligned'
 ]
 
 foreach extra_arg : warning_c_flags
@@ -74,6 +75,7 @@ add_project_arguments('-DNE_DATADIR="' + ne_datadir + '"', language: ['c', 'cpp'
 
 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')
@@ -99,6 +101,10 @@ if get_option('enable_npu_emul')
   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, '')