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