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