From patchwork Tue Mar 12 22:51:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: David Elsing X-Patchwork-Id: 61732 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1BBB427BBE2; Tue, 12 Mar 2024 22:55:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 28B1F27BBEB for ; Tue, 12 Mar 2024 22:55:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkB0I-0000GE-73; Tue, 12 Mar 2024 18:53:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkAzz-0008UE-4u for guix-patches@gnu.org; Tue, 12 Mar 2024 18:53:31 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rkAzy-0000J4-Sh for guix-patches@gnu.org; Tue, 12 Mar 2024 18:53:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rkB0X-0001mP-In for guix-patches@gnu.org; Tue, 12 Mar 2024 18:54:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69591] [PATCH v2 11/31] gnu: Remove flatbuffers-next-shared. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Mar 2024 22:54:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69591 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69591@debbugs.gnu.org Cc: David Elsing Received: via spool by 69591-submit@debbugs.gnu.org id=B69591.17102840166595 (code B ref 69591); Tue, 12 Mar 2024 22:54:05 +0000 Received: (at 69591) by debbugs.gnu.org; 12 Mar 2024 22:53:36 +0000 Received: from localhost ([127.0.0.1]:44074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkB04-0001iD-1e for submit@debbugs.gnu.org; Tue, 12 Mar 2024 18:53:36 -0400 Received: from mout01.posteo.de ([185.67.36.65]:44495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkAze-0001e0-L2 for 69591@debbugs.gnu.org; Tue, 12 Mar 2024 18:53:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4D35E240028 for <69591@debbugs.gnu.org>; Tue, 12 Mar 2024 23:52:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710283950; bh=B1cN76ZIX7dcpQt7SVJr0Ou9nwg65E1LfVmNdJt0ovo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=mHDdbMMm41ISbSaJk+6/B8kTnUA3TnaAXvmk5nBqc3xqXRL6Rw4cGf7B+qA0Nlf0K /W7St6b54aG/ConkjQwmVxMlE/A5JIoJBkmLHOYKJKsYh3+/NnO638BncM7NaeiN0U jei2fTh2wZD2jKXddGz2xznwkd8+01SNd35tOXGDrWvsBo01/6FrAFaYVsCyBZ7hb4 5gOxJxpJUWVsUEiltphycMYOLtoWFZJNLii7q6PiTGZJ0xyKT8gMObld9XWLYsdDuk giz0l8vLUqONWslX4uydkDjfcu+dZBErRA/5XkrtxrkgB5962yudPS/JWuFwLWJZzc NI9l1vKYLFiXg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TvTRx6fZvz6tx2; Tue, 12 Mar 2024 23:52:29 +0100 (CET) From: David Elsing Date: Tue, 12 Mar 2024 22:51:39 +0000 Message-ID: <20240312225211.16427-11-david.elsing@posteo.net> In-Reply-To: <20240312224712.15578-1-david.elsing@posteo.net> References: <20240312224712.15578-1-david.elsing@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/serialization.scm (flatbuffers-next-shared): Delete variable. * gnu/packages/machine-learning.scm (tensorflow-lite)[arguments]: Use flatbuffers-next instead of flatbuffers-next-shared. --- gnu/packages/machine-learning.scm | 5 +++-- gnu/packages/serialization.scm | 11 ----------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 5c18a2e9d5..6da189616d 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2024 David Pflug ;;; Copyright © 2024 Timothee Mathieu ;;; Copyright © 2024 Spencer King +;;; Copyright © 2024 David Elsing ;;; ;;; This file is part of GNU Guix. ;;; @@ -3337,7 +3338,7 @@ (define-public tensorflow-lite (string-append "-DEigen3_DIR=" #$(this-package-input "eigen") "/share/eigen3/cmake") (string-append "-DFlatBuffers_DIR=" - #$(this-package-input "flatbuffers-shared") + #$(this-package-input "flatbuffers") "/lib/cmake/flatbuffers") (string-append "-DNEON_2_SSE_DIR=" #$(this-package-input "neon2sse") "/lib/cmake/NEON_2_SSE") @@ -3424,7 +3425,7 @@ (define-public tensorflow-lite ("cpuinfo" ,cpuinfo) ("eigen" ,eigen) ("fp16" ,fp16) - ("flatbuffers-shared" ,flatbuffers-next-shared) + ("flatbuffers" ,flatbuffers-next) ("gemmlowp" ,gemmlowp) ("mesa-headers" ,mesa-headers) ("neon2sse" ,neon2sse) diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index bfee0dbfc6..405c4211da 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -890,17 +890,6 @@ (define-public flatbuffers-next (base32 "1z3a6l8g2y53i5xzraswfs2i0i3kk52zv7nzc2q3fgisbyiri3pz")))))) -(define-public flatbuffers-next-shared - (package - (inherit flatbuffers-next) - (name "flatbuffers-shared") - (version "23.1.21") - (arguments - (substitute-keyword-arguments (package-arguments flatbuffers-next) - ((#:configure-flags flags) - ;; Compile with -fPIC, needed for shared lib. - #~(cons "-DFLATBUFFERS_CXX_FLAGS=-fPIC" #$flags)))))) - (define-public python-flatbuffers (package (name "python-flatbuffers")