[Nix-dev] Using Nix with external (but 'pure') dependencies

Ben Darwin bcdarwin at gmail.com
Wed Jan 14 18:36:19 CET 2015


Currently we compile with GCC, and we'd probably be willing to
continue doing so since libraries do much of our heavy lifting.

On 14 January 2015 at 12:30, Luca Bruno <lethalman88 at gmail.com> wrote:
> On 14/01/2015 18:17, Ben Darwin wrote:
>>
>> You can't recompile those BLAS and LAPACK with the intel compiler using nix?
>>
>> In principle yes, but (a) wouldn't we encounter the same problem
>> writing a Nix expression for icc, since it's only available to us as
>> a binary on the system? (b) we'd need to find out the various
>> optimization flags enabled on this particular system from the admins,
>> who might frown on this project, and as a new user it's not clear whether
>> the existing exprs for these libraries allow this configuration (or even use
>> of non-gcc compilers).
> I understand. Well, maybe to some degree it's possible to use such
> libraries. The first thing that comes to my mind is simply cp -rf
> ${./yourlibdir} $out, so that in $out you have include/, lib/, etc..
> Then run a couple of patchelf. But are the programs going to be compiled
> with gcc or icc?
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list