Hi IOhannes,

libfaustwithllvm.a library is a way to ease use of libfaust, without having the 
use to install/compile LLVM on its own. We correctly use in faustgen~ (where we 
really need to link LLVM statically), but also FaustLive on Windows AFAICS and 
David Braun (CC) uses it in various projects : 
https://github.com/DBraun/TD-Faust and https://github.com/DBraun/DawDreamer. 

Embedding LLVM in a library is not so unusual as Cmajor project also 
demonstrates: https://github.com/SoundStacks/cmajor, with a 143 MO binary on 
macOS. 

So I would suggest to but another harddisk !?

Stéphane 

> Le 27 juil. 2023 à 19:10, IOhannes m zmoelnig <zmoel...@iem.at> a écrit :
> 
> hi all,
> 
> i noticed that with faust-2.60.3, building now produces (among other things) 
> a file libfaustwithllvm.a, which is... huge (286MB).
> 
> this might not be a big problem if you locally build faust and have an actual 
> use for this file, but I wonder whether I could live without this library 
> just as well.
> I'm asking this with my Debian hat on: currently everybody who installs the 
> 'faust' Debian package will have to download and install this largish library.
> (and speaking with my eat-your-own-dogfood user hat on: both my laptop and my 
> desktop have /very/ full harddisks: installing an extra 280MB is a serious 
> problem; i know I could get another harddisk, but then: the one is a laptop, 
> the other belongs to the uni and it takes ages to get a hardware upgrade)
> 
> so i've grepped the sources a bit, and it seems that this library is only 
> used by "faustgen~", which I understand to be a Max/MSP thing, so doesn't 
> need to concern me (since Max doesn't run on Debian).
> (yes, there's also pd-faustgen, but this has not seen any updates for the 
> last 3 years or so).
> 
> so my question is:
> - is it save for me to remove this file from the Debian faust package
> - if not: is it a good idea to move it out of the default installation/package
> - or even better: can faustgen~ (or whichever consumer of this library) also 
> be built without statically linking the full LLVM toolchain (given that 
> Debian can enforce depedencies to be installed by its package manager)
> 
> gmasdr
> IOhannes
> _______________________________________________
> Faudiostream-devel mailing list
> Faudiostream-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-devel



_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to