[Beignet] [PATCH] add building dependency GIT_SHA1

Zhigang Gong zhigang.gong at linux.intel.com
Wed Nov 5 03:29:11 PST 2014


LGTM, pushed, thanks.

On Thu, Nov 06, 2014 at 07:47:18AM +0800, Meng Mengmeng wrote:
> Signed-off-by: Meng Mengmeng <mengmeng.meng at intel.com>
> ---
>  src/CMakeLists.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
> index 9e65856..fc5de89 100644
> --- a/src/CMakeLists.txt
> +++ b/src/CMakeLists.txt
> @@ -119,6 +119,7 @@ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic,--all
>  
>  link_directories (${LLVM_LIBRARY_DIR} ${DRM_LIBDIR})
>  add_library(cl SHARED ${OPENCL_SRC})
> +ADD_DEPENDENCIES(cl ${GIT_SHA1})
>  target_link_libraries(
>                        cl
>                        ${X11_LIBRARIES}
> -- 
> 1.9.3
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list