From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IMjxDL3b+WMVSgEAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 10:58:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SFsJDb3b+WMLUwAA9RJhRA (envelope-from ) for ; Sat, 25 Feb 2023 10:58:21 +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 D8B5D3EDCA for ; Sat, 25 Feb 2023 10:58:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVrJc-0008Hk-KF; Sat, 25 Feb 2023 04:58:04 -0500 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 1pVrJa-0008HA-RL for guix-patches@gnu.org; Sat, 25 Feb 2023 04:58:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVrJa-0005Sk-JM for guix-patches@gnu.org; Sat, 25 Feb 2023 04:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVrJa-0007Hy-By for guix-patches@gnu.org; Sat, 25 Feb 2023 04:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61783] [PATCH 3/6] gnu: Add yices. References: <94a22cf50237fb101387b9a47c3beae6626631be.camel@gmail.com> In-Reply-To: <94a22cf50237fb101387b9a47c3beae6626631be.camel@gmail.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Feb 2023 09:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61783 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61783@debbugs.gnu.org Received: via spool by 61783-submit@debbugs.gnu.org id=B61783.167731907527980 (code B ref 61783); Sat, 25 Feb 2023 09:58:02 +0000 Received: (at 61783) by debbugs.gnu.org; 25 Feb 2023 09:57:55 +0000 Received: from localhost ([127.0.0.1]:39116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVrJS-0007HB-Qy for submit@debbugs.gnu.org; Sat, 25 Feb 2023 04:57:55 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:43900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVrJO-0007GJ-8q for 61783@debbugs.gnu.org; Sat, 25 Feb 2023 04:57:50 -0500 Received: by mail-ed1-f68.google.com with SMTP id h16so6706577edz.10 for <61783@debbugs.gnu.org>; Sat, 25 Feb 2023 01:57:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:to:subject:date:from:from:to:cc:subject :date:message-id:reply-to; bh=TH48FGirdgrb4M9G6PcHdLSXpjZLdlw2MKe7kkGIk0M=; b=a0PHVbfNFWhOXdKPOfbjEiwBhqngxwDpd5L+5r/G9mj0Z/sD+unxN6Nj1HZGwi8pvJ Pg+TtzsKSCS1t0uQty7Xo/Tz9Kxg7XHDX0edWViED+uyhxoTtAp63oTgYtFgejKGF5no Cr00d06gQoDdveHLsz+aGDL7Owv6gHFaRgSehoKsMD9aS4eJArBpEFRVehCd2CCf+Iz5 jmuoH4VaTLaintVWpuIq8HRuoi0LbIst5SOXPpq0yak40hlJ5nTlQWWrTG4Mmpp6/17O wRyrpdOAP2O0h9BhJ/R2CvcLaXmAxZaCxnN/sIqIQjBNW39Tj3wZf5jBgKGz7rqGEUdp 8AQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:to:subject:date:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TH48FGirdgrb4M9G6PcHdLSXpjZLdlw2MKe7kkGIk0M=; b=B6s6pNURsrfTRwkUGW4TEHOWgPk33+gxIUanwjxxpiUSnwTHtzgl5qj2fd6HPknaZL 69223GDe4MbnSj+l06anMHu6DwP5HglLSXW919XTVmGEd6L+wmblzGfajONtsZy6J1lq z8s5p8VXcomcja4gaJ2gpOsBUzV/mG0CNs2Frqnm/sS30rCiuKqhzCRwVf3knNYksxcM I1E2DUct3uBdV7iJQshqC5ejonfm6IDuJSWMBUoHBe+UUL+EWzuzZR911bg6YSDY4aF7 sXA1ExRraKlS0rXVmOAYYhgKaMoS9dZLpZ7eyqkRJBgAfEI7MkP1/9s4LBH+6dYTmzPw Zjww== X-Gm-Message-State: AO0yUKW9MaEfX9EEwkI6DmX4qNqMPlZ6WZc91j5hAK9/3DAq9gmg0SCM /OXlrrd2zT120uDQhmNN6fLObNqrgBAD5g== X-Google-Smtp-Source: AK7set9/9ZBis07HcwigXEK4ZJdbWug5ROf1q4LDF9Rbh5UZSMpQ5cWeSrCkrbJBGGGivjRMldvK3w== X-Received: by 2002:aa7:d512:0:b0:4b0:d079:1e7e with SMTP id y18-20020aa7d512000000b004b0d0791e7emr1775701edq.25.1677319064502; Sat, 25 Feb 2023 01:57:44 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id u15-20020a50d50f000000b0049e1f167956sm670720edi.9.2023.02.25.01.57.43 for <61783@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 01:57:44 -0800 (PST) From: Liliana Marie Prikler Date: Sat, 25 Feb 2023 09:24:58 +0100 Message-ID: <29804d6156d42af6fa849453fda0178a9fee85b2.camel@gmail.com> 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677319101; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: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:dkim-signature; bh=TH48FGirdgrb4M9G6PcHdLSXpjZLdlw2MKe7kkGIk0M=; b=dg9z+ADTWfyWRIV5P5cKpOFSd3j8lOK1/fJs0C9Eh43DUTSQcZQ/okvTA/TEkDC37wOH2A ZVOQb19C22WfIoOp+ZHXH8Fn2+fXSaOQzxwrfTkglbJJYnhIs2DHFgip1mKOzngYuvo+38 b5lAP6GwOBHLKvI9VXJ+lcYPdQi/W56H0FKp3g/5uwO8pGwI8Jv6NUQzNMWpzfCOHfMku3 UvcKSwLCizP3YLLvV3UpqnbP4AoUcRAKeiCc9Y5a4xj7r1xrqIv5/BfxEdFoVOCMElRXFu oPov7O/vmbECtcRNWxCB4VkZWNFejUhV0vrUo/kL1mRfMWLy65lQbXyII387+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=a0PHVbfN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677319101; a=rsa-sha256; cv=none; b=n57HehVmihowmj7vcWmfznqMfXeuqRiINntGumICr9G++vtiAfhQYH4nSbn7E5sveaqTwz 1/O5n6UP4LAd6A2MDTwz4JLfxoY+rE9qoFEvxgoCztrELolqPFibJVbVSsqikPyx3N4rlE bFv/87C9y9NGf1NgORV6Yle4X0bl18Ae14qNLV0RzWmxRLATxqqcL49tHD80/OZCcxgRFL pte5Jis5sOPn5mbx/DCCMLC9YqpUBN1MpEy1a1zD0CmkHqSQTbf/VgtvOLKHYx0RTa6rUP UTEbUIS/Rt4mH50v+2mFSVirrwPtBhifa3r+17uMOwy31zqbuWvGlIyP18M+yg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=a0PHVbfN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -0.58 X-Spam-Score: -0.58 X-Migadu-Queue-Id: D8B5D3EDCA X-TUID: /p9peTH9dDDB * gnu/packages/maths.scm (yices): New variable. --- gnu/packages/maths.scm | 53 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index f9b050ddcb..069c2c07c2 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -123,6 +123,7 @@ (define-module (gnu packages maths) #:use-module (gnu packages gd) #:use-module (gnu packages ghostscript) #:use-module (gnu packages glib) + #:use-module (gnu packages gperf) #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) @@ -6080,6 +6081,58 @@ (define-public jacal (home-page "https://www.gnu.org/software/jacal/") (license license:gpl3+))) +(define-public yices + (package + (name "yices") + (version "2.6.4") + (source (origin + (method url-fetch) + (uri (string-append "https://yices.csl.sri.com/releases/" + version "/yices-" version "-src.tar.gz")) + (sha256 + (base32 + "1jvqvf35gv2dj936yzl8w98kc68d8fcdard90d6dddzc43h28fjk")))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags + #~(list #$@(if (%current-target-system) + '() + (list (string-append "--build=" + (%current-system)))) + "--enable-mcsat" + ;; XXX: Ewww, static linkage + (string-append + "--with-static-libpoly=" + (search-input-file %build-inputs "lib/libpoly.a")) + (string-append + "--with-static-gmp=" + (search-input-file %build-inputs "lib/libgmp.a")) + (string-append + "--with-pic-libpoly=" + (search-input-file %build-inputs "lib/libpicpoly.a"))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-build-files + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile.build" + (("SHELL=.*") "") + (("/sbin/ldconfig") (which "ldconfig"))) + (substitute* (find-files "etc" "install-yices.*") + (("/usr/bin/install") (which "install")) + (("/bin/ln") (which "ln")) + (("/sbin/ldconfig") (which "ldconfig")) + (("install_dir=.*") + (string-append "install_dir=" + (assoc-ref outputs "out"))))))))) + (inputs (list cudd gmp gperf libpoly)) + (native-inputs (list autoconf automake bash-minimal)) + (home-page "https://yices.csl.sri.com/") + (synopsis "Satisfiability modulo theories solver") + (description "Yices is a solver for @acronym{SMT, satisfiability modulo +theories} problems. It can process input in SMT-LIB format or its own +s-expression-based format.") + (license license:gpl3+))) + (define-public z3 (package (name "z3") -- 2.39.1