← Back to team overview

kicad-developers team mailing list archive

Re: ngspice-34

 

Ah, yes that sounds reasonable. I guess
/CMakeModules/Findngspice.cmake could be modified to use pkg-config to
get the version and paths needed?

On Tue, Mar 23, 2021 at 4:20 PM Jon Evans <jon@xxxxxxxxxxxxx> wrote:
>
> It sounds like the preference is to move away from using a config.h at all, which means all the KiCad packaging systems would need to update to use pkg-config to generate a header which can then be included in kicad's build process.  Is that correct?
>
> On Tue, Mar 23, 2021 at 11:15 AM Jonatan Liljedahl <lijon@xxxxxxxxxxxx> wrote:
>>
>> If ngspice-35 is not ready to be tagged soon, perhaps Holger could
>> make a branch called "ngspice-34-config-fix" or something, based on
>> the ngspice-34 tag but only adding the simple fix of installing
>> config.h into /include/ngspice/ instead? Then KiCad packagers could
>> build from this branch? Unless some packages are not using locally
>> built ngspice? Just some ideas of possible solutions...
>>
>> Cheers
>>
>> On Tue, Mar 23, 2021 at 3:22 PM Holger Vogt <holger.vogt@xxxxxxxxxx> wrote:
>> >
>> > The intention is to not at all install config.h.
>> >
>> > Installing it into ./include was a bug in ngspice-34 which has already
>> > been removed in the current ngspice master branch.
>> >
>> > Perhaps you may make use of this bug by automatically moving config.h
>> > from <...>/include/ to <...>/include/ngspice/ when building KiCad,
>> > before we will have a solution without config.h in ngspice-35?
>> >
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~kicad-developers
>> > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~kicad-developers
>> > More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>> --
>> /Jonatan
>> http://kymatica.com
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp



-- 
/Jonatan
http://kymatica.com


Follow ups

References