GNU bug report logs - #27344
[PATCH 0/12] Add computational software and circuit simulators

Previous Next

Package: guix-patches;

Reported by: Theodoros Foradis <theodoros.for <at> openmailbox.org>

Date: Mon, 12 Jun 2017 15:27:03 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Theodoros Foradis <theodoros <at> foradis.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27344 <at> debbugs.gnu.org
Subject: [bug#27344] [PATCH v3 2/8] gnu: Add libngspice and ngspice.
Date: Fri, 29 Sep 2017 00:24:13 +0300
Ludovic Courtès writes:

> Theodoros Foradis <theodoros <at> foradis.org> skribis:
>
>> * gnu/packages/engineering.scm (libngspice): New variable.
>> * gnu/packages/engineering.scm (ngspice): New variable.
>
> I’m sorry for asking this late in the game, but I didn’t find the
> answer in previous discussions: why two packages?  It seems to me that a
> “lib” output would achieve the same, no?
>
> (It’s best to leave a comment in such a situation.)
>
> If you tell me I’m wrong, that’s OK, I’ll apply it right away!

The way this package's build system is set up, you cannot build both the
libraries and executables in the same run. That is, you need to run
./configure (with the library-specific flag), make, then ./configure and
make again, to build everything.

This is why I split the package in two. Initially (in v1 and v2 patch
series), I had libngspice be a non-public package, and ngspice was
copying the library to its normal output.

After Danny's additions, different phases were added to both
packages, and unneeded files are deleted from their outputs. So, both
were made public, with only the minimal files needed for each
functionality.

Would it be preferable to have libngspice as a non-public package again,
and have ngspice copy it to a "lib" output?

I'm not sure what the "guix" way of handling this is.

WDYT?
-- 
Theodoros Foradis




This bug report was last modified 7 years and 195 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.