From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGh8L-0001y3-Mn for guix-patches@gnu.org; Thu, 10 May 2018 04:41:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGh8I-0000gC-Ix for guix-patches@gnu.org; Thu, 10 May 2018 04:41:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGh8I-0000g4-Eg for guix-patches@gnu.org; Thu, 10 May 2018 04:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fGh8I-0002Qp-2T for guix-patches@gnu.org; Thu, 10 May 2018 04:41:02 -0400 Subject: [bug#31386] [PATCH 2/3] gnu: Add gemmlowp-for-tensorflow. Resent-Message-ID: References: <20180508145909.25354-1-ricardo.wurmus@mdc-berlin.de> <20180508145909.25354-2-ricardo.wurmus@mdc-berlin.de> <87po24v42b.fsf@gnu.org> From: Ricardo Wurmus In-Reply-To: <87po24v42b.fsf@gnu.org> Date: Thu, 10 May 2018 10:40:35 +0200 Message-ID: <87a7t7gayk.fsf@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 31386@debbugs.gnu.org Ludovic Court=C3=A8s writes: > Ricardo Wurmus skribis: > >> * gnu/packages/machine-learning.scm (gemmlowp-for-tensorflow): New varia= ble. > > [...] > >> +;; TODO: We may need to pass "-msse4.1" as an additional optimization f= lag >> +;; when building for x86_64. This is strongly recommended by the autho= rs in >> +;; the README.md. > > It=E2=80=99d be nice to produce a patch to have =E2=80=9Cfunction multi-v= ersioning=E2=80=9D for > the hot parts, as described at > . Yeah, that would be nice. However, I don=E2=80=99t know how to test the resulting binary. >> +(define-public gemmlowp-for-tensorflow >> + (let ((commit "7c7c744640ddc3d0af18fb245b4d23228813a71b")) > > Could you comment on how you chose this commit? Is it because it starts > with =E2=80=9C7c7c=E2=80=9D? ;-) That=E2=80=99s the commit that the TensorFlow build system refers to. -- Ricardo