tde-devs@chat.jabb.im < 2021/11/02 >
[01:11]michelec2 has joined
[03:15]michelec2 has left
[10:12]Slávek has left
[11:08]Slávek has joined
[13:14]blu.256 has left
[13:17]blu.256 has joined
[13:36]blu.256 has left
[13:36]blu.256 has joined
[13:37]michelec2 has joined
[13:52]blu.256 has left
[14:17]cethyel has joined
[14:32]cethyel: hi guys, Slávek in the Debian packaging for python-tqt, the "rules" file have the variable SPLIT set to 10 by default, which means that the sip files from a sub-module (EG: qt, qtcanvas...) will be be gathered into 10 final cpp files for compilation. Do you know why 10? from what I understand the default is 1. If you change that parameter (-j) EG: 20 then "sip" creates 20 cpp to compile
[14:36]Slávek: I see split 10 or 40, depending on some GCC version.
[14:36]cethyel: de facto 10
[14:37]Slávek: In any case, it probably makes sense to be divided into the number of the same or higher than the number of CPUs used.
[14:40]cethyel: I'm trying to figure out how sip works, I get that the sip tool takes a bunch of *.sip files then make them a set of *.cpp files, then the compiler build those
[14:52]cethyel: makes more sense to me that each sip file be turned into a c++ file then build the whole, those 10 or 40 resulting cpp files seems arbitrary, I need to do some testing, will see that tomorrow, bye for now.
[14:52]cethyel has left
[14:52]michelec2: if my meory is correct, the split is because there is a long list of functions, so I guess they tried to keep things managable. On my system I remember 20 files though, not then.... but I may be confusing with tdebinding
[14:54]michelec2: sip is like a meta compiler, sort of. you have a bunch of meta sip files and they are parsed to come up with related binding between python and c++ method
[14:57]Slávek: yes, here is also split in tdebindings and python-trinity.
[14:57]michelec2: tdebindings rely on the smoke engine, but the idea is pretty much the same
[14:58]michelec2: sip is specific to python bindings, while smoke can handle more languages AFAICR
[15:31]michelec2 has left
[18:30]Slávek has left
[18:40]blu.256 has joined
[18:53]blu.256 has left
[20:38]blu.256 has joined
[23:12]Slávek has joined
[23:41]michelec2 has joined

tde-devs@chat.jabb.im < 2021/11/02 >