From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yAdiHji992HUeAEAgWs5BA (envelope-from ) for ; Mon, 31 Jan 2022 11:43:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kHHTGzi992HLcQEA9RJhRA (envelope-from ) for ; Mon, 31 Jan 2022 11:43:04 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 114A3428FC for ; Mon, 31 Jan 2022 11:43:04 +0100 (CET) Received: from localhost ([::1]:56888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEU9G-0008MT-Q0 for larch@yhetil.org; Mon, 31 Jan 2022 05:43:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEU8J-0008LX-Si for guix-patches@gnu.org; Mon, 31 Jan 2022 05:42:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45505) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEU8I-00018e-Dn for guix-patches@gnu.org; Mon, 31 Jan 2022 05:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEU8I-0004bR-Cv for guix-patches@gnu.org; Mon, 31 Jan 2022 05:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53656] [PATCH 1/2] gnu: Add julia-linesearches. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Jan 2022 10:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53656 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53656@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 53656-submit@debbugs.gnu.org id=B53656.164362567717620 (code B ref 53656); Mon, 31 Jan 2022 10:42:02 +0000 Received: (at 53656) by debbugs.gnu.org; 31 Jan 2022 10:41:17 +0000 Received: from localhost ([127.0.0.1]:38405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEU7Y-0004a8-Ka for submit@debbugs.gnu.org; Mon, 31 Jan 2022 05:41:16 -0500 Received: from flashner.co.il ([178.62.234.194]:35596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEU7U-0004Zr-CA for 53656@debbugs.gnu.org; Mon, 31 Jan 2022 05:41:15 -0500 Received: from localhost (unknown [31.210.177.79]) by flashner.co.il (Postfix) with ESMTPSA id 7F57F40190; Mon, 31 Jan 2022 10:41:06 +0000 (UTC) From: Efraim Flashner Date: Mon, 31 Jan 2022 12:40:32 +0200 Message-Id: <9e56fc467f7b56b65422a010a43a5df3f50fcdd8.1643625386.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643625784; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=9whn92+XI3hxG0DVmb+Ef/6mDWyCtsrg39/TIauGHbo=; b=DDJlV6h9O0jp6sSxJXkfw0QPPMFUx3DRkGlJIey7FEa0F7+BWScxni4SsCKEyUA9x95EMp sKq1CCCMdHLT944Re+j/hpWgFoeynEzfXcotqRkOc+v/VKWtBDITO3rwQkHfDYgIHeWCOG H6R1EhbeuZz0XVxePIzC1VwzWDvgl6Qtexe2XpaU/ZBbhEhMOWRIfqOo5ol7ZBGCQQqCLe j8yrBab6jTDMk8bwWrFdVVycRP8XN1aujdI/jj9DzuRpXIR7BWZF+TtFE+j4itDMjBCzpD CkIztUY82l8670/t9FqKDB3fmExJfgXSD1pGGjM+DAsRpOl+Njt0uLuUauUDWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643625784; a=rsa-sha256; cv=none; b=V3g94PkPSR4VF3uTgUTjDX5zP05tZR8i+6G1S/1Q0nQ4dwnIpSygEXeEMhhk5kBeq229PO Vx+VfEY41B7AX3ic090+jVoHDvdKAQJe44GVdrjdo5U4ZMEhm69GAFXzBdonnHNzyB6PFa udmyULAMExZcF9Wy1RCcP079WL7cCCVIvQPV5y3xqNZjeKX+BSBWDtpP6jdkF4r/m300Ki 4qwQHglQgApWQ15kBL40Df4nc0YDLQc3Ssowpcm5zRzwJQ5vjwqElvJtzpSM5+g6I4hOmJ ArrcCVgQHjIvaujo+kL8u5rblbSh9kdRj5cUZlJS3v9i8jT9cCv/5EPvG924FQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 114A3428FC X-Spam-Score: -2.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: SUsROM9m26O7 * gnu/packages/julia-xyz.scm (julia-linesearches): New variable. --- gnu/packages/julia-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index e30cf39dc9..7de0c32113 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020, 2021 Nicolò Balzarotti ;;; Copyright © 2021, 2022 Simon Tournier -;;; Copyright © 2021 Efraim Flashner +;;; Copyright © 2021, 2022 Efraim Flashner ;;; Copyright © 2021 Vinicius Monego ;;; Copyright © 2021 jgart ;;; @@ -3104,6 +3104,49 @@ (define-public julia-lazyarrays implementation of matrix-free methods for iterative solvers.") (license license:expat))) +(define-public julia-linesearches + (package + (name "julia-linesearches") + (version "7.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaNLSolvers/LineSearches.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qc4la07w6s1xhcyd0hvbnpr31zc1a2ssgyybc8biv5m00g0dnr0")))) + (build-system julia-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'link-depot 'skip-optim-tests + (lambda _ + (substitute* "test/examples.jl" + ;; Prevent a cycle with Optim.jl. + (("^ SKIPFILE.*") "") + (("^ #SKIPFILE") " SKIPFILE")))) + (add-after 'link-depot 'skip-doublefloats-tests + (lambda _ + (substitute* "test/runtests.jl" + (("using DoubleFloats.*") "") + ((".*arbitrary_precision\\.jl.*") ""))))))) + (propagated-inputs + (list julia-nlsolversbase + julia-nanmath + julia-parameters)) + (native-inputs + ;; DoubleFloats.jl transitively depends on TimeZones.jl, which is currently + ;; unpackageable due to its oversized Artifacts.toml. + (list ;julia-doublefloats + julia-optimtestproblems)) + (home-page "https://github.com/JuliaNLSolvers/LineSearches.jl") + (synopsis "Line search methods for optimization and root-finding") + (description "This package provides an interface to line search algorithms +implemented in Julia.") + (license license:expat))) + (define-public julia-logexpfunctions (package (name "julia-logexpfunctions") -- 2.34.0