aports/testing/faust/faust-tests-old-libraries.patch
Francesco Camuffo 133f1e2d7d
testing/faust: new aport
https://faust.grame.fr
Functional programming language for realtime audio signal processing
2022-03-23 23:32:48 +01:00

36 lines
1.2 KiB
Diff

From 974d4da02b525261d934a9eb70e41a1c4ee309c3 Mon Sep 17 00:00:00 2001
From: Stephane Letz <letz@grame.fr>
Date: Fri, 7 Jan 2022 18:27:52 +0100
Subject: [PATCH] Correct compile-tests to be used even if faust is not
installed.
---
tests/compile-tests/Make.lang | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tests/compile-tests/Make.lang b/tests/compile-tests/Make.lang
index 3e27a69ac..7fd5ffa9b 100644
--- a/tests/compile-tests/Make.lang
+++ b/tests/compile-tests/Make.lang
@@ -13,7 +13,8 @@ MAKE ?= make
SAMPLESROOT := ../..
REGRESSION := ..
-FAUSTLIBS ?= ../../libraries
+FAUSTLIBS1 ?= ../../libraries
+FAUSTLIBS2 ?= ../../libraries/old
FAUSTOPTIONS ?=
outdir ?= cpp
@@ -75,8 +76,8 @@ $(version)/$(outdir):
# generic rule rule for $(lang) output
$(version)/$(outdir)/%.$(ext): $(SAMPLESROOT)/%.dsp
@[ -d $(@D) ] || mkdir -p $(@D)
- $(FAUST) -lang $(lang) -I $(FAUSTLIBS) $(FAUSTOPTIONS) $< -o $@
+ $(FAUST) -lang $(lang) -I $(FAUSTLIBS1) -I $(FAUSTLIBS2) $(FAUSTOPTIONS) $< -o $@
$(version)/$(outdir)/%.$(ext): $(REGRESSION)/%.dsp
@[ -d $(@D) ] || mkdir -p $(@D)
- $(FAUST) -lang $(lang) -I $(FAUSTLIBS) $(FAUSTOPTIONS) $< -o $@
+ $(FAUST) -lang $(lang) -I $(FAUSTLIBS1) -I $(FAUSTLIBS2) $(FAUSTOPTIONS) $< -o $@