[dpdk-dev] [PATCH v2] build: ccache support for cross build
Thomas Monjalon
thomas at monjalon.net
Tue Jun 14 18:01:36 CEST 2022
08/06/2022 19:13, jerinj at marvell.com:
> --- a/devtools/test-meson-builds.sh
> +++ b/devtools/test-meson-builds.sh
> @@ -160,7 +160,8 @@ build () # <directory> <target cc | cross file> <ABI check> [meson options]
> if [ -n "$crossfile" ] ; then
> cross="--cross-file $crossfile"
> targetcc=$(sed -n 's,^c[[:space:]]*=[[:space:]]*,,p' \
> - $crossfile | tr -d "'" | tr -d '"')
> + $crossfile | cut -d ',' -f 2 | \
> + tr -d "'" | tr -d '"' | tr -d ']' | tr -d ' ')
The last line can be shortened to
tr -d "'"'"] '
I'll change while merging.
More information about the dev
mailing list