From 2456ac961e9d47836290f9ce36672815087a40fc Mon Sep 17 00:00:00 2001 From: Owen Green Date: Thu, 22 Apr 2021 16:49:18 +0100 Subject: [PATCH] Make native architecture flag in README more portable --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5642f7d..bccbac5 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ To find out which branches / tags / commits of these we use, look in the top lev ## Compiling for different CPUs -The build system generally assumes an x86 cpu with AVX instructions (most modern x86 CPUs). To build on another kind of CPU (e.g. older than 2012) you can use the `FLUID_ARCH` cache variable to pass specific flags to your compiler. For example use `-DFLUID_ARCH=-march=native` to optimize for your particular CPU. +The build system generally assumes an x86 cpu with AVX instructions (most modern x86 CPUs). To build on another kind of CPU (e.g. older than 2012) you can use the `FLUID_ARCH` cache variable to pass specific flags to your compiler. For example use `-DFLUID_ARCH=-mcpu=native` to optimize for your particular CPU. For ARM, we use the following default set of flags (with the Bela in mind):