File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 5
5
``` sh
6
6
# -DBUILD_SHARED_LIBS=ON
7
7
rm -rf mpitrampoline $HOME /src/c/MPIstuff/mpitrampoline
8
- cmake -S . - B mpitrampoline -G Ninja -DCMAKE_C_COMPILER=gcc-mp-12 -DCMAKE_CXX_COMPILER=g++-mp-12 -DCMAKE_Fortran_COMPILER=gfortran-mp-12 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$HOME /src/c/MPIstuff/mpitrampoline
8
+ cmake -B mpitrampoline -G Ninja -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_Fortran_COMPILER=gfortran -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$HOME /src/c/MPIstuff/mpitrampoline
9
9
cmake --build mpitrampoline && cmake --install mpitrampoline
10
10
```
11
11
Original file line number Diff line number Diff line change 5
5
given-names : Erik
6
6
orcid : https://orcid.org/0000-0002-4518-9017
7
7
title : MPItrampoline
8
- version : v5.4.1
8
+ version : v5.5.0
9
9
doi : 10.5281/zenodo.6174408
10
- date-released : 2024-08-29
10
+ date-released : 2024-09-25
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.12...3.20 )
2
2
project (
3
- MPItrampoline VERSION 5.4.1
3
+ MPItrampoline VERSION 5.5.0
4
4
DESCRIPTION "MPI trampoline"
5
5
HOMEPAGE_URL "https://github.com/eschnett/MPItrampoline"
6
6
LANGUAGES NONE
Original file line number Diff line number Diff line change @@ -504,6 +504,13 @@ static void *load_library(const char *const libname) {
504
504
assert (0 );
505
505
}
506
506
507
+ #elif __FreeBSD__
508
+
509
+ // dlmopen is not supported, always use dlopen instead
510
+ if (verbose )
511
+ fprintf (stderr , "[MPItrampoline] Calling dlopen\n" );
512
+ handle = dlopen (libname , dlopen_flags | RTLD_LOCAL | RTLD_DEEPBIND );
513
+
507
514
#else
508
515
#error "Unsupported operating system"
509
516
#endif
You can’t perform that action at this time.
0 commit comments