build: renamed the cpu vectorization option. accepted/tizen/unified/20210822.213320 submit/tizen/20210819.014835
authorHermet Park <chuneon.park@samsung.com>
Wed, 18 Aug 2021 10:00:48 +0000 (19:00 +0900)
committerHermet Park <chuneon.park@samsung.com>
Wed, 18 Aug 2021 10:07:31 +0000 (19:07 +0900)
Change-Id: Id4de4fe05dcdfc550e81479ffe93e973ef958c94

meson.build
meson_options.txt

index e03582f..eac5b49 100644 (file)
@@ -43,7 +43,7 @@ endif
 cpu_avx = false
 cpu_neon = false
 
-if get_option('use_simd') == true
+if get_option('vector') == true
   if host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64'
     config_h.set10('THORVG_AVX_VECTOR_SUPPORT', true)
     cpu_avx = true
index 7ceeb7e..2e352ae 100644 (file)
@@ -16,8 +16,7 @@ option('savers',
    value: ['tvg_beta'],
    description: 'Enable File Savers in thorvg')
 
-
-option('use_simd',
+option('vector',
    type: 'boolean',
    value: true,
    description: 'Enable CPU Vectorization(SIMD) in thorvg')