| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/misc/adios2/files/ |
Upload File : |
- fix the python version
--- cmake/DetectOptions.cmake.orig 2022-03-29 11:54:45 UTC
+++ cmake/DetectOptions.cmake
@@ -312,12 +312,12 @@ if(NOT SHARED_LIBS_SUPPORTED)
endif()
if(ADIOS2_USE_Python STREQUAL AUTO)
- find_package(Python 3 COMPONENTS Interpreter Development NumPy)
+ find_package(Python ${FREEBSD_PYTHON_VERSION} EXACT COMPONENTS Interpreter Development NumPy)
if(Python_FOUND AND ADIOS2_HAVE_MPI)
find_package(PythonModule COMPONENTS mpi4py mpi4py/mpi4py.h)
endif()
elseif(ADIOS2_USE_Python)
- find_package(Python 3 REQUIRED COMPONENTS Interpreter Development NumPy)
+ find_package(Python ${FREEBSD_PYTHON_VERSION} EXACT REQUIRED COMPONENTS Interpreter Development NumPy)
if(ADIOS2_HAVE_MPI)
find_package(PythonModule REQUIRED COMPONENTS mpi4py mpi4py/mpi4py.h)
endif()
@@ -334,7 +334,7 @@ endif()
# Even if no python support, we still want the interpreter for tests
if(BUILD_TESTING AND NOT Python_Interpreter_FOUND)
- find_package(Python REQUIRED COMPONENTS Interpreter)
+ find_package(Python ${FREEBSD_PYTHON_VERSION} EXACT REQUIRED COMPONENTS Interpreter)
endif()
if(Python_Interpreter_FOUND)