Re: [Kicad-developers] Improving behavior and logic of Findngspice.cmake

2018-01-17 Thread Wayne Stambaugh
On 1/17/2018 12:31 PM, Carsten Schoenert wrote: > Hello Dan, > > Am 17.01.2018 um 16:51 schrieb Dan Weatherill: >> Carsten, >> >> The Findngspice.cmake script looks like a pretty standard (and pretty clean) >> implementation of how one is supposed to write find modules. There should be >> no

Re: [Kicad-developers] Improving behavior and logic of Findngspice.cmake

2018-01-17 Thread Carsten Schoenert
Hello Dan, Am 17.01.2018 um 16:51 schrieb Dan Weatherill: > Carsten, > > The Findngspice.cmake script looks like a pretty standard (and pretty clean) > implementation of how one is supposed to write find modules. There should be > no > need to provide debian specific modifications to it, and

Re: [Kicad-developers] Improving behavior and logic of Findngspice.cmake

2018-01-17 Thread Dan Weatherill
Carsten, The Findngspice.cmake script looks like a pretty standard (and pretty clean) implementation of how one is supposed to write find modules. There should be no need to provide debian specific modifications to it, and if there is it should be either provided by Debian ( as this is surely

Re: [Kicad-developers] Improving behavior and logic of Findngspice.cmake

2018-01-17 Thread Wayne Stambaugh
Hey Carsten, On 1/17/2018 5:14 AM, Carsten Schoenert wrote: > Hello Dan, > > Am 16.01.2018 um 21:16 schrieb Dan Weatherill: >> Hi Carsten, >> have you tried specifying -DCMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu >> when calling cmake in the build script? > > no I haven't until now, but this

Re: [Kicad-developers] Improving behavior and logic of Findngspice.cmake

2018-01-17 Thread Carsten Schoenert
Hello Dan, Am 16.01.2018 um 21:16 schrieb Dan Weatherill: > Hi Carsten, > have you tried specifying -DCMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu > when calling cmake in the build script? no I haven't until now, but this seems not to do anything. Even if I definitely have no parts of libngspice

Re: [Kicad-developers] Improving behavior and logic of Findngspice.cmake

2018-01-16 Thread Dan Weatherill
Hi Carsten, have you tried specifying -DCMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu when calling cmake in the build script? Relevant documentation here, in roughly the 2nd paragraph: https://cmake.org/cmake/help/v3.0/command/find_library.html Thanks, Dan W On Tuesday, 16 January 2018 19:23:25

[Kicad-developers] Improving behavior and logic of Findngspice.cmake

2018-01-16 Thread Carsten Schoenert
Hi, as written some days ago I'm working currently on packaging of ngspice for Debian main. For this I must follow the Debian (packaging) policy [1]. This requires the installation of shared libraries into /usr/lib/triplet due policy 9.1.1.4 (see [2]). triplet means here the architecture there