-
Notifications
You must be signed in to change notification settings - Fork 14
/
meson.options
40 lines (38 loc) · 2.8 KB
/
meson.options
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 2023-2024 National Research Foundation (SARAO)
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
option('tools', type : 'feature', value : 'enabled', description : 'Build command-line tools')
option('ibv', type : 'feature', description : 'Use ibverbs')
option('mlx5dv', type : 'feature', description : 'Use mlx5 Direct Verbs')
option('ibv_hw_rate_limit', type : 'feature', description : 'Use ibverbs hardware rate limiting')
option('pcap', type : 'feature', description : 'Support reading from pcap files')
option('cap', type : 'feature', description : 'Use libcap')
option('recvmmsg', type : 'feature', description : 'Use recvmmsg system call')
option('sendmmsg', type : 'feature', description : 'Use sendmmsg system call')
option('gso', type : 'feature', description : 'Use generic segmentation offload')
option('gro', type : 'feature', description : 'Use generic receive offload')
option('eventfd', type : 'feature', description : 'Use eventfd system call for semaphores')
option('posix_semaphores', type : 'feature', description : 'Use POSIX semaphores')
option('pthread_setaffinity_np', type : 'feature', description : 'Use pthread_setaffinity_np to set thread affinity')
option('fmv', type : 'feature', description : 'Use function multi-versioning')
option('sse2_stream', type : 'feature', description : 'Use SSE2 for non-temporal stores')
option('avx_stream', type : 'feature', description : 'Use AVX for non-temporal stores')
option('avx512_stream', type : 'feature', description : 'Use AVX-512 for non-temporal stores')
option('sve_stream', type : 'feature', description : 'Use SVE for non-temporal stores')
option('cuda', type : 'feature', description : 'Build CUDA examples')
option('gdrapi', type : 'feature', description : 'Build gdrcopy examples')
option('unit_test', type : 'feature', description : 'Build the unit tests')
option('python', type : 'boolean', value : false, description : 'Build Python bindings (for mesonpy; do not use directly)')
option('max_log_level', type : 'combo', choices : ['debug', 'info', 'warning'], value : 'info', description : 'Generate debug log messages (slow)')
option('python_split_debug', type : 'boolean', value : false, description : 'Split debug symbols into separate files (Python module only)')