From 55718dbbc2040f9c92387063f1db4ddc5c188019 Mon Sep 17 00:00:00 2001 From: Gabriel Gerlero Date: Wed, 14 Sep 2022 16:06:50 -0300 Subject: [PATCH 1/2] Work around cfMesh link issue --- configure.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.sh b/configure.sh index 5b135dd..db290e6 100755 --- a/configure.sh +++ b/configure.sh @@ -34,6 +34,12 @@ echo "setenv CPATH \"$CPATH\"" >> etc/prefs.csh echo "export LIBRARY_PATH=\"$LIBRARY_PATH\"" >> etc/prefs.sh echo "setenv LIBRARY_PATH \"$LIBRARY_PATH\"" >> etc/prefs.csh +echo 'export DYLD_LIBRARY_PATH="$LIBRARY_PATH":"$DYLD_LIBRARY_PATH"' >> etc/prefs.sh +echo 'setenv DYLD_LIBRARY_PATH "$LIBRARY_PATH":"$DYLD_LIBRARY_PATH"' >> etc/prefs.csh echo 'export FOAM_DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH"' >> etc/bashrc echo 'setenv FOAM_DYLD_LIBRARY_PATH "$DYLD_LIBRARY_PATH"' >> etc/cshrc + + +# Workaround for https://develop.openfoam.com/Community/integration-cfmesh/-/issues/8 +sed -i '' 's|LIB_LIBS =|& $(LINK_OPENMP) |' modules/cfmesh/meshLibrary/Make/options From f4311c96365050b3a28896f40ee4d707894afa33 Mon Sep 17 00:00:00 2001 From: Gabriel Gerlero Date: Tue, 13 Sep 2022 21:34:04 -0300 Subject: [PATCH 2/2] Add regression test --- test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test.sh b/test.sh index 201c9b8..9b52b41 100755 --- a/test.sh +++ b/test.sh @@ -37,3 +37,6 @@ cp -r "$FOAM_TUTORIALS/mesh/foamyHexMesh/blob" blob cd blob ./Allrun cd .. + +# https://github.com/gerlero/openfoam-app/issues/88 +cartesianMesh -help