From owner-freebsd-ports@freebsd.org Wed Feb 13 09:17:46 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E214814E8F6C for ; Wed, 13 Feb 2019 09:17:45 +0000 (UTC) (envelope-from dimpase@gmail.com) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B776809E7 for ; Wed, 13 Feb 2019 09:17:45 +0000 (UTC) (envelope-from dimpase@gmail.com) Received: by mail-lf1-x12f.google.com with SMTP id q11so1218460lfd.3 for ; Wed, 13 Feb 2019 01:17:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0cENu2aJTNiljYbjiu3wHjAKQXj1R6CxmJz/OJLidTI=; b=KwU71tkcaFENF4se1DKPeAd3pgNp8KsF5COlqD9D8Xashbm7XAYsFgGCghOmo/ffOf vKwe+EcE+5kR2FOFwPKCOUXB4XSjLNhfl+H215FvoLB9hhVUpvNilMgAB6oEU4+dApX0 nbDmDYryxS/CAjBfYQ25v+VqWkMy+qwOWpEUhXelmB+mWr8DFyhp3g6ECkxLTHDm+FYr 6vMLhMrfyoO/dm8rQnUScGncN2jATmiuRG9tH5h4o0pcF8bVDnI8iBZqB0JRbpVEulrg uA9iLdr/XAA/3KH6hpFLeSS+DgjiwqG36CVy23nR10YXz0M/E1KiXiDbaSzQOqo4AkJY /a5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0cENu2aJTNiljYbjiu3wHjAKQXj1R6CxmJz/OJLidTI=; b=n/SeElb6q6qjULt0qkrShLtidbRR2mf1VJIQN++NqxV3vWdVUGcV+Bq5TVk/rQE0Sn kHA9Nrchvi2v7R9iiiS/BYqfOYyAkPZk5Mq0yNoDIZql9bTR+y/FXZHDPQpXciCtgvFe ySe1YtpyoRa564oK2AyEjqph5tC/EkU5OoFLN8LzAAGyJn1PiUEKc0LlFz8MSfDdqMTW m7kxt7QT8wCgiR/2eulQJTAX9Yv9MZ+14ReUK2pHg947PEW+yB10b73hsAkYhLsbgT4D MvIfhPbwpO2WeZMDSh3KhBcKXC4X/7eiiB4Na9rBXM3ZQqiLm5JE5dqCgIwDAyISO2id WT3A== X-Gm-Message-State: AHQUAuZLHbxPtVHS4TQ/2HzOH5qoYRrMR653/m5O1w2T4yEejQ036ZAN may4juku0WiTOqhr4cwbKTuybXdwykbej7nqmIlvJqelkso= X-Google-Smtp-Source: AHgI3IY4oMRjvYWbAeWi5jkkkEamxM2t10E/VS6GeT2LcrWU8kAn/SRcVHhABe+jHffG+byKP9m7pMFFelxajJzPK8w= X-Received: by 2002:a19:f619:: with SMTP id x25mr5138778lfe.57.1550049463344; Wed, 13 Feb 2019 01:17:43 -0800 (PST) MIME-Version: 1.0 References: <20190213050556.GH19533@server.rulingia.com> In-Reply-To: <20190213050556.GH19533@server.rulingia.com> From: Dima Pasechnik Date: Wed, 13 Feb 2019 09:17:31 +0000 Message-ID: Subject: Re: [flint2] feature request - linking with ntl To: freebsd-ports@freebsd.org Cc: Peter Jeremy Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 3B776809E7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.965,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[freebsd] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2019 09:17:46 -0000 On Wed, Feb 13, 2019 at 5:06 AM Peter Jeremy wrote: > > On 2019-Feb-12 20:47:15 +0000, Dima Pasechnik wrote: > >Flint2 can be linked with ntl, providing more capabilities. > > Apart from being a prerequisite for sagemath, what additional capabilities > does flint2 gain from being linked with ntl? It's not merely a minor technical thing. It provides conversion between flint2 and ntl data, see https://github.com/wbhart/flint2/blob/trunk/interfaces/doc/interfaces.txt It is a reasonably general and useful feature, and it is about 400 lines of C++. Yes, indeed, it prevents Sagemath from using flint2 from ports > > >Is this a reasonable request to ask for flint2 to be linked with ntl > >and available in such a configuration by default? > > IMO, ntl should be an optional dependency. Whether it should default to > being "on" depends on the benefits gained from including it. I must say I am not too familiar with optional dependencies in ports. It would be fine it e.g. pkg can detect that ntl is already installed, and provide flint2 linked against ntl, but I don't know if this is/can be implemented. The main setback with this option on is that libflint.so file will be bigger in size (probably because C++-related ABI is not too small), but we're talking about extra 10-15 Mb or so. Thanks, Dima > > -- > Peter Jeremy