| d879f575 | 30-Jul-2019 |
Thomas Monjalon <[email protected]> |
devtools: allow misc options in null test
In order to ease basic testing with customized options, EAL and testpmd options can be added as third and fourth arguments of the "null PMD" script.
Also,
devtools: allow misc options in null test
In order to ease basic testing with customized options, EAL and testpmd options can be added as third and fourth arguments of the "null PMD" script.
Also, the first argument becomes more flexible by accepting the testpmd path as an alternative to the build directory.
Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| 4a4a20c4 | 11-Jul-2019 |
Olivier Matz <[email protected]> |
devtools: support FreeBSD
- As "readlink -e" and "readlink -m" do not exist on freebsd, use "readlink -f", it should not have any impact in these cases. - "sed -ri" is invalid on freebsd and shoul
devtools: support FreeBSD
- As "readlink -e" and "readlink -m" do not exist on freebsd, use "readlink -f", it should not have any impact in these cases. - "sed -ri" is invalid on freebsd and should be replaced by "sed -ri=''" - Use gmake instead of make.
This fixes the following command: SYSDIR=/usr/src/sys ./devtools/test-build.sh \ -j4 x86_64-native-freebsd-gcc
Signed-off-by: Olivier Matz <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| 7f80a210 | 02-Jul-2019 |
Bruce Richardson <[email protected]> |
devtools: test pkg-config file
The pkg-config file generated as part of the build of DPDK should allow applications to be built with an installed DPDK. We can test this as part of the build by doing
devtools: test pkg-config file
The pkg-config file generated as part of the build of DPDK should allow applications to be built with an installed DPDK. We can test this as part of the build by doing an install of DPDK to a temporary directory within the build folder, and by then compiling up a few sample apps using make working off that directory.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]>
show more ...
|
| af14b150 | 03-May-2019 |
David Marchand <[email protected]> |
devtools: fix check of symbol added as stable API
The incriminated commit broke the detection of new symbols skipping the EXPERIMENTAL step before entering a stable ABI section. sed won't return an
devtools: fix check of symbol added as stable API
The incriminated commit broke the detection of new symbols skipping the EXPERIMENTAL step before entering a stable ABI section. sed won't return an error, check a null output instead.
Fixes: 3630757803ab ("devtools: accept experimental symbol promotion") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]>
show more ...
|
| c039a73f | 10-Apr-2019 |
Bruce Richardson <[email protected]> |
devtools: fix bash-isms in meson test
The use of "==" is non-standard extension from bash, so use "=" for comparisons instead.
Cc: [email protected]
Signed-off-by: Bruce Richardson <bruce.richardson
devtools: fix bash-isms in meson test
The use of "==" is non-standard extension from bash, so use "=" for comparisons instead.
Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]>
show more ...
|
| 2660c6f6 | 10-Apr-2019 |
Bruce Richardson <[email protected]> |
devtools: support older compilers with meson test
Older versions of GCC, such as on Redhat/CentOS 7, don't support -march=nehalem, but need -march=corei7 instead.
Cc: [email protected]
Signed-off-by
devtools: support older compilers with meson test
Older versions of GCC, such as on Redhat/CentOS 7, don't support -march=nehalem, but need -march=corei7 instead.
Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]>
show more ...
|
| e887ebb6 | 10-Apr-2019 |
Bruce Richardson <[email protected]> |
devtools: skip meson build for missing compilers
If either gcc or clang are missing, skip doing those builds. This allows a setup to only do, e.g. gcc tests.
Cc: [email protected]
Signed-off-by: Bru
devtools: skip meson build for missing compilers
If either gcc or clang are missing, skip doing those builds. This allows a setup to only do, e.g. gcc tests.
Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| 36307578 | 05-Apr-2019 |
David Marchand <[email protected]> |
devtools: accept experimental symbol promotion
Currently, when symbols get promoted from the EXPERIMENTAL section to a stable ABI section, the script complains they should go to the EXPERIMENTAL sec
devtools: accept experimental symbol promotion
Currently, when symbols get promoted from the EXPERIMENTAL section to a stable ABI section, the script complains they should go to the EXPERIMENTAL section.
Example: ERROR: symbol rte_devargs_add is added in the DPDK_19.05 section, but is expected to be added in the EXPERIMENTAL section of the version map
This is legit. Moving from a stable ABI to another is also allowed, but must have gone through the proper process.
Fixes: 4bec48184e33 ("devtools: add checks for ABI symbol addition") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]> Acked-by: Neil Horman <[email protected]>
show more ...
|
| 277b6e7e | 03-Apr-2019 |
Bruce Richardson <[email protected]> |
devtools/cocci: create safer version of strlcpy script
The existing cocci script for coccinelle replaces all matching instances of snprintf() with strlcpy() without regards to header inclusion. To a
devtools/cocci: create safer version of strlcpy script
The existing cocci script for coccinelle replaces all matching instances of snprintf() with strlcpy() without regards to header inclusion. To allow changes without build errors, we create a safer version of this script that only makes changes when the rte_string_fns.h header is already included.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|