Re: [Faudiostream-devel] libfaust for Android

2019-08-04 Thread Justin Giannone
I managed to get the llvm-test executable to run on my Android VM. Unfortunately I am getting the following error : generic_x86:/data/local/tmp # ./llvm-test foo.dsp Libfaust version : 2.18.3 (LLVM 8.0.1) Cannot create factory : ASSERT : please report this message, the stack trace, and the failing

Re: [Faudiostream-devel] libfaust for Android

2019-08-04 Thread Justin Giannone
Hey Stéphane, Thanks for the guidance. I've gotten llvm_tests to compile, but needed to make some changes to the CMakeList file. See my PR here : https://github.com/grame-cncm/faust/pull/340 Execution results should be coming soon! On Thu, Aug 1, 2019 at 4:46 PM Stéphane Letz wrote: > '-lfau

Re: [Faudiostream-devel] libfaust for Android

2019-08-01 Thread Stéphane Letz
'-lfaust’ is there o says that the code needs to be linked with the libfaust library - usually the linker search for libraries in standard locations (like /usr/lib , /usr/local/lib, it depends of the OS…) - and -L/some/more/path adds additional search paths for the linker. Stéphane > Le 1 a

Re: [Faudiostream-devel] libfaust for Android

2019-08-01 Thread Justin Giannone
I took a look at the CMakeList file for llvm-tests. I think I'm going to need to make a bunch of changes in there to get it to build in my environment. Changes include : - Configurable path to the Faust Lib folder - Don't include pthread for Android builds I also see that both the Faust Lib

Re: [Faudiostream-devel] libfaust for Android

2019-07-31 Thread Stéphane Letz
Very nice indeed ! 20mb seems correct. Waiting for the next step with some real tests ! You can possibly look at the files here: https://github.com/grame-cncm/faust/tree/master-dev/tests/llvm-tests this one for instance: https://github.com/grame-cncm/faust/blob/master-dev/tests/llvm-tests/ll

Re: [Faudiostream-devel] libfaust for Android

2019-07-31 Thread Justin Giannone
I think I've finally hit success in cross-compiling libfaust for Android. My build scripts and process are here : https://github.com/Jman420/faust_for_android I've just managed to build libfaust for all 4 Android Architectures, but haven't build or executed any tests against it yet since I'll need

Re: [Faudiostream-devel] libfaust for Android

2019-07-14 Thread Stéphane Letz
> Le 14 juil. 2019 à 14:21, Justin Giannone a écrit : > > I'm not sure which option is the best to pursue right now... AOSP's libLLVM > has some modifications from the full LLVM Project, but I can't image that > they are huge changes. I'm thinking that trying to extract the appropriate > com

Re: [Faudiostream-devel] libfaust for Android

2019-07-14 Thread Justin Giannone
Hey Guys, Been a while since I updated here... I'm still chipping away at compiling libFaust for Android. I've found that AOSP actually includes a version of libLLVM (which they name libLLVM_android.so) in their build process and that library ships with the Generic System Image as well as include

Re: [Faudiostream-devel] libfaust for Android

2019-06-21 Thread Justin Giannone
Oh, forgot to mention. I've also had to make some minor changes to the Faust Source Code & CMake Files in order to support Android. I've just opened a Pull Request with those changes here : https://github.com/grame-cncm/faust/pull/335 On Fri, Jun 21, 2019 at 5:33 PM Justin Giannone wrote: > Fa

Re: [Faudiostream-devel] libfaust for Android

2019-06-21 Thread Justin Giannone
Fantastic progress! Functional build script for Faust for Android : https://github.com/Jman420/faust_for_android I haven't tested it out with any of the examples yet because the shared library is huge (almost 800mb) which is just too big. I just modified the build scripts for Faust & LLVM to use

Re: [Faudiostream-devel] libfaust for Android

2019-06-17 Thread Stéphane Letz
Depending of the platform (especially OS X and Linux) we have various positive and negative experiences using either static libraries or dynamic one… ((-; For example right now FaustLive (which used libfaust) has to be linked with the dynamic libfaust library. But we produce OS X faustgen~ ve

Re: [Faudiostream-devel] libfaust for Android

2019-06-17 Thread Justin Giannone
I've made some progress and have gotten LLVM static libraries built using Android NDK. My scripts with instructions can be found here : https://github.com/Jman420/llvm_for_android Unfortunately I haven't been able to get LLVM to compile as a shared library though. I'm wondering if that is even n

Re: [Faudiostream-devel] libfaust for Android

2019-06-13 Thread letz
Search for cross-compile LLVM for Android, like for instance: https://gist.github.com/syoyo/9acc46554723db14d3a5 (although a but old..) Stéphane > Le 13 juin 2019 à 15:30, Justin Giannone a écrit : > > Hey Stéphane, > > Yeah... no responses coming in on the LLVM mailing list. I'll likely tr

Re: [Faudiostream-devel] libfaust for Android

2019-06-13 Thread Justin Giannone
Hey Stéphane, Yeah... no responses coming in on the LLVM mailing list. I'll likely try to rephrase my question and bump my post over there to see if I can get any support. Thanks for all your feedback! Glad to hear I've been going down the right path so far since I've been trying to use the And

Re: [Faudiostream-devel] libfaust for Android

2019-06-12 Thread Stéphane Letz
Hi Justin, I’ve seen your question about compilation of LLVM on Android on the LLVM mailing list, with basically… 0 answer right !? ))-; The LLVM compilation chain is used in the LLVM backend (see the code here https://github.com/grame-cncm/faust/tree/master-dev/compiler/generator/llvm). Basi

[Faudiostream-devel] libfaust for Android

2019-06-12 Thread Justin Giannone
Hey Guys, I'm trying to compile libfaust in order to use the JIT Compiler in a Java & C++ Android App. Specifically having a Frontend App written in Java which the User leverages in order to tune a Backend AudioFlinger Module written in C++. The Backend Module is where the audio processing will