termux-packages/packages/openfoam
Henrik Grimler cb8e5946b2 openfoam: update to 21.06
Finally a working build :)

Tests done: run cavity tutorial on aarch64 and arm.

TODO/things that would be nice to test:

* Check if we actually need to set WM_{CC,CXX,CFLAGS,CXXFLAGS} in
  etc/config.sh/settings.
* Test compilation with Gcc on device
* Look at the __libc_malloc->malloc patch in sigFpe.C again, and try
  to upstream the fix so that it isn't as glibc specific.

We need to remove -std=c++11 from CXXFLAGS, or else we get errors when building with
our (rather new) version of CGAL, for example:

/data/data/com.termux/files/usr/include/CGAL/array.h:72:44: error: no template named 'index_sequence' in namespace 'std'
make_filled_array_aux(const T& value, std::index_sequence<Is...>)
                                      ~~~~~^

/data/data/com.termux/files/usr/include/CGAL/number_utils.h:320:10: warning: 'decltype(auto)' type specifier is a C++14 extension [-Wc++14-extensions]
  decltype(auto) approximate_sqrt(const NT& nt)
           ^
/data/data/com.termux/files/usr/include/CGAL/number_utils.h:320:1: error: deduced return types are a C++14 extension
  decltype(auto) approximate_sqrt(const NT& nt)
  ^
2021-12-04 14:36:37 +01:00
..
build.sh openfoam: update to 21.06 2021-12-04 14:36:37 +01:00
etc-bashrc.patch openfoam: update to 21.06 2021-12-04 14:36:37 +01:00
etc-config.sh-CGAL.patch openfoam: update to 21.06 2021-12-04 14:36:37 +01:00
etc-config.sh-mpi.patch openfoam: update to 21.06 2021-12-04 14:36:37 +01:00
etc-config.sh-settings.patch openfoam: update to 21.06 2021-12-04 14:36:37 +01:00
etc-config.sh-unset.patch openfoam: update to 21.06 2021-12-04 14:36:37 +01:00
src-OpenFOAM-db-IOstreams-IOstreams-Istream.C.patch openfoam: update to 21.06 2021-12-04 14:36:37 +01:00
src-OpenFOAM-primitives-ints-int64-int64.H.patch32
src-OSspecific-POSIX-Allwmake.patch
src-OSspecific-POSIX-POSIX.C.patch openfoam: update to 21.06 2021-12-04 14:36:37 +01:00
src-OSspecific-POSIX-printStack.C.patch openfoam: update to 21.06 2021-12-04 14:36:37 +01:00
src-OSspecific-POSIX-signals-sigFpe.C.patch openfoam: update to 21.06 2021-12-04 14:36:37 +01:00
wmake-makefiles-general.patch
wmake-rules.patch openfoam: update to 21.06 2021-12-04 14:36:37 +01:00
wmake-scripts-sysFunctions.patch openfoam: update to 21.06 2021-12-04 14:36:37 +01:00