This patch works well for me. Thanks --Sun, Yi
> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Zhigang Gong > Sent: Monday, January 20, 2014 5:20 PM > To: [email protected] > Cc: Gong, Zhigang > Subject: [Beignet] [PATCH] build: work around an old version cmake bug. > > On fedora core 15 with the cmake 2.8.4, Yi experienced a build error. > It turns out that the cmake may handle the file directorys with double slashs > incorrectly when the file is on a target's dependcy list and be a output file > name > of a custom command. > > This small patch could work around that issue. > > Signed-off-by: Zhigang Gong <[email protected]> > --- > backend/src/CMakeLists.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/backend/src/CMakeLists.txt b/backend/src/CMakeLists.txt index > 0e8c5a0..3f24a91 100644 > --- a/backend/src/CMakeLists.txt > +++ b/backend/src/CMakeLists.txt > @@ -7,7 +7,7 @@ set (ocl_as_file ${GBE_SOURCE_DIR}/src/ocl_as.h) set > (ocl_convert_file ${GBE_SOURCE_DIR}/src/ocl_convert.h) > set (ocl_stdlib_tmpl_file ${GBE_SOURCE_DIR}/src/ocl_stdlib.tmpl.h) > set (ocl_common_header_file > ${GBE_SOURCE_DIR}/src/ocl_common_defines.h) > -set (ocl_blob_file > ${CMAKE_CURRENT_BINARY_DIR}/${beignet_install_path}/ocl_stdlib.h) > +set (ocl_blob_file > +${CMAKE_CURRENT_BINARY_DIR}${beignet_install_path}ocl_stdlib.h) > set (ocl_blob_cpp_file ${GBE_SOURCE_DIR}/src/ocl_stdlib_str.cpp) > set (ocl_gen_blob_cmd > ${GBE_SOURCE_DIR}/src/update_blob_ocl_header.py) > set (ocl_gen_vector_cmd ${GBE_SOURCE_DIR}/src/gen_builtin_vector.py) > -- > 1.7.9.5 > > _______________________________________________ > Beignet mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
