From patchwork Thu Dec 20 15:40:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 154341 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6334271ljp; Thu, 20 Dec 2018 07:40:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/XW7r6vf1k4TT9vxNJm68yvDtckwO78+yOLDcJ+zftvKl02JpbhkpxEQ+9hfPw6OHkMQ19h X-Received: by 2002:a17:902:2c03:: with SMTP id m3mr23288381plb.6.1545320452681; Thu, 20 Dec 2018 07:40:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545320452; cv=none; d=google.com; s=arc-20160816; b=AQUMZs8e7lNDZ4DmbQFdY8ev3GWcYq41qdJu3V4nXvIYy+/kRyoPljprT//BQJM4TX mSdeesau30UWAiDwtyKIF42l3o9IsxiaVkcuMIGnoW/bWqVGd7b50zkLQ66tJubY+6u5 smObfe+q/PTxOe7FB7ChwH5N1bCIcBSqWbEFAeBFwxiK8Zccoe3hhS0GocCLfBKiT4J+ Zf6eg6TFF7xsLoxt8tue3QFVaZOQcUnBYDypNFTeTcXaEj6bveDtw2ebia1E9ZQMMSLC npyC9N3w04k9CJ1i6Lj3EweKUN6T4ASHS2YzNHtcS85Z9A+2xwQoe8oT5wWrmoDFZ4XI chEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=rs13LwNKlw28KgyMsyB3IMhcOdcM0zPxY9BEHww4Fr8=; b=nys1VkcwS9kOnFs951byBjV1ZXw3hB8QAJgZlRSVUcb2hwlDfKrflnz8lt4bb/ZyWy M7KjXiFlnJsWmGQiTrssVkw8u01/2Q7/1qH/8GLCv5SY9C5n1vLtbLrvLFRDqF/THcsk zcJYb7cwu9q+oedEOHI06OBdO7Im16TafdA19WUEclRwsduw8TFNF17PdHUUPGaP2Jza YB2c43LyuavJt+zhNZxac0XurMBM/UrIr+jVxjGxZxZig6FewUTxrW8m4m6QRPm76Oy9 ZssuBRWpsYoYR60t+S7n7aoyFXtdQ9wiXfssEzxkhN9StmXDm/YBEzxWkRu66KYdiENL F6cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=FBZys0r0; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id a34si6072442pgb.458.2018.12.20.07.40.52; Thu, 20 Dec 2018 07:40:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=FBZys0r0; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C05487BDB2; Thu, 20 Dec 2018 15:40:49 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by mail.openembedded.org (Postfix) with ESMTP id AB1C07964F for ; Thu, 20 Dec 2018 15:40:46 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id b11so2520071wmj.1 for ; Thu, 20 Dec 2018 07:40:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=5I9JSBarx1SDpg8UMu+iQQbPaCGQX+4aRtj1aUgqP8g=; b=FBZys0r0S8LK4n+2DekWnTjRDyGZLOeyqs2h9Koegn2sVPq/8U8FwH48Yk5J3DH1UF sHpf6Pohj+fWTjIaU2L7Au8te/VYFo3dMtfrrOsaD/rWNnlDtZL3aP1LW/uxLsjRpTIO cSl5Te30iwXjC3hzvY7j5sbw++gi1IZwKMD+PYRmUEvVFB5YeUSG4GG4Uc5pXJ7Mf/4u N71oX9JAVqWJ04nmN1fwj0Wh2u18QC0kGLwA+pueQIKTJxv3kPjjHbf7yk27qpKd6EiA 9psRmrxB2b1bPN4D7iHHi/CKUijLrze1BAQ6ey15WHr9hhis0VwzsxUTO+gCx89Akazq glOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=5I9JSBarx1SDpg8UMu+iQQbPaCGQX+4aRtj1aUgqP8g=; b=kzdrh/hoVuj0c9BZi1n9vq/m4CSvSEpCg5LEqo1yvNJYrC4GFVyVcelSV6/dfnyv39 DtoBlvYc40SfGfZTZ07VTPXQxXF8n6v3E3ThKQf93OvozztuGe22MErD++pOUuTGp+gv wTCI2fpsB9fD9UJBi9kc2BlX9vYtoAiUx7bdEZ1KIzuuPSf55ZgfZ2kjpJmaUwf/Qn2F pxZAu8qz5ZWsDtNdjhMJt4P4DwyaCnoiEhbvsNfkbxTGbFUkhg+7YA3ShoXDlkQRT3Bf i8vvd+6VJke8oENR179lSHevbbf8DQi94xtA8FzPLeze9p6CbJdAX3fb/8yxLc0uoPXS Ds4Q== X-Gm-Message-State: AA+aEWZYt61ljJpbcIVu3I+9Dk21BCvGTmK/Fw+1a5kxMgE4Ieoqsq/C TfA8fB133dr65aZI/3g1T3o+QCyfzXs= X-Received: by 2002:a7b:c24c:: with SMTP id b12mr10896464wmj.29.1545320447240; Thu, 20 Dec 2018 07:40:47 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id h10sm8178307wmf.44.2018.12.20.07.40.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Dec 2018 07:40:46 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Thu, 20 Dec 2018 15:40:41 +0000 Message-Id: <20181220154043.7860-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH 1/3] nativesdk-meson: add missing dependency on setuptools X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Meson uses pkg_resources, which is part of setuptools. Signed-off-by: Ross Burton --- meta/recipes-devtools/meson/nativesdk-meson_0.49.0.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/meson/nativesdk-meson_0.49.0.bb b/meta/recipes-devtools/meson/nativesdk-meson_0.49.0.bb index 53503aa9988..721ee8c8f12 100644 --- a/meta/recipes-devtools/meson/nativesdk-meson_0.49.0.bb +++ b/meta/recipes-devtools/meson/nativesdk-meson_0.49.0.bb @@ -66,9 +66,8 @@ do_install_append() { RDEPENDS_${PN} += "\ nativesdk-ninja \ - nativesdk-python3-core \ - nativesdk-python3-misc \ - nativesdk-python3-modules \ + nativesdk-python3 \ + nativesdk-python3-setuptools \ " FILES_${PN} += "${datadir}/meson ${SDKPATHNATIVE}" From patchwork Thu Dec 20 15:40:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 154342 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6334422ljp; Thu, 20 Dec 2018 07:41:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wj6qvsWfO15VLGgaEujJ06B88v7k88EVxzltgadIYWgxcXgUwfIYmrxO4I2B44go4bnGs7 X-Received: by 2002:a63:7d06:: with SMTP id y6mr23251075pgc.171.1545320460891; Thu, 20 Dec 2018 07:41:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545320460; cv=none; d=google.com; s=arc-20160816; b=ezjIWKZ3bo+tPtl5XkTQdUYeMw+QyBN6EV77OuwbQ0bBURNC4FNa3FJZIsWNSmLWIi ztLwupmujhYxg6x/fZ3Ue/mpjPyrakQ6I7rQviOLQuxM+exljywp/xKclXKM0qEF9jR2 RR0MyS+QKfm516H/P3Sg4BKHbq2JbWtqpKQ6LYEj4Ow3sS81BL5P7OxCJ3sOgjAbsURs ej0bI9hgpmy2Rm/aMbsUL8UAngLf67vroSH7ppRC9Y+NCt1udTXL6VhGFkVaELEUIfKY axAssv1a4Zi1VlCVlbFYjKbd2WtmSXzKDEtiNltNBOty/bE/LdWJ2cYrpQcsN0virtfi 9S3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=4uKVZTV7jOhvTsbx+syUkvSFzpMZyIjsrM52WMCqZ2s=; b=lan5VelNnTfvWoAG4i6FUJTNZkUOUv9CCgyB0NqslHj771u778orGCvanoo0FVOP4s nB1AKYsW2e7zwmvzopnfINn6YeL6agoAHRPG88PWdswZ+J6b/W2uVlushEB7Z1YMM3B6 bKp3i9Gi1UqCsXg5dIkU7MuN4kP+PakS5UQDH0KNENaVZ27qLHlXaijvU28op0C6/FBh p8q99ywU3uAUDOMTvq8PbHXDLsdZl/i4OIhHczIRGogk7jfdpBZjOAL19sTt6QnNc8cX 9WSH8Ik1rMGEfl9rFuX9RSFUbPJDGd+toc4C7j02EF+YWP6vVufFpx6DRj4iLF08exth S9ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=OYJl7mkt; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d13si18952263pgh.196.2018.12.20.07.41.00; Thu, 20 Dec 2018 07:41:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=OYJl7mkt; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 55A6B7BDBE; Thu, 20 Dec 2018 15:40:57 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by mail.openembedded.org (Postfix) with ESMTP id 3923E7964F for ; Thu, 20 Dec 2018 15:40:48 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id n190so2525645wmd.0 for ; Thu, 20 Dec 2018 07:40:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=tawucSA3fYyc1TIQULj68Vw+Hxvcsvp9JbesVPBQTCM=; b=OYJl7mktftFCmKmk0H8gltfQ90gd7x4FgADB+xZz1JYtqFuGBsW/yMJNgkMUqSZ8ZU 6R5G1OeTjuiGwSotmP1fd68+HnAZ8u4H+Tx7X2jl4zjYJ7TSYqfEgoaz9OZeXlI2YM+H wgI5tz49uY10NXdLI0+WnLXuk+uuXSkqRd662ltclJmm94GbgwDMT6hy4F2QLtDl0dHJ js/ITuVSD8/EjxI8r3oXqlQ/3YH2hT79DJ8DerHslQfejdfyOIoe8pQ+ZBjcR9quyI3C dNkh8uYph8mWOZGfJeSowIglCCQEZpEjqWRnIpD6t9tcdinvcDtCDCFitBYMtcBpymyL rMwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=tawucSA3fYyc1TIQULj68Vw+Hxvcsvp9JbesVPBQTCM=; b=C07FSRTHtslLkwNsp8NvRZ93vgGBwJ0Hd/m7FIBJ0lpDJ0dSUIhyzH6i3gPQGCLRsK ni11RiY3Ez+mZR4EoJtLz59DX3yFI4+CMm5bJlHUbp/N7jMYZPTXfm37k9XKddCrDuPH ty0a5eCzGMxJUfkai4DTycIo4Qj+oiNs5ziAU+0uEOQyCaawfDohPufJgaLSgpzyE7y3 5HDPm4Wf6SRGuXeUOJewQWtTqw5t6HbDHQWDS7Xe0925mLNS6dGkFM4DNl2LxPRNe3vA foy7N/D0rzA1arm+bs83Zl1424kDYUNBtrU1WwuEKR1cMnnIjy12m8XPWFu8GtOpPt7p o81w== X-Gm-Message-State: AA+aEWbh83Y6aiR8MNWYU2Mxl+ojJd8D4xmtZ7lJ28+tTLHt32ZDsZoy YMvaDDimQ+8h87W0VOUF+v3JwrfwORA= X-Received: by 2002:a1c:9a0d:: with SMTP id c13mr2449318wme.41.1545320448504; Thu, 20 Dec 2018 07:40:48 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id h10sm8178307wmf.44.2018.12.20.07.40.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Dec 2018 07:40:47 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Thu, 20 Dec 2018 15:40:42 +0000 Message-Id: <20181220154043.7860-2-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181220154043.7860-1-ross.burton@intel.com> References: <20181220154043.7860-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 2/3] nativesdk-packagegroup-sdk-host: add Meson X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Meson is growing in popularity, so add it to the SDK packagegroup. Signed-off-by: Ross Burton --- meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 + 1 file changed, 1 insertion(+) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb index 4bf0ac04577..ae989011f48 100644 --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb @@ -22,6 +22,7 @@ RDEPENDS_${PN} = "\ nativesdk-shadow \ nativesdk-makedevs \ nativesdk-cmake \ + nativesdk-meson \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \ nativesdk-sdk-provides-dummy \ nativesdk-bison \ From patchwork Thu Dec 20 15:40:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 154343 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6334508ljp; Thu, 20 Dec 2018 07:41:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/VFSd5GIu9BRinN/ZZj3Fw+J7K+rS41OTJ6OWwJDrR7jZrk9ja89qlueJBkl2U2ZdkKvM9I X-Received: by 2002:a63:2315:: with SMTP id j21mr23810239pgj.297.1545320466381; Thu, 20 Dec 2018 07:41:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545320466; cv=none; d=google.com; s=arc-20160816; b=B7aZRjF1Tp75lQw0ON0Q6iK8QPGCOiy/LoK5lZ3WmIfXH1mU+t7Kx6g9KiEStqwTBL yUD5JI/6Al6gGsutsZdEez88ubV0rZ7Rbq+m5w5tIQGyLgNxN3qxzsh3PszzPX1FlBvt J4/rlhqTJwJ2xkOuL8rMRQtOXn4bpi+pMAt4UH6/nYs9DJCjRHBQMK+vxRQMxNExZWqi lm08Yu39d5/PuHj5GHU2O0IDLO6EeFY9bDhTxwlZLZpA7fNGNHPGc+oPzeey4pjPk4EK hJG1r+pOOD7a8UMMGyDA7tFuZTysR9TxqfTLEZFe6lLPszCvk3rrauwn06vrU/CEqPRT +h8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=VJISTJmlYC/3nFlbzOT9UrDmb/uaG7WAea8XjlBIB9k=; b=b3ez2qBhYjx6noi9clkVAit54ybWtHcDOqOa0OayPCDCJgQwVbSFPf5y97qoZI3avj vlg6zuMez73DjWKvTm6kR5hLwEqu8xyj5kCxtQbyagxEs/QFjEorAfmq2O1NZQ+qEG+V 9n3wzcE4dq4ckfWbn3MrriuzodvfYc7xJfyzGlg6vANoah1U6OLHcv30dMBI01WDw4cd xuFmI8etPF40zcOgp5kfFLHVVj7TCR86rrfNw3iViJ+4CzyIdgfJsHZBb5zx5FQ25LYY 1fddedVf54cTyXNORwDJSJ+q1f+TavIfBYpiJV0EfcTTam0Xg1rNikjjoZmigBnxXTj1 v8yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=FvCJaxZJ; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d3si6100875pll.161.2018.12.20.07.41.06; Thu, 20 Dec 2018 07:41:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=FvCJaxZJ; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B95807BDEF; Thu, 20 Dec 2018 15:40:58 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mail.openembedded.org (Postfix) with ESMTP id EB2BD7BDBE for ; Thu, 20 Dec 2018 15:40:49 +0000 (UTC) Received: by mail-wr1-f48.google.com with SMTP id t27so2228514wra.6 for ; Thu, 20 Dec 2018 07:40:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=z2tPgVwKI9SfZJf0/x9NrLtyiudPIyK8r1f0sjoE4eA=; b=FvCJaxZJ23UHPIIs1UOGe4OHWqw93kQUUYZ/ip0LCDhBbzNjoQ25ezt0G+TNwyiPlP uTHAkSay/nif0zI2e8VqU7ja9T8Tcg4v7A03xj8hLZko6fOcrBWi6cA2xdBwrt+RaLIm eepxmNnk7FI6OOZdQlbLxPJaCAnnCIoexWq84NV2IiNlryfgALoInvnTdnBvSfazxw26 v/XX5iB/bW7R3zwxpdMUrfIHmWe2tyNNXKRJQvN51D9WRW48HhfGjv4Ka6S7DkT+N9zz M0SjzR8Nsu3RwL3/bVNYfAhONCxTEjErvCMLg1++hG9LrhEieIsrXYLZzy/8G3DDrVx8 Mifg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=z2tPgVwKI9SfZJf0/x9NrLtyiudPIyK8r1f0sjoE4eA=; b=B5SiU1Tvi9k6ykz9K+1AMKiRIQxmfoQUvWWbvZjTJ/lo634eYAgRC7UfPoo9p9JtDc FHywpUSOtKXGZnXruJIPVQRi8bzOTCxZgDv46tpyHEw+GVCHA7lwjQLgu5PLAV8GdZcv mGV3+X9HXXYwyumGfS9XWukcM5tc6JJdzYKCM0fkkUmFQw4AG+FEg9ePCSEKfsqV0vBw AbDqxgqVSW5rSFpu3sbLZjmzILlKhnEh91D9rO0uS34ZuL05hZzS/82R8VCpOgcADotO MRb+U3N5fKveUlQZ2NzBhj4nSCdiISk4B7N6s9zDkPd5VpOd0PWcAmnuqHXXusWps0ZV FmOQ== X-Gm-Message-State: AA+aEWZwYRQuV2Fx9lQm0VkUjFlJDyIoK7XO29UUas0FNlqV4d9dkyCQ Mmc4rZHllWQ61MgXRK7v/IWfZtk/GZE= X-Received: by 2002:adf:c846:: with SMTP id e6mr22245114wrh.243.1545320450107; Thu, 20 Dec 2018 07:40:50 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id h10sm8178307wmf.44.2018.12.20.07.40.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Dec 2018 07:40:48 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Thu, 20 Dec 2018 15:40:43 +0000 Message-Id: <20181220154043.7860-3-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181220154043.7860-1-ross.burton@intel.com> References: <20181220154043.7860-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 3/3] oeqa/sdk: add test to exercise Meson X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- meta/lib/oeqa/sdk/cases/buildepoxy.py | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta/lib/oeqa/sdk/cases/buildepoxy.py -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/lib/oeqa/sdk/cases/buildepoxy.py b/meta/lib/oeqa/sdk/cases/buildepoxy.py new file mode 100644 index 00000000000..47ae5e96df3 --- /dev/null +++ b/meta/lib/oeqa/sdk/cases/buildepoxy.py @@ -0,0 +1,36 @@ +import os +import subprocess +import tempfile +import unittest + +from oeqa.sdk.case import OESDKTestCase +from oeqa.utils.subprocesstweak import errors_have_output +errors_have_output() + +class EpoxyTest(OESDKTestCase): + """ + Test that Meson builds correctly. + """ + def setUp(self): + if not (self.tc.hasHostPackage("nativesdk-meson")): + raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain Meson") + + def test_epoxy(self): + with tempfile.TemporaryDirectory(prefix="epoxy", dir=self.tc.sdk_dir) as testdir: + dl_dir = self.td.get('DL_DIR', None) + tarball = self.fetch(testdir, dl_dir, "https://github.com/anholt/libepoxy/releases/download/1.5.3/libepoxy-1.5.3.tar.xz") + + dirs = {} + dirs["source"] = os.path.join(testdir, "libepoxy-1.5.3") + dirs["build"] = os.path.join(testdir, "build") + dirs["install"] = os.path.join(testdir, "install") + + subprocess.check_output(["tar", "xf", tarball, "-C", testdir]) + self.assertTrue(os.path.isdir(dirs["source"])) + os.makedirs(dirs["build"]) + + self._run("meson -Degl=no -Dglx=no -Dx11=false {build} {source}".format(**dirs)) + self._run("ninja -C {build} -v".format(**dirs)) + self._run("DESTDIR={install} ninja -C {build} -v install".format(**dirs)) + + self.check_elf(os.path.join(dirs["install"], "usr", "local", "lib", "libepoxy.so"))