From ca16e8b40356699714df3056a5a3687faa3a2944 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. --- meson.build | 2 +- meson_options.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index e03582fa..eac5b49f 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 b095ae3a..b24578eb 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -16,7 +16,7 @@ option('savers', value: [''], description: 'Enable File Savers in thorvg') -option('use_simd', +option('vector', type: 'boolean', value: true, description: 'Enable CPU Vectorization(SIMD) in thorvg')