2020-07-12 09:15:11 +02:00
|
|
|
--- ./etc/config.sh/mpi.orig 2021-09-11 07:17:25.881541148 +0000
|
|
|
|
+++ ./etc/config.sh/mpi 2021-09-11 07:18:36.067863881 +0000
|
|
|
|
@@ -77,7 +77,7 @@
|
|
|
|
_foamAddLibAuto "$MPI_ARCH_PATH"
|
2017-11-22 19:40:17 +01:00
|
|
|
else
|
2020-07-12 09:15:11 +02:00
|
|
|
# Slight hack: strip off 'lib' to get prefix directory
|
2017-11-22 19:40:17 +01:00
|
|
|
- libDir=$(mpicc --showme:link | sed -e 's/.*-L\([^ ]*\).*/\1/')
|
2020-07-12 09:15:11 +02:00
|
|
|
+ libDir="@TERMUX_PREFIX@/lib"
|
2017-11-22 19:40:17 +01:00
|
|
|
|
2020-07-12 09:15:11 +02:00
|
|
|
export MPI_ARCH_PATH="${libDir%/*}" # prefix from libdir
|
|
|
|
_foamAddLib "$libDir"
|