From patchwork Thu Nov 24 21:18:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 699012 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tPsWh08jYz9t0H for ; Fri, 25 Nov 2016 08:18:39 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b="dQZNhyCG"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BEAE888AB7; Thu, 24 Nov 2016 21:18:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XuejvfRz3lId; Thu, 24 Nov 2016 21:18:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D2C9D889D0; Thu, 24 Nov 2016 21:18:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 848721C0589 for ; Thu, 24 Nov 2016 21:18:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 81AB489D97 for ; Thu, 24 Nov 2016 21:18:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f1mt6cgDPLkd for ; Thu, 24 Nov 2016 21:18:29 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by hemlock.osuosl.org (Postfix) with ESMTPS id 0944D89D0E for ; Thu, 24 Nov 2016 21:18:29 +0000 (UTC) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3tPsWN1x8Lzytr for ; Thu, 24 Nov 2016 22:18:23 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1480022302; x=1480627103; bh=UA/RQ0LKK2N/ZepXs/AZ1CMAuWR4iKoHx7C4B8vllwE=; b=dQZNhyCGbb0B IcJPjN5ZWVnGwRsJ8GfV7YLP+yQW+WBFgDLsnJvDdE+dEJ+0EduXUr2yRGwmOx4d 4qPh+vywckG7ySSuMqe+ZXA6NarNGUZBT0B7TSTYatBMmAeXOJZBUgT3g6tlk4Bl mzPKho5hG/sFOQvXJyU2V1aLMYf2Q+FQuLy0W9cRb0d9yk1VMNQ7dWD4jueONUC6 3EOQWBje9yTlrkRZNsGYlYbsNM3VI4ObCCc1NOo1YwHqaP2FEp9MVfIW3V7vlRek RGwmDDiAcuv3iSLJd8OOi9a6jTAW2ux/N4u7BrmypD+xLxILcWIsHGbbY4YcgWbg vPnYL3LKHw== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id xJTWt2I4maAI; Thu, 24 Nov 2016 22:18:22 +0100 (CET) Received: from nzxt.fritz.box (xd933efad.dyn.telefonica.de [217.51.239.173]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Thu, 24 Nov 2016 22:18:22 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Thu, 24 Nov 2016 22:18:18 +0100 Message-Id: <20161124211818.14096-1-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.10.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/ola: fix missing numpy X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" OLAs RDM test option needs NumPy. Note that we need to pass `ac_cv_have_pymod_numpy=yes` as NumPy builds some shared libraries and ola checks for NumPy using a host Python test program which fails with 'wrong ELF class'. Fixes: http://autobuild.buildroot.net/results/750/750c9bcc753e2c1b7b05d6c43fabf4c405e15f04/ http://autobuild.buildroot.net/results/24a/24ada1e0ec695cb12028048728a9d1e2bcf75a03/ http://autobuild.buildroot.net/results/111/111c5f3eed6a5931de27a1b0b02be6e2114198e6/ .. and more. Signed-off-by: Jörg Krause --- package/ola/Config.in | 2 ++ package/ola/ola.mk | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/package/ola/Config.in b/package/ola/Config.in index 7b56f5c..2f1d33e 100644 --- a/package/ola/Config.in +++ b/package/ola/Config.in @@ -54,6 +54,8 @@ config BR2_PACKAGE_OLA_EXAMPLES config BR2_PACKAGE_OLA_RDM_TESTS bool "rdm tests" depends on BR2_PACKAGE_OLA_PYTHON_BINDINGS + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON_NUMPY help Build OLA RDM tests. diff --git a/package/ola/ola.mk b/package/ola/ola.mk index 75ab25e..24e53e4 100644 --- a/package/ola/ola.mk +++ b/package/ola/ola.mk @@ -87,6 +87,10 @@ endif ifeq ($(BR2_PACKAGE_OLA_RDM_TESTS),y) OLA_CONF_OPTS += --enable-rdm-tests +OLA_DEPENDENCIES += python-numpy +# needed as numpy builds some shared libraries and ola checks for numpy +# using a host python test program which fails with 'wrong ELF class'. +OLA_CONF_ENV = ac_cv_have_pymod_numpy=yes else OLA_CONF_OPTS += --disable-rdm-tests endif