Commit Graph

9 Commits

Author SHA1 Message Date
Tee KOBAYASHI ea97ab2e7d boost: Make revdeps build-depend on boost-headers
%ci:no-build
2022-03-02 07:09:32 +09:00
Tee KOBAYASHI dec84a59a4 openfoam: Fix build of `MPPICInterFoam` 2022-02-09 09:33:25 +01:00
Henrik Grimler 1ba4e7d5f1 openfoam: update to 21.12
Package needs to be rebuilt for new boost version, so take the
opportunity to update to latest release at the same time.
2022-02-09 09:33:25 +01:00
Ivan Max 59364b5d83
assign "science" group to science-related packages (#8332)
%ci:no-build
2021-12-27 16:41:02 +02:00
Henrik Grimler 3daa0aa540
Bump all (ex-)science packages as part of merge with termux-packages
So that the package that is uploaded to the main repo has a higher
version than the version in the game repo.

All packages have been uploaded manually.

%ci:no-build
2021-12-04 14:41:46 +01:00
Henrik Grimler b1d236ee16 openfoam: cp folder straight into TERMUX_PKG_MASSAGEDIR
Some installed files are not recognized when we create the massage
tar, for example
$PREFIX/opt/OpenFOAM-v2106/src/OpenFOAM/memory/tmp/tmp.H.  The
compiled files work just find without them, but if we want to compile
another variant of openfoam on device then they are necessary.

Copying straight into the massage dir fixes the issue.
2021-12-04 14:36:37 +01:00
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
Henrik Grimler eccfa15b01 openfoam: use 'true' instead of 'yes' in build.sh 2021-12-04 14:36:36 +01:00
Henrik Grimler e02d9e00a6 OpenFOAM: add package
Build takes waaay to long for CI so:
%ci:no-build
2021-12-04 14:36:36 +01:00