meson.options revision 14b11b2b
1# Copyright © 2018 Intel Corporation
2
3# Permission is hereby granted, free of charge, to any person obtaining a copy
4# of this software and associated documentation files (the "Software"), to deal
5# in the Software without restriction, including without limitation the rights
6# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7# copies of the Software, and to permit persons to whom the Software is
8# furnished to do so, subject to the following conditions:
9
10# The above copyright notice and this permission notice shall be included in
11# all copies or substantial portions of the Software.
12
13# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19# SOFTWARE.
20
21option(
22  'loongson-mmi',
23  type : 'feature',
24  description : 'Use Loongson MMI intrinsic optimized paths',
25)
26option(
27  'mmx',
28  type : 'feature',
29  description : 'Use X86 MMX intrinsic optimized paths',
30)
31option(
32  'sse2',
33  type : 'feature',
34  description : 'Use X86 SSE2 intrinsic optimized paths',
35)
36option(
37  'ssse3',
38  type : 'feature',
39  description : 'Use X86 SSSE3 intrinsic optimized paths',
40)
41option(
42  'vmx',
43  type : 'feature',
44  description : 'Use PPC VMX/Altivec intrinsic optimized paths',
45)
46option(
47  'arm-simd',
48  type : 'feature',
49  description : 'Use ARMv6 SIMD intrinsic optimized paths',
50)
51option(
52  'neon',
53  type : 'feature',
54  description : 'Use ARM NEON intrinsic optimized paths',
55)
56option(
57  'a64-neon',
58  type : 'feature',
59  description : 'Use ARM A64 NEON intrinsic optimized paths',
60)
61option(
62  'mips-dspr2',
63  type : 'feature',
64  description : 'Use MIPS32 DSPr2 intrinsic optimized paths',
65)
66option(
67  'rvv',
68  type : 'feature',
69  description : 'Use RISC-V Vector extension',
70)
71option(
72  'gnu-inline-asm',
73  type : 'feature',
74  description : 'Use GNU style inline assembler',
75)
76option(
77  'tls',
78  type : 'feature',
79  description : 'Use compiler support for thread-local storage',
80)
81option(
82  'cpu-features-path',
83  type : 'string',
84  description : 'Path to platform-specific cpu-features.[ch] for systems that do not provide it (e.g. Android)',
85)
86option(
87  'openmp',
88  type : 'feature',
89  description : 'Enable OpenMP for tests',
90)
91option(
92  'timers',
93  type : 'boolean',
94  value : false,
95  description : 'Enable TIMER_* macros',
96)
97option(
98  'gnuplot',
99  type : 'boolean',
100  value : false,
101  description : 'Enable output of filters that can be piped to gnuplot',
102)
103option(
104  'gtk',
105  type : 'feature',
106  description : 'Enable demos using GTK',
107)
108option(
109  'libpng',
110  type : 'feature',
111  description : 'Use libpng in tests'
112)
113option(
114  'tests',
115  type : 'feature',
116  description : 'Build tests'
117)
118option(
119  'demos',
120  type : 'feature',
121  description : 'Build demos'
122)
123