While we're at it, 'make dynamic' is currently broken with LLVM 3.9
(on Linux at least), apparently because of this bug here:
https://llvm.org/bugs/show_bug.cgi?id=28004. Stéphane, I can fix this
on Linux with the attached patch. Can you verify that this also works
on Darwin and then please commit? Thanks.
Also, as most Faust-related files are installed under
$prefix/share/faust now, 'make install' in the main Makefile doesn't
create $prefix/lib any more. This isn't a problem with an ordinary
install, but causes hiccups when $DESTDIR is set during a staged
install. To make package maintainers happy, I suggest to add 'mkdir -p
$(prefix)/lib/' to the install target. This is also in the attached
patch.
Greetings,
Albert
On Thu, Nov 3, 2016 at 10:45 PM, Ricardo Wurmus <rek...@elephly.net> wrote:
> Hi,
>
> I’m attempting to package Faust 2.0.a51 for GNU Guix, but the build
> fails with this error:
>
>
> /tmp/guix-build-faust-2.0.a51.drv-0/faust-2.0.a51/compiler/generator/llvm/machine/llvm_machine_dsp_aux.hh:67:9:
> error: ?ExecutionEngine? does not name a type
> ExecutionEngine* fJIT;
> ^
>
> /tmp/guix-build-faust-2.0.a51.drv-0/faust-2.0.a51/compiler/generator/llvm/machine/llvm_machine_dsp_aux.hh:69:9:
> error: ?LLVMResult? does not name a type
> LLVMResult* fResult;
>
> Many more errors follow, but these are the first few.
>
> What version of LLVM is required (I’ve tried 3.5 and 3.6, but I could
> also try 3.8)? What features need to be enabled? I’d appreciate any
> assistance or clarification!
>
> ~~ Ricardo
>
>
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Faudiostream-devel mailing list
> Faudiostream-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-devel
--
Dr. Albert Gr"af
Computer Music Research Group, JGU Mainz, Germany
Email: aggr...@gmail.com
WWW: https://plus.google.com/+AlbertGraef
diff --git a/Makefile b/Makefile
index fec188c..ca768cd 100644
--- a/Makefile
+++ b/Makefile
@@ -127,6 +127,7 @@ doclib :
install :
# install faust itself
mkdir -p $(prefix)/bin/
+ mkdir -p $(prefix)/lib/
mkdir -p $(prefix)/include/
mkdir -p $(prefix)/include/faust/
mkdir -p $(prefix)/include/faust/osc/
diff --git a/compiler/Makefile.unix b/compiler/Makefile.unix
index edfec5c..6445fba 100755
--- a/compiler/Makefile.unix
+++ b/compiler/Makefile.unix
@@ -46,7 +46,7 @@ else
endif
endif
-LLVM_STATIC_LIBS = $(shell $(LLVM_CONFIG) --libfiles --system-libs)
+LLVM_STATIC_LIBS = $(shell $(LLVM_CONFIG) --libs --system-libs)
LLVM_VERSION = $(shell $(LLVM_CONFIG) --version)
## On Windows (mingw32) we must link against the socket library.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel