From patchwork Mon Jul 15 12:25:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre PAYEN X-Patchwork-Id: 1131960 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="hceK9Qix"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45nN5v1nm9z9sND for ; Mon, 15 Jul 2019 22:25:22 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9BF548682A; Mon, 15 Jul 2019 12:25:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mX4rixn+Ly1T; Mon, 15 Jul 2019 12:25:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9A4B0854D8; Mon, 15 Jul 2019 12:25:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 38C9D1BF3DF for ; Mon, 15 Jul 2019 12:25:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 35BDF84707 for ; Mon, 15 Jul 2019 12:25:18 +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 hgJZzlWQD1MR for ; Mon, 15 Jul 2019 12:25:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 125428464B for ; Mon, 15 Jul 2019 12:25:17 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id n9so16937070wru.0 for ; Mon, 15 Jul 2019 05:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E7mXXypLxDrY9oJIxyLEH3JAolkjjyO1Zcl7RoKOoxM=; b=hceK9Qix3mPim1+vLjtI3J2pOXfVEHeFj+4Mh9KvYiJVxqqB9vnJai75g1e8k7pdtE nYzl2ErbjL+M/26y4WhAT5n5VJHCFYKjQb/o7y2DiLWPOHaxwVzCaTBcZ5BTI1XDPJpV VUl46J2ER6Vq3hNPhmDtQCpOWcLhp/G0B/Uo0/0qwJp+1+eNVlpgHp51Hkd5vTdcyrLi 92tOMShUyf/PaLQRBcdTukgS2yP12GcdisbhZHdmusryCOKEFdwlbWZvK3AP8u2RFusn DA7fDct7ZnsRmKWcVrqJuWJOdRT2Wcq8k/iN1a5+mx7zxgPsg36EyvZ507USKTrZY/Wr wRNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E7mXXypLxDrY9oJIxyLEH3JAolkjjyO1Zcl7RoKOoxM=; b=myR3gi0P50hQGsgosc7aWvt7wmorZlKPoeaKwjXDk+PeMGuNNadSyGbyrMg0W+zdix SblEQKaghp+hky6A70hsGbUGLcnIrxzEIbrtqi5VY/2hyeHmeNNR6XX+Gxo7sbBINg1F 33ZdFJyul5azDxUMXSMNmr2zcaajzYPCEyeuoRBAO3Q1s+WXnxG0CpcUV4ysMp+efOP1 zJMq2OBikHLuND3IzQ7tfHkv8suOmF4+1Htx2kMYeLXph38qwV0LhcsNSJav2Q2OgRCu ORMi9Tj8QGr7TqMt7yhee328YcO696IJhKz1TdMsh54fkkbPXZP1kxOZQLzHQXyivYe2 6Jlg== X-Gm-Message-State: APjAAAWhDNC2e+aoyOGx2c0gqX1+F/J0jLPDTInFGyk4rd1+t5wRoJhl S9B9cT5rgPo+IAN+BQ+28R5lyWM+1jI= X-Google-Smtp-Source: APXvYqzW09jjPrx+UZF1D8oC7ZbfoHv6C5VwBBkGZTBNt11/6U5BS9cEtYxhGzD0quaMYQp82fsdRg== X-Received: by 2002:a5d:528d:: with SMTP id c13mr28518752wrv.247.1563193515609; Mon, 15 Jul 2019 05:25:15 -0700 (PDT) Received: from P-NAN-GEORGETOWN.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id u6sm20646620wml.9.2019.07.15.05.25.14 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 05:25:15 -0700 (PDT) From: Aalx To: buildroot@buildroot.org Date: Mon, 15 Jul 2019 14:25:12 +0200 Message-Id: <20190715122512.17290-1-alexandre.payen@smile.fr> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCHv5 3/3] package/python-numpy: fix occasional run-time failure with lapack X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre PAYEN , romain.naour@smile.fr Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Alexandre PAYEN With the virtual packet liblapack, numpy can be build using both providers. Due to run-time failure when complex option is enable, the cblas reference must be add when : BR2_PACKAGE_LAPACK_COMPLEX = y Signed-off-by: Giulio Benetti Signed-off-by: Alexandre PAYEN --- package/python-numpy/python-numpy.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-numpy/python-numpy.mk b/package/python-numpy/python-numpy.mk index b90ff7d70f..30db0b3797 100644 --- a/package/python-numpy/python-numpy.mk +++ b/package/python-numpy/python-numpy.mk @@ -18,6 +18,9 @@ PYTHON_NUMPY_SETUP_TYPE = setuptools ifeq ($(BR2_PACKAGE_CLAPACK),y) PYTHON_NUMPY_DEPENDENCIES += clapack PYTHON_NUMPY_SITE_CFG_LIBS += cblas clapack +else ifeq ($(BR2_PACKAGE_LAPACK_COMPLEX),y) +PYTHON_NUMPY_DEPENDENCIES += lapack +PYTHON_NUMPY_SITE_CFG_LIBS += blas cblas lapack else PYTHON_NUMPY_ENV += BLAS=None LAPACK=None endif