[Beignet] [PATCH] OCL_BITCODE_BIN path missing "/"

Steven Newbury steve at snewbury.org.uk
Sun Oct 19 08:29:06 PDT 2014


On Sun, 2014-10-19 at 11:18 -0400, Yichao Yu wrote:
> On Sun, Oct 19, 2014 at 10:46 AM, Steven Newbury <
> steve at snewbury.org.uk> wrote:
> > The OCL_BITCODE_BIN path should contain a "/" after
> > ${BEIGNET_INSTALL_DIR} in case the expanded path doesn't
> > contain a trailing "/".
> > 
> > ---
> > 
> > --- backend/src/CMakeLists.txt~       2014-10-19 
> > 15:31:58.000000000 +0100
> > +++ backend/src/CMakeLists.txt  2014-10-19 15:33:53.705853137 +0100
> > @@ -1,4 +1,4 @@
> > -set (OCL_BITCODE_BIN "${BEIGNET_INSTALL_DIR}beignet.bc")
> > +set (OCL_BITCODE_BIN "${BEIGNET_INSTALL_DIR}/beignet.bc")
> >  set (OCL_HEADER_DIR "${CMAKE_INSTALL_PREFIX}/include/CL/ocl/")
> >  set (OCL_PCH_OBJECT "${BEIGNET_INSTALL_DIR}beignet.pch")
> 
> Maybe also here?
> 
Definitely also there!  How did I miss that?  I was looking for why 
beignet.bc wasn't being found at run-time, beignet.pch failure wasn't 
fatal, so I didn't look at it.




More information about the Beignet mailing list