[Beignet] [PATCH 2/2] Ensure paths to beignet.bc and beignet.pch include a / before the filename

Yang, Rong R rong.r.yang at intel.com
Wed May 25 02:58:55 UTC 2016


Pushed.

> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Guo, Yejun
> Sent: Wednesday, May 25, 2016 8:59
> To: Burton, Ross <ross.burton at intel.com>; beignet at lists.freedesktop.org
> Subject: Re: [Beignet] [PATCH 2/2] Ensure paths to beignet.bc and
> beignet.pch include a / before the filename
> 
> this patch set looks good, thanks.
> 
> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Ross Burton
> Sent: Tuesday, May 24, 2016 11:14 PM
> To: beignet at lists.freedesktop.org
> Subject: [Beignet] [PATCH 2/2] Ensure paths to beignet.bc and beignet.pch
> include a / before the filename
> 
> Otherwise it's possible for the paths to be something like
> /usr/lib/beignetbeignet.bc.
> 
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  backend/src/CMakeLists.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/backend/src/CMakeLists.txt b/backend/src/CMakeLists.txt index
> a4e909a..a21ca75 100644
> --- a/backend/src/CMakeLists.txt
> +++ b/backend/src/CMakeLists.txt
> @@ -1,6 +1,6 @@
> -set (OCL_BITCODE_BIN "${BEIGNET_INSTALL_DIR}beignet.bc")
> +set (OCL_BITCODE_BIN "${BEIGNET_INSTALL_DIR}/beignet.bc")
>  set (OCL_HEADER_DIR "${BEIGNET_INSTALL_DIR}/include") -set
> (OCL_PCH_OBJECT "${BEIGNET_INSTALL_DIR}beignet.pch")
> +set (OCL_PCH_OBJECT "${BEIGNET_INSTALL_DIR}/beignet.pch")
>  set (GBE_OBJECT_DIR "${BEIGNET_INSTALL_DIR}/libgbe.so")
>  set (INTERP_OBJECT_DIR "${BEIGNET_INSTALL_DIR}/libgbeinterp.so")
> 
> --
> 2.8.0.rc3
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list