| e222b17f | 27-Oct-2020 |
Bruce Richardson <[email protected]> |
devtools: allow custom set of examples in build test
To test the installation process of DPDK using "ninja install" test-meson-builds.sh builds a subset of the examples using "make". To allow more f
devtools: allow custom set of examples in build test
To test the installation process of DPDK using "ninja install" test-meson-builds.sh builds a subset of the examples using "make". To allow more flexibility for people testing, allow the set of examples chosen for this make test to be overridden using variable "DPDK_BUILD_TEST_EXAMPLES" in the environment.
Since a number of example apps link against drivers directly even for shared builds, we need to ensure that LD_LIBRARY_PATH points to the main DPDK lib folder so any dependencies of those drivers can be found e.g. that the PCI/vdev bus driver .so is found. [All drivers are symlinked from drivers dir back to lib dir on install, so only one dir rather than two is needed in the path.]
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: David Marchand <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
| 252e92ee | 12-Nov-2020 |
David Marchand <[email protected]> |
devtools: fix x86-default build test install env
The x86-default environment was loaded after installing this target. I did not see any problem with it, yet we should load corresponding environment
devtools: fix x86-default build test install env
The x86-default environment was loaded after installing this target. I did not see any problem with it, yet we should load corresponding environment before installing a target.
Fixes: bd253daa7717 ("devtools: fix test of ninja install") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]>
show more ...
|
| a7a9199a | 06-Nov-2020 |
Thomas Monjalon <[email protected]> |
devtools: reduce build test verbosity
The default verbosity of test-meson-builds.sh is to be quiet. In order to better apply the verbosity policy, some file descriptors are open to redirect to stdou
devtools: reduce build test verbosity
The default verbosity of test-meson-builds.sh is to be quiet. In order to better apply the verbosity policy, some file descriptors are open to redirect to stdout or /dev/null accordingly.
The target variable and meson/ninja commands are printed in verbose modes. The installation commands are printed only in very verbose mode. The examples build commands are printed only in very verbose mode.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| a655cbd5 | 09-Nov-2020 |
Thomas Monjalon <[email protected]> |
devtools: fix build test config inheritance from env
The variables DPDK_MESON_OPTIONS, PATH, PKG_CONFIG_PATH, CPPFLAGS, CFLAGS and LDFLAGS can be customized in the config file loaded by devtools/loa
devtools: fix build test config inheritance from env
The variables DPDK_MESON_OPTIONS, PATH, PKG_CONFIG_PATH, CPPFLAGS, CFLAGS and LDFLAGS can be customized in the config file loaded by devtools/load-devel-config at each build. The configuration can be adjusted per target thanks to the value set in the DPDK_TARGET variable.
PKG_CONFIG_PATH is specific to each target, so it must be empty before configuring each build from the file according to DPDK_TARGET. Inheriting a default PKG_CONFIG_PATH for all targets does not make sense and is prone to confusion.
DPDK_MESON_OPTIONS might take a global initial value from environment to customize a build test from the shell. Example: DPDK_MESON_OPTIONS="b_lto=true" Some target-specific options can be added in the configuration file: DPDK_MESON_OPTIONS="$DPDK_MESON_OPTIONS kernel_dir=$MYKERNEL"
Fixes: 272236741258 ("devtools: load target-specific compilation environment") Cc: [email protected]
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Ferruh Yigit <[email protected]> Tested-by: Jerin Jacob <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
| a6fc38f3 | 11-Aug-2020 |
Thomas Monjalon <[email protected]> |
devtools: fix ABI update in map files
The script was using the full ABI version, including the minor number, to version the symbols in the map files. It is fixed to use only the major number for sym
devtools: fix ABI update in map files
The script was using the full ABI version, including the minor number, to version the symbols in the map files. It is fixed to use only the major number for symbol versioning.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
| fcea4c8e | 04-Aug-2020 |
Adrian Moreno <[email protected]> |
devtools: ignore Linux-style fallthrough warning
The PREFER_FALLTHROUGH check warns if a passthrough comment is found because, in the kernel, the special macro "fallthrough" is preferred.
Since tha
devtools: ignore Linux-style fallthrough warning
The PREFER_FALLTHROUGH check warns if a passthrough comment is found because, in the kernel, the special macro "fallthrough" is preferred.
Since that keyword is not defined in DPDK, ignore the warning.
Ignoring this check does not affect the MISSING_BREAK check that will warn if a switch case/default is not preceded by break or a fallthrough comment.
Signed-off-by: Adrian Moreno <[email protected]> Acked-by: Ferruh Yigit <[email protected]> Acked-by: Chenbo Xia <[email protected]>
show more ...
|
| 7539c73d | 06-Aug-2020 |
Ferruh Yigit <[email protected]> |
devtools: add acronyms in dictionary for commit checks
GTPU -> GPRS Tunnelling Protocol User Plane MSI -> Message Signalled Interrupts MSI-X -> Message Signalled Interrupts (Extended) TCAM -> Te
devtools: add acronyms in dictionary for commit checks
GTPU -> GPRS Tunnelling Protocol User Plane MSI -> Message Signalled Interrupts MSI-X -> Message Signalled Interrupts (Extended) TCAM -> Ternary Content Addressable Memory ULP -> Upper Layer Protocol XOR -> Exclusive OR
Signed-off-by: Ferruh Yigit <[email protected]>
show more ...
|
| a8354c99 | 23-Jun-2020 |
Ciara Power <[email protected]> |
devtools: summarize git log check
When all checks are completed on the specified commit logs, the script indicates if all are valid, or if there were some failures.
Signed-off-by: Ciara Power <ciar
devtools: summarize git log check
When all checks are completed on the specified commit logs, the script indicates if all are valid, or if there were some failures.
Signed-off-by: Ciara Power <[email protected]> Acked-by: Ferruh Yigit <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| b1214d98 | 23-Jun-2020 |
Ciara Power <[email protected]> |
devtools: standardize script arguments
This patch modifies the arguments expected by the check-git-log script, to match the format of arguments for the checkpatches script. Both scripts now take cer
devtools: standardize script arguments
This patch modifies the arguments expected by the check-git-log script, to match the format of arguments for the checkpatches script. Both scripts now take certain argument options in the same format, making them easier to use. e.g. Both now take a commit ID range by "-r <range>"
The checkpatches help print is also updated to include the "-h" option.
The contributor's guide includes the usage of both the checkpatches and check-git-log scripts, which needed to be updated to reflect the now standardised format.
Signed-off-by: Ciara Power <[email protected]> Acked-by: Ferruh Yigit <[email protected]> Reviewed-by: Thomas Monjalon <[email protected]>
show more ...
|
| 7dba4148 | 07-Jul-2020 |
Thomas Monjalon <[email protected]> |
devtools: add checkpatch spelling dictionary builder
The script checkpatch.pl (used in checkpatches.sh) can use a dictionary from the codespell project to check spelling. There are multiple dictiona
devtools: add checkpatch spelling dictionary builder
The script checkpatch.pl (used in checkpatches.sh) can use a dictionary from the codespell project to check spelling. There are multiple dictionaries to be used.
The script build-dict.sh concatenate multiple dictionaries and remove some annoying false positives.
The dictionary built by this script must be saved in a file which is referenced with the environment variable DPDK_CHECKPATCH_CODESPELL. The easiest is to export this variable in ~/.config/dpdk/devel.config.
Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|