From d016cd9784c9b29f6a80bc4bd4e002d71f3e2dd2 Mon Sep 17 00:00:00 2001 From: chenshaoheng Date: Thu, 9 May 2024 02:10:42 +0000 Subject: [PATCH] =?UTF-8?q?update=20templates/openfoam/1906/data.openfoam.?= =?UTF-8?q?new.bisheng.cpu.config.=20=E5=8E=9F=E8=84=9A=E6=9C=AC=E4=BB=85?= =?UTF-8?q?=E7=94=A8=E4=BD=9C=E5=AE=B9=E5=99=A8=E5=B0=81=E8=A3=85=EF=BC=8C?= =?UTF-8?q?=E7=8E=B0=E6=9B=B4=E6=96=B0=E4=BB=A5=E9=80=82=E9=85=8D=E6=9B=B4?= =?UTF-8?q?=E5=A4=9A=E9=83=A8=E7=BD=B2=E5=9C=BA=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chenshaoheng --- templates/openfoam/1906/data.openfoam.new.bisheng.cpu.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/openfoam/1906/data.openfoam.new.bisheng.cpu.config b/templates/openfoam/1906/data.openfoam.new.bisheng.cpu.config index 13958f6..df77caf 100644 --- a/templates/openfoam/1906/data.openfoam.new.bisheng.cpu.config +++ b/templates/openfoam/1906/data.openfoam.new.bisheng.cpu.config @@ -53,8 +53,8 @@ case_dir = OpenFOAM-v1906/tutorials/incompressible/pisoFoam/LES/motorBike/motorB sed -i "s|export WM_COMPILER=Gcc|export WM_COMPILER=Clang|g" ./etc/bashrc sed -i '2c cOPT = -O3 -lm -mllvm -unroll-indirect-loads-threshold=2 -mllvm -unroll-indirect-loads-default-runtime-unroll-count=8 -mcpu=tsv110 -fno-range-check -fveclib=MATHLIB -lmathlib -finline-functions -ftree-vectorize -falign-functions -march=armv8-a -mllvm -min-prefetch-stride=2' ./wmake/rules/linuxARM64Clang/cOpt sed -i '2c c++OPT = -O3 -lm -mllvm -unroll-indirect-loads-threshold=2 -mllvm -unroll-indirect-loads-default-runtime-unroll-count=8 -mcpu=tsv110 -fno-range-check -fveclib=MATHLIB -lmathlib -finline-functions -ftree-vectorize -falign-functions -march=armv8-a -mllvm -min-prefetch-stride=2' ./wmake/rules/linuxARM64Clang/c++Opt -patch -p1 < ../List.H.patch -patch -p1 < ../IListStream.H.patch +patch -p1 < ${JARVIS_ROOT}/templates/openfoam/1906/List.H.patch +patch -p1 < ${JARVIS_ROOT}/templates/openfoam/1906/IListStream.H.patch source ./etc/bashrc ./Allwmake -j -k -- Gitee