From a832ac073de6e70d150d334b8c70bf8177b1acc4 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 18 Aug 2021 19:00:48 +0900 Subject: [PATCH] build: renamed the cpu vectorization option. Change-Id: Id4de4fe05dcdfc550e81479ffe93e973ef958c94 --- meson.build | 2 +- meson_options.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index e03582f..eac5b49 100644 --- a/meson.build +++ b/meson.build @@ -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 diff --git a/meson_options.txt b/meson_options.txt index 7ceeb7e..2e352ae 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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') -- 2.7.4