]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/CONFIG
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / spdk / CONFIG
1 #
2 # BSD LICENSE
3 #
4 # Copyright (c) Intel Corporation.
5 # All rights reserved.
6 #
7 # Redistribution and use in source and binary forms, with or without
8 # modification, are permitted provided that the following conditions
9 # are met:
10 #
11 # * Redistributions of source code must retain the above copyright
12 # notice, this list of conditions and the following disclaimer.
13 # * Redistributions in binary form must reproduce the above copyright
14 # notice, this list of conditions and the following disclaimer in
15 # the documentation and/or other materials provided with the
16 # distribution.
17 # * Neither the name of Intel Corporation nor the names of its
18 # contributors may be used to endorse or promote products derived
19 # from this software without specific prior written permission.
20 #
21 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 #
33
34 # Build with debug logging. Turn off for performance testing and normal usage
35 CONFIG_DEBUG?=n
36
37 # Treat warnings as errors (fail the build on any warning).
38 CONFIG_WERROR?=n
39
40 # Build with code coverage instrumentation.
41 CONFIG_COVERAGE?=n
42
43 # Build with Address Sanitizer enabled
44 CONFIG_ASAN?=n
45
46 # Build with Undefined Behavior Sanitizer enabled
47 CONFIG_UBSAN?=n
48
49 # Directory that contains the desired SPDK environment library.
50 # By default, this is implemented using DPDK.
51 CONFIG_ENV?=$(SPDK_ROOT_DIR)/lib/env_dpdk
52
53 # This directory should contain 'include' and 'lib' directories for your DPDK
54 # installation. Alternatively you can specify this on the command line
55 # with 'make DPDK_DIR=/path/to/dpdk'. This is only a valid entry
56 # when using the default SPDK environment library.
57 CONFIG_DPDK_DIR?=/path/to/dpdk
58
59 # Build SPDK FIO plugin. Requires FIO_SOURCE_DIR set to a valid
60 # fio source code directory.
61 CONFIG_FIO_PLUGIN?=n
62
63 # This directory should contain the source code directory for fio
64 # which is required for building the SPDK FIO plugin.
65 FIO_SOURCE_DIR?=/usr/src/fio
66
67 # Enable RDMA support for the NVMf target.
68 # Requires ibverbs development libraries.
69 CONFIG_RDMA?=n
70
71 # Build Ceph RBD support in bdev modules
72 # Requires librbd development libraries
73 CONFIG_RBD?=n
74
75 # Build vhost library.
76 CONFIG_VHOST?=y