From 943f5b5bb0d5fe6ffd7df68c9d9da6fd73f0a514 Mon Sep 17 00:00:00 2001 From: Martin Bartlett Date: Wed, 22 May 2024 12:09:53 +0200 Subject: [PATCH] Fix flag name --- README.md | 4 ++-- srcs/faust-stratus/bin/stratus-build-effect | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 544795d..955ca60 100644 --- a/README.md +++ b/README.md @@ -83,12 +83,12 @@ The `faust2stratus` command has a number of Stratus-specific options that you ca Apart from these options, you can add other Faust compiler options to the command line. This may be interesting if you are experimenting with different CPP code generation strategies that may better suit your algorithm (e.g. improved vectorization). -Finally, you can affect the CPP compile itself by adding CPP compiler options to the `CXXOPTIONS` environment variable before +Finally, you can affect the CPP compile itself by adding CPP compiler options to the `CXXFLAGS` environment variable before running the command. For example, some users have reported that the following extra CPP optimization options make for faster-running algorithms. You would run _this_ command before the build command in order to pick these options up: ``` -export CXXOPTIONS="-fprefetch-loop-arrays -funroll-loops -funsafe-loop-optimizations -fno-finite-math-only" +export CXXFLAGS="-fprefetch-loop-arrays -funroll-loops -funsafe-loop-optimizations -fno-finite-math-only" ``` ### The `stratus-build-effect` command diff --git a/srcs/faust-stratus/bin/stratus-build-effect b/srcs/faust-stratus/bin/stratus-build-effect index e41b178..253d4fa 100755 --- a/srcs/faust-stratus/bin/stratus-build-effect +++ b/srcs/faust-stratus/bin/stratus-build-effect @@ -68,7 +68,7 @@ scp -F "$SSH_CFG" "${DSP}" "$TARGET_USER@$TARGET_ADDRESS:/$TARGET_PATH" # Build the effect: ssh -F "$SSH_CFG" "$TARGET_USER@$TARGET_ADDRESS:/$TARGET_USER" -T <