Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 623E5C433F5 for ; Thu, 16 Dec 2021 18:22:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id EEFAA41683; Thu, 16 Dec 2021 18:22:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0OdKuSK0R3bh; Thu, 16 Dec 2021 18:22:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 0CF8F41689; Thu, 16 Dec 2021 18:22:14 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id ADC841BF36F for ; Thu, 16 Dec 2021 18:22:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id A9CA060FD6 for ; Thu, 16 Dec 2021 18:22:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=mind.be Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gR92Mxz69FAX for ; Thu, 16 Dec 2021 18:22:11 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by smtp3.osuosl.org (Postfix) with ESMTPS id 59E5260D77 for ; Thu, 16 Dec 2021 18:22:11 +0000 (UTC) Received: by mail-ed1-x52a.google.com with SMTP id e3so91199903edu.4 for ; Thu, 16 Dec 2021 10:22:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:organization:in-reply-to:content-transfer-encoding; bh=kmPkmOgvId6JoF6ol5XimLtu3DGkTtjGKIfc+y6C4eU=; b=YBq79uIQBQiM7xyw1R9OcZsKR5oDDwN6m64yhOGTFFjF0h/oaXF2yU4hhtHnCyUWHD J0QL2f2y18xIdPfKky9RbfKnDE73IRqrNeIbf3kn5qU5ryEbP76ShfsY9KW5rSzc8rjz chPuB1uK5G1qieMxylALjdsxKogPLE96ELZyrtusYdsiHh6ZAOOqeUUARdEEK/nQYnGc vEmjqnmvm/9eW+i5w8OhpE5L2u6BE2XF3Qaw6jVG34GSTG15ka5Oy4jjiVyfzk4kol3e k7FV62lPy36k85usZqNc2L7W+mjreNn6OZNk0Zv+Pg+feWBa9KT6PuL49vflCngetjck YWWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:organization:in-reply-to :content-transfer-encoding; bh=kmPkmOgvId6JoF6ol5XimLtu3DGkTtjGKIfc+y6C4eU=; b=tZD9z4fzU/+MohkWij6yLlYVEH4CWj0M59imFGtXTaYlIqB5RaU9w1CH+LPaBEF7vr QU0wWdBTjuW411wYbEIl2tJhDsGP13EkxR13AYxQ5y2ZYYSkU6DnAcEi3vggMytw0klx H2SWK44+eHjIaULzCXPRF0mQOwrXN0v2vNvKUHGzgeUW+/L2QUurTh6VFiNyKTt8I5oA 9kT9RB1vFiQqcvdCz0uBriwc54KuJWsHnr+y+oUA316Hdlf38KAaYXn2z37QQFxvlUqg rNPthHBVPngdhrLUObn3qvPiHar+TpvrqhaPMa/s6kEKHvQCbkjfvW1eB+KQCqqmZZw7 6/XQ== X-Gm-Message-State: AOAM5332mHjj1lDsrgAydE8GbGiJmMAW1P10YT+k+JD8lSHHBQnTHhOA bIpPElCjaS1nWlSnxYbJemRlsA== X-Google-Smtp-Source: ABdhPJxiPTi21H7WxW4B80ojPumKRogXXdPzMF3hmkzYaila62NBc6i1yfdQEiPCzju4O2x4K6uHqQ== X-Received: by 2002:a05:6402:1691:: with SMTP id a17mr9529659edv.109.1639678929642; Thu, 16 Dec 2021 10:22:09 -0800 (PST) Received: from ?IPV6:2a02:1811:3a7e:7b00:1400:24ea:cbca:e681? (ptr-9fplejn4os7m3x31ny9.18120a2.ip6.access.telenet.be. [2a02:1811:3a7e:7b00:1400:24ea:cbca:e681]) by smtp.gmail.com with ESMTPSA id qa33sm520499ejc.71.2021.12.16.10.22.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 10:22:09 -0800 (PST) Message-ID: <34cb807f-da93-3958-c8a6-9cec0fadaa7a@mind.be> Date: Thu, 16 Dec 2021 19:22:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Content-Language: en-GB To: Fabrice Fontaine , buildroot@buildroot.org References: <20211214224155.3060134-1-fontaine.fabrice@gmail.com> From: Arnout Vandecappelle Organization: Essensium/Mind In-Reply-To: <20211214224155.3060134-1-fontaine.fabrice@gmail.com> Subject: Re: [Buildroot] [PATCH 1/1] package/openblas: bump to version 0.3.18 X-BeenThere: buildroot@buildroot.org 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" On 14/12/2021 23:41, Fabrice Fontaine wrote: > Drop first and second patches (already in version) > > https://github.com/xianyi/OpenBLAS/blob/v0.3.18/Changelog.txt > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .../0001-fix-gfortran-detection.patch | 30 ------------ > ...sider-Os-when-determining-LAPACK_NO.patch} | 0 > ...port-for-passing-FFLAGS-on-the-make-.patch | 47 ------------------- > ...on-t-specify-optimization-level-bui.patch} | 0 > package/openblas/openblas.hash | 2 +- > package/openblas/openblas.mk | 4 +- > 6 files changed, 3 insertions(+), 80 deletions(-) > delete mode 100644 package/openblas/0001-fix-gfortran-detection.patch > rename package/openblas/{0003-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch => 0002-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch} (100%) > delete mode 100644 package/openblas/0002-Makefile-fix-support-for-passing-FFLAGS-on-the-make-.patch > rename package/openblas/{0004-Makefile.system-don-t-specify-optimization-level-bui.patch => 0003-Makefile.system-don-t-specify-optimization-level-bui.patch} (100%) > > diff --git a/package/openblas/0001-fix-gfortran-detection.patch b/package/openblas/0001-fix-gfortran-detection.patch > deleted file mode 100644 > index 1fecdac3e5..0000000000 > --- a/package/openblas/0001-fix-gfortran-detection.patch > +++ /dev/null > @@ -1,30 +0,0 @@ > -From ece3ce581e3ec530eaccfe7f284c52e115ec7aa9 Mon Sep 17 00:00:00 2001 > -From: Martin Kroeker > -Date: Wed, 10 Feb 2021 14:22:59 +0100 > -Subject: [PATCH] Strip parenthesized (pkgversion) data from GCC version string > - to avoid misinterpretation > - > -See https://github.com/xianyi/OpenBLAS/issues/3099 for details. > - > -Upstream-status: backport > - > -[for import into Buildroot] > -Signed-off-by: Thomas De Schampheleire > - > - > ---- > - f_check | 1 + > - 1 file changed, 1 insertion(+) > - > -diff --git a/f_check b/f_check > -index e9aca4ff9..ffe9c6b46 100644 > ---- a/f_check > -+++ b/f_check > -@@ -75,6 +75,7 @@ if ($compiler eq "") { > - > - } elsif ($data =~ /GNU/ || $data =~ /GCC/ ) { > - > -+ $data =~ s/\(+.*?\)+//g; > - $data =~ /(\d+)\.(\d+).(\d+)/; > - $major = $1; > - $minor = $2; > diff --git a/package/openblas/0003-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch b/package/openblas/0002-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch > similarity index 100% > rename from package/openblas/0003-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch > rename to package/openblas/0002-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch > diff --git a/package/openblas/0002-Makefile-fix-support-for-passing-FFLAGS-on-the-make-.patch b/package/openblas/0002-Makefile-fix-support-for-passing-FFLAGS-on-the-make-.patch > deleted file mode 100644 > index 72b387b93e..0000000000 > --- a/package/openblas/0002-Makefile-fix-support-for-passing-FFLAGS-on-the-make-.patch > +++ /dev/null > @@ -1,47 +0,0 @@ > -From 4d3829fa52240c2b7e48770ab19584db33ba7863 Mon Sep 17 00:00:00 2001 > -From: Thomas De Schampheleire > -Date: Fri, 5 Mar 2021 11:17:59 +0100 > -Subject: [PATCH] Makefile: fix support for passing FFLAGS on the make > - command line > - > -When openblas is built while passing FFLAGS on the make command line, the > -compilation of lapack objects will not contain the flags specified in > -Makefile but _only_ those passed in FFLAGS. > - > -This can lead to build failure, e.g. because -fPIC is not passed to the > -compilation of most lapack objects, but is given to the link command: > - > -.../buildroot/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -O2 -DMAX_STACK_ALLOC=2048 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DMAX_PARALLEL_NUMBER=1 -DVERSION=\"0.3.9\" -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.. -shared -o ../libopenblas_nehalem-r0.3.9.so \ > --Wl,--whole-archive ../libopenblas_nehalem-r0.3.9.a -Wl,--no-whole-archive \ > --Wl,-soname,libopenblas.so.0 -lm -lgfortran -lm -lgfortran > -.../buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-musl/9.3.0/../../../../x86_64-buildroot-linux-musl/bin/ld: ../libopenblas_nehalem-r0.3.9.a(sbdsvdx.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC > - > -In the initial support for this principle, added in commit > -d0e731e8b825e7a554f245aa8f1118dcec9e2728, the flags specified in the > -makefile were appended to the flags specified on the command-line. > - > -Fix this situation by using 'override' for 'FFLAGS' in > -lapack-netlib/make.inc. The flags passed on the command-line are already > -part of the LAPACK_FFLAGS variable, so no '+=' is needed here. > - > -Signed-off-by: Thomas De Schampheleire > ---- > - Makefile | 2 +- > - 1 file changed, 1 insertion(+), 1 deletion(-) > - > -diff --git a/Makefile b/Makefile > -index fc5fe3f5..8ae1ff47 100644 > ---- a/Makefile > -+++ b/Makefile > -@@ -248,7 +248,7 @@ prof_lapack : lapack_prebuild > - lapack_prebuild : > - ifeq ($(NOFORTRAN), $(filter 0,$(NOFORTRAN))) > - -@echo "FC = $(FC)" > $(NETLIB_LAPACK_DIR)/make.inc > -- -@echo "FFLAGS = $(LAPACK_FFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc > -+ -@echo "override FFLAGS = $(LAPACK_FFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc > - -@echo "POPTS = $(LAPACK_FPFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc > - -@echo "FFLAGS_NOOPT = -O0 $(LAPACK_NOOPT)" >> $(NETLIB_LAPACK_DIR)/make.inc > - -@echo "PNOOPT = $(LAPACK_FPFLAGS) -O0" >> $(NETLIB_LAPACK_DIR)/make.inc > --- > -2.26.2 > - > diff --git a/package/openblas/0004-Makefile.system-don-t-specify-optimization-level-bui.patch b/package/openblas/0003-Makefile.system-don-t-specify-optimization-level-bui.patch > similarity index 100% > rename from package/openblas/0004-Makefile.system-don-t-specify-optimization-level-bui.patch > rename to package/openblas/0003-Makefile.system-don-t-specify-optimization-level-bui.patch > diff --git a/package/openblas/openblas.hash b/package/openblas/openblas.hash > index c58def9d5d..a1e35f4fc4 100644 > --- a/package/openblas/openblas.hash > +++ b/package/openblas/openblas.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 17d4677264dfbc4433e97076220adc79b050e4f8a083ea3f853a53af253bc380 openblas-0.3.9.tar.gz > +sha256 1632c1e8cca62d8bed064b37747e331a1796fc46f688626337362bf0d16aeadb openblas-0.3.18.tar.gz > sha256 190b5a9c8d9723fe958ad33916bd7346d96fab3c5ea90832bb02d854f620fcff LICENSE > diff --git a/package/openblas/openblas.mk b/package/openblas/openblas.mk > index 60b9d9b15b..4d506fa618 100644 > --- a/package/openblas/openblas.mk > +++ b/package/openblas/openblas.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -OPENBLAS_VERSION = 0.3.9 > -OPENBLAS_SITE = $(call github,xianyi,OpenBLAS,v$(OPENBLAS_VERSION)) > +OPENBLAS_VERSION = 0.3.18 > +OPENBLAS_SITE = https://github.com/xianyi/OpenBLAS/releases/download/v$(OPENBLAS_VERSION) > OPENBLAS_LICENSE = BSD-3-Clause > OPENBLAS_LICENSE_FILES = LICENSE > OPENBLAS_INSTALL_STAGING = YES > _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot