[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] docker: Fix PATH for ccache
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH] docker: Fix PATH for ccache |
Date: |
Fri, 20 Oct 2017 09:08:38 +0800 |
User-agent: |
Mutt/1.9.0 (2017-09-02) |
On Wed, 10/18 15:38, Fam Zheng wrote:
> Before bcd7f06f57fb6f780a3e2f7a46c22b6f6c8238aa we source /etc/profile
> so the PATH included the right paths to ccache binaries. Now we need to
> update $PATH explicitly from run script.
>
> Keep the old /usr/lib around just so that in the future, ccache from 32
> bit images will just work.
>
> Signed-off-by: Fam Zheng <address@hidden>
> ---
> tests/docker/run | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/docker/run b/tests/docker/run
> index 642084bcb8..9dd362bb98 100755
> --- a/tests/docker/run
> +++ b/tests/docker/run
> @@ -18,7 +18,7 @@ fi
> BASE="$(dirname $(readlink -e $0))"
>
> # Prepare the environment
> -export PATH=/usr/lib/ccache:$PATH
> +export PATH=/usr/lib/ccache:/usr/lib64/ccache:$PATH
>
> if test -n "$J"; then
> export MAKEFLAGS="$MAKEFLAGS -j$J"
> --
> 2.13.5
>
Queued, thanks!
Fam