From: Efraim Flashner <efraim@flashner.co.il>
To: Tobias Geerinckx-Rice <somebody@not-sent-or-endorsed-by.tobias.gr>
Cc: 34615@debbugs.gnu.org
Subject: [bug#34615] [PATCH] gnu: Add libtommath.
Date: Sun, 24 Feb 2019 09:50:28 +0200 [thread overview]
Message-ID: <20190224075028.GF18280@macbook41> (raw)
In-Reply-To: <87sgwfvega.fsf@nckx>
[-- Attachment #1: Type: text/plain, Size: 2197 bytes --]
On Fri, Feb 22, 2019 at 07:57:25PM +0100, Tobias Geerinckx-Rice wrote:
> Efraim,
>
> Thanks!
>
> Efraim Flashner wrote:
> > * gnu/packages/algebra.scm (libtommath): New variable.
>
> > + (add-after 'unpack 'prepare-build
> > + (lambda _
> > + ;; Don't pull in coreutils.
> > + (substitute* "makefile_include.mk"
> > + (("arch") "uname -m"))
>
> I'd add an empty line here or separate this into two fases just to be very
> clear, since…
>
Sounds good. I didn't want to toss in a couple of one-liner phases, so
I'll make it clearer.
> > + (delete-file "makefile")
> > + (symlink "makefile.shared" "makefile")
> > + #t))
>
> …I got a bit lost between all these makefiles. Could you explain exactly
> what's going on?
>
> Is this to avoid repeating ‘-f makefile.shared’ elsewhere?
Yeah, basically. Pkgsrc has a keyword to use makefile.shared and Debian
passes '-f makefile.shared' in all its phases, this seemed much eaiser.
>
> > + (add-after 'check 'make-static
>
> More accurate: 'install-static-library.
Sounds good
>
> While libtommath.a is ‘only’ 332K, that's almost half of the entire output
> size. Is it worth moving to a separate :static output?
>
As far as size goes I decided against it since it is so small, but by
putting libtommath.a in a separate output it does prevent other packages
from picking up the wrong one. Sounds good.
> > + (synopsis "portable number theoretic multiple-precision integer
> > library")
>
> s/p/P/
>
> multiprecision.scm is a better fit and already has sister package
> tomsfastmath to keep this one company.
I didn't see that one. I'll stick it next to that one.
>
> > +integer library written entirely in C. The library is designed to
> > provide a
>
> s/The library is/It's/ IMO.
>
> > +simple to work with API
>
> ‘simple-to-work-with API’, unfortunately.
>
> Kind regards,
>
> T G-R
Thanks
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2019-02-24 7:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-22 12:20 [bug#34615] [PATCH] gnu: Add libtommath Efraim Flashner
2019-02-22 12:27 ` Efraim Flashner
2019-02-22 22:30 ` Tobias Geerinckx-Rice
2019-02-24 7:45 ` Efraim Flashner
2019-02-24 8:52 ` bug#34615: " Efraim Flashner
2019-02-22 18:57 ` [bug#34615] " Tobias Geerinckx-Rice
2019-02-23 9:06 ` swedebugia
2019-02-24 7:47 ` Efraim Flashner
2019-02-24 7:50 ` Efraim Flashner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190224075028.GF18280@macbook41 \
--to=efraim@flashner.co.il \
--cc=34615@debbugs.gnu.org \
--cc=somebody@not-sent-or-endorsed-by.tobias.gr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.