From patchwork Sat Jun 27 13:08:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1318312 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=t214okcw; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49vDb90Hkrz9sQx for ; Sat, 27 Jun 2020 23:08:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B2C1D20512; Sat, 27 Jun 2020 13:08:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lrI+Pq3XZ1vI; Sat, 27 Jun 2020 13:08:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id DC32A2049B; Sat, 27 Jun 2020 13:08:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0331F1BF3B0 for ; Sat, 27 Jun 2020 13:08:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EDA3188214 for ; Sat, 27 Jun 2020 13:08:26 +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 t8OZx4o5wQbX for ; Sat, 27 Jun 2020 13:08:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1E61188213 for ; Sat, 27 Jun 2020 13:08:26 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id s10so12021633wrw.12 for ; Sat, 27 Jun 2020 06:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ndNPP+MlCtsvbcm1bDd+lpxohTFjzaU4HAlFOZWMO/0=; b=t214okcw+dZb3VVMNXqr+6bDTmkjVd5jwwnHlEu8OLoV1hxbLmL4/H1KhCgEibtA/r ZyWYSowPT4YjX2fBPtd3f7NmkbhG8p0HfNg+GvL3QX6V8/yL17I+I0W5JcfRZRlh7FyN U6e4IQ9fLdSvHvh4iO+5yYTWISp6Tcjjlwlomxr6WK18z3LjzJk/40U2R/Y/7Xwn2lhY p8TWoAJYkEo6HrPKvbds9tf4YBqHfu5RpsuR8imP5Lv7SEmgdmQj7ez9JT3agaWjpcO/ jKhYFvND1iE5k77yBqRex/yshUjiFiuliKlPSaXNBtOhPplRGAILTNXxn8kjYwwBIQ/X Mnvg== 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=ndNPP+MlCtsvbcm1bDd+lpxohTFjzaU4HAlFOZWMO/0=; b=G6Od/Q83EZ0r/TkrsYmjRiK0EO6LPQWMxRAcqs4yz7O7BbnkuDOpbYKYWMUelQxxwy 8rzPIvy4Cj12keO77MKZKuGHbJx1uKnJhTs1DruNBxnnP689AWGk2xm+EU827oiUcp4i Vrnyr4cVJavU8udGPZuDkTYBQN9CS8k8bCO+zYb06Z/e9PiUx158M7BUCfsxZGrYGncY rEYsi4YHcrRjDSENSxiMK7maK0fyqawVUhX91U4jBRicA8xFYEj0AJO8Ck4DCzCuIr0E 3uRnU7/QhdMDpjVsTO5D1iJo9ZAnZU6d2cgcK0uJxeQBlxcoVe3oStueNwzhIZ9N+vX2 Gz9g== X-Gm-Message-State: AOAM5322bFZ23RXpviVoSViCPcv3vPZv1X30jX8qtJE23Dg5culOJU0R 4hJo66bha2GUXq0FygQoQqQeB8SC X-Google-Smtp-Source: ABdhPJxOp86gMm3BiRj7oTwlFRQ542Fdb9lY6ils7Lneeu1U3joTssXMC6YDgOSdA8IZlzWbKtDzgA== X-Received: by 2002:adf:fa8f:: with SMTP id h15mr8470874wrr.211.1593263303801; Sat, 27 Jun 2020 06:08:23 -0700 (PDT) Received: from pc-140.home ([2a01:cb1c:794:2300:d109:33e7:bc94:49e5]) by smtp.gmail.com with ESMTPSA id u10sm20979777wml.29.2020.06.27.06.08.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jun 2020 06:08:23 -0700 (PDT) From: guillaume.bressaix@gmail.com To: buildroot@busybox.net Date: Sat, 27 Jun 2020 15:08:04 +0200 Message-Id: <20200627130805.8615-1-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] package/python-numpy: remove non needed --fcompiler flag 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: "Guillaume W. Bres" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: "Guillaume W. Bres" if we comment --fcompiler=None, both python-numpy and host-python-numpy build fine, which lets me think setup.py is able to deal with a missing fortran compiler by itself. Signed-off-by: Guillaume W. Bres --- package/python-numpy/python-numpy.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/python-numpy/python-numpy.mk b/package/python-numpy/python-numpy.mk index 8260de7e5d..f9c55c9f3c 100644 --- a/package/python-numpy/python-numpy.mk +++ b/package/python-numpy/python-numpy.mk @@ -23,8 +23,6 @@ else PYTHON_NUMPY_ENV += BLAS=None LAPACK=None endif -PYTHON_NUMPY_BUILD_OPTS = --fcompiler=None - define PYTHON_NUMPY_CONFIGURE_CMDS -rm -f $(@D)/site.cfg echo "[DEFAULT]" >> $(@D)/site.cfg From patchwork Sat Jun 27 13:08:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1318313 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=DRdXg7VN; 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 49vDbB2Z3hz9sR4 for ; Sat, 27 Jun 2020 23:08:37 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DBCA9882EE; Sat, 27 Jun 2020 13:08:33 +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 QZ7W9Hh-xBsG; Sat, 27 Jun 2020 13:08:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id AB0FA88214; Sat, 27 Jun 2020 13:08:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id DCB6F1BF3B0 for ; Sat, 27 Jun 2020 13:08:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D9D8288214 for ; Sat, 27 Jun 2020 13:08:27 +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 CCUVm9909PCS for ; Sat, 27 Jun 2020 13:08:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1827288213 for ; Sat, 27 Jun 2020 13:08:27 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id r12so12009181wrj.13 for ; Sat, 27 Jun 2020 06:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NDkZQQOK75lhcFR4qR8jE3jbBCgl82AUCtnyKdmCsx0=; b=DRdXg7VN7lKii3lv+Qep7pr0TEfr9aBKjW695DvbRLH1yONgJAD+XgOTBHz5nq4NBg UCqOgMUaeQA3l/SW/PZf1WrpOaoa1KIZy3dMeHNQYBpl2akxmjepIuUM1e+NpH8xBIG/ GzE62R8WJlteAViNwP9bv39n9Npn50+7IUtjCYLXfbhbb/D4LyAIFbyiu4HF3iax9bnF QSWkzeuDrf+C3JBYOUtoLYG5EdL54E4HN3ZCVIBMUfWrOGxJkpsN4a3BULFKuzisoQUq CIF44w1uGdgCResomxqe9XDE/94ewd63iAEZt2gZFhKF6LSU+wey7qCwqzYyo6xYArnD OgmA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=NDkZQQOK75lhcFR4qR8jE3jbBCgl82AUCtnyKdmCsx0=; b=rG+UzVj3eGN5CJh26n/khAk5K4v3SauAuTJUb3/giPVgYL/+bPP6UHHXffkwOt66yA j7jg93HfjxTHriIgtxTVsPJLtziljJJoB0j32z1UhM2+n9cEpft8yDBNOlycgi8SVJrj p6GXaAjq/RPR58aSmsmqhR7+P2vJ0pazJZqZgctFelQOOkwrHlAu+FaPolo4+QsF6BpX gNSUqNub8Ql0F3779efh7lWETfu031XPzK9wz9rut8XV2YsxuMX1RJDxEMZYf9gGFaUk DdQv8D6o8C5ftRny7VgLP1izlZtyH6xrmgrP1NNqXXa2i7pL/mTShJ/MsSDrjQxzJJ52 v8CQ== X-Gm-Message-State: AOAM5306Dwy6LhQIKRcPA2VfwEKRaePbsZyINsxiCHOScZdeOlrnuEvi FS7L85hzGjucRuoJnAJN/F9cu1PR X-Google-Smtp-Source: ABdhPJzEXo8xu9fbllnx6/OhuOcYKceS+j/S8WEBNh31TTe9I2unmaxcSa6Od3CpWrxloZiX8kepxw== X-Received: by 2002:adf:e3c9:: with SMTP id k9mr8151537wrm.379.1593263305426; Sat, 27 Jun 2020 06:08:25 -0700 (PDT) Received: from pc-140.home ([2a01:cb1c:794:2300:d109:33e7:bc94:49e5]) by smtp.gmail.com with ESMTPSA id u10sm20979777wml.29.2020.06.27.06.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jun 2020 06:08:25 -0700 (PDT) From: guillaume.bressaix@gmail.com To: buildroot@busybox.net Date: Sat, 27 Jun 2020 15:08:05 +0200 Message-Id: <20200627130805.8615-2-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200627130805.8615-1-guillaume.bressaix@gmail.com> References: <20200627130805.8615-1-guillaume.bressaix@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] package/python-numpy: use fortran compiler when available 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: "Guillaume W. Bres" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: "Guillaume W. Bres" python-numpy can be built using fortran compiler if available, this is the correct configure flag to do it Signed-off-by: Guillaume W. Bres --- package/python-numpy/python-numpy.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-numpy/python-numpy.mk b/package/python-numpy/python-numpy.mk index f9c55c9f3c..9e08fd5f2e 100644 --- a/package/python-numpy/python-numpy.mk +++ b/package/python-numpy/python-numpy.mk @@ -23,6 +23,10 @@ else PYTHON_NUMPY_ENV += BLAS=None LAPACK=None endif +ifeq ($(BR2_TOOLCHAIN_HAS_FORTRAN),y) +PYTHON_NUMPY_ENV += F90=$(TARGET_FC) +endif + define PYTHON_NUMPY_CONFIGURE_CMDS -rm -f $(@D)/site.cfg echo "[DEFAULT]" >> $(@D)/site.cfg