guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add libsodium


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: Add libsodium
Date: Thu, 26 Jun 2014 15:57:12 +0200
User-agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)

"Thompson, David" <address@hidden> skribis:

> On Thu, Jun 26, 2014 at 8:48 AM, Ludovic Courtès <address@hidden> wrote:
>
>> However, the web page reads:
>>
>>   In order to pick the fastest working implementation of each primitive,
>>   NaCl performs tests and benchmarks at compile-time.  Unfortunately,
>>   the resulting library is not guaranteed to work on different hardware.
>>
>> Which means that Hydra would end up building a version that uses the
>> specific ISA extensions that happened to be available on the build
>> machine, which in turn might be unavailable on the user’s machine.
>>
>> Is there a way to disable the compile-time magic, and instead let
>> libsodium make the choice at run time?  GMP has --enable-fat for that
>> purpose.
>
> Well, Sodium is a fork on NaCL, and underneath that paragraph it reads:
>
>   Sodium performs tests at run-time, so that the same binary package
> can still run everywhere.
>
> So, I think we are okay!  This is a good advantage of Sodium over NaCl.
>
> With that concern out of the way, okay to push?

Oh indeed, I had overlooked that.  OK to push!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]