configure: silence gcc errors on rte_vhost checks
Redirect the entire gcc output to null for rte_vhost test build - this gcc will be run even without any custom options passed to `configure`, so don't bother the user with error messages when he didn't do anything wrong. Change-Id: I05136556ab81d78a6f27edd150b68f6e2b5cd8b5 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457779 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
b18f19d8a7
commit
e58dfd5669
2
configure
vendored
2
configure
vendored
@ -377,7 +377,7 @@ if [ -z "${CONFIG[ENV]}" ]; then
|
||||
if ! echo -e '#include <rte_vhost.h>\n' \
|
||||
'int main(void) { return rte_vhost_extern_callback_register(0, NULL, NULL); }\n' \
|
||||
| $BUILD_CMD -c -Wno-deprecated-declarations -Werror \
|
||||
-I"${CONFIG[DPDK_DIR]}/include" -; then
|
||||
-I"${CONFIG[DPDK_DIR]}/include" - &>/dev/null; then
|
||||
echo "Notice: DPDK's rte_vhost not found or version < 19.05, using internal," \
|
||||
"legacy rte_vhost library."
|
||||
CONFIG[VHOST_INTERNAL_LIB]=y
|
||||
|
Loading…
Reference in New Issue
Block a user