[Beignet] [PATCH V2 2/4] Add the internal used kernels for buffer copy

Simon Richter Simon.Richter at hogyros.de
Wed Oct 9 02:26:49 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On 09.10.2013 09:55, junyan.he at inbox.com wrote:

> +macro (MakeKernelBinStr KERNEL_PATH KERNEL_FILES) +foreach (KF
> ${KERNEL_FILES}) +  set (input_file ${KERNEL_PATH}/${KF}.cl) +  set
> (output_file ${KERNEL_PATH}/${KF}_str.c) +  list (APPEND
> KERNEL_STR_FILES ${output_file}) +  add_custom_command( +    OUTPUT
> ${output_file} +    COMMAND rm -rf ${output_file} +    COMMAND
> ${CMAKE_CURRENT_BINARY_DIR}/../backend/src/gbe_bin_generater -s
> ${input_file} -o${output_file} +    MAIN_DEPENDENCY ${input_file}) 
> +endforeach (KF) +endmacro (MakeKernelBinStr)

This fails to compile from clean tree with -j, because there is no
dependency ordering:

/bin/sh: 1: ../backend/src/gbe_bin_generater: not found

   Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iJwEAQECAAYFAlJVIVgACgkQ0sfeulffv7tEkAQAlLisoaKm8oMnkluxxVg8lXhM
JKPOgpE3DQzylIY8QfEUErcpTwTvDXfAwXSLCjDeIHnp5wtd3+VQ9sT+KD+NWefa
oAjp/y5Phjp37qLON/bB6iMx6ZnIVPtz6IlpUD3RdMUwC3ghefRku5VM//FtPERT
1HS+4qto+nbaLkyFj+c=
=4uO4
-----END PGP SIGNATURE-----


More information about the Beignet mailing list