[meta-intel] [PATCH V2] intel-gpu-tools: upgrade to version 1.11

Saul Wold sgw at linux.intel.com
Tue Aug 11 08:26:46 PDT 2015


On 08/10/2015 10:08 PM, Pengyu Ma wrote:
> Disable gtk-doc to fix building error.
> Add libunwind package config to fix denpendece.
>
> Changes since v1:
>   * Add libunwind package config.
>
During my testing of this, I saw the following warning:
> WARNING: QA Issue: /usr/lib/intel-gpu-tools/intel-gpu-tools/tools at underscore@test_intel-gpu-tools contained in package intel-gpu-tools requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps]

It seems that some script in this package requires bash, is it possible 
to remove the bashism and use the standard "/bin/sh" instead?

Also, did you do a remove and recreate of the recipe or a "git mv" 
Normally we do a git mv and then can clearly see the difference between 
the 2 versions as git will handle the move easier.

Thanks
Sau!

> Signed-off-by: Pengyu Ma <pengyu.ma at windriver.com>
> ---
>   .../intel-gpu-tools/intel-gpu-tools_1.11.bb        | 24 ++++++++++++++++++++++
>   .../intel-gpu-tools/intel-gpu-tools_1.9.bb         | 19 -----------------
>   2 files changed, 24 insertions(+), 19 deletions(-)
>   create mode 100644 common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.11.bb
>   delete mode 100644 common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.9.bb
>
> diff --git a/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.11.bb b/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.11.bb
> new file mode 100644
> index 0000000..476508d
> --- /dev/null
> +++ b/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.11.bb
> @@ -0,0 +1,24 @@
> +require ${COREBASE}/meta/recipes-graphics/xorg-app/xorg-app-common.inc
> +
> +SUMMARY = "Intel GPU tools"
> +DESCRIPTION = "Variety of small tools for testing intel graphics."
> +
> +SRC_URI[md5sum] = "836e9fd084f63da2a29fe81a47eb3db8"
> +SRC_URI[sha256sum] = "48823450452b57c52c74e00c8c763ed7cdd0c81cc877e8c2f619f7f6c45dade4"
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=0918806acfedc3e8c0488f2dd61616dd"
> +
> +inherit autotools gtk-doc
> +
> +DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 libxv libx11 libxext libxrandr"
> +
> +PACKAGECONFIG ??= ""
> +PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind,libunwind"
> +
> +EXTRA_OECONF = "--disable-nouveau --disable-shader-debugger --disable-dumper"
> +COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
> +
> +gputools_sysroot_preprocess() {
> +	rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc
> +}
> +SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess"
> diff --git a/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.9.bb b/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.9.bb
> deleted file mode 100644
> index b98fc75..0000000
> --- a/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.9.bb
> +++ /dev/null
> @@ -1,19 +0,0 @@
> -require ${COREBASE}/meta/recipes-graphics/xorg-app/xorg-app-common.inc
> -
> -SUMMARY = "Intel GPU tools"
> -DESCRIPTION = "Variety of small tools for testing intel graphics."
> -
> -SRC_URI[md5sum] = "1e768f2b1edc8613911b1d33bb361a7f"
> -SRC_URI[sha256sum] = "1de4c28ae0fe1e6c198ab559dbffcec6762798dc4adbdfdac54b2c7a9b0a1ed3"
> -
> -LIC_FILES_CHKSUM = "file://COPYING;md5=0918806acfedc3e8c0488f2dd61616dd"
> -
> -DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 libxv libx11 libxext libxrandr"
> -
> -EXTRA_OECONF = "--disable-nouveau --disable-shader-debugger --disable-dumper"
> -COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
> -
> -gputools_sysroot_preprocess() {
> -	rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc
> -}
> -SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess"
>


More information about the meta-intel mailing list