aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2021-06-28 09:29:56 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-06-28 13:44:25 -0500
commitccb9f60fe5831048fc9bdb04069691d5d02015a1 (patch)
treebc88bd6d576d0563d8385ea14f9ffeabe5e70b77
parentf3d3b071fd193bf8685c86e74f32b7b96b5e3be2 (diff)
downloaduhd-ccb9f60fe5831048fc9bdb04069691d5d02015a1.tar.gz
uhd-ccb9f60fe5831048fc9bdb04069691d5d02015a1.tar.bz2
uhd-ccb9f60fe5831048fc9bdb04069691d5d02015a1.zip
uhd: Update minimum version of dependencies
The minimum version of the following dependencies have been updated for UHD 4.1: * GCC: 5.4.0 --> 6.3.0 * Clang: 3.8.0 --> 6.0.0 * Apple Clang: 600 --> 800 * Python: 3.5 --> 3.6 * Boost: 1.58 --> 1.65
-rw-r--r--host/CMakeLists.txt10
-rw-r--r--host/cmake/Modules/UHDPython.cmake2
2 files changed, 6 insertions, 6 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index 23056f90a..fc91ef441 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -24,17 +24,17 @@ list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules)
# UHD Dependency Minimum Versions
########################################################################
set(CMAKE_MIN_VERSION "3.8")
-set(GCC_MIN_VERSION "5.4.0")
-set(CLANG_MIN_VERSION "3.8.0")
-set(APPLECLANG_MIN_VERSION "600")
+set(GCC_MIN_VERSION "6.3.0")
+set(CLANG_MIN_VERSION "6.0.0")
+set(APPLECLANG_MIN_VERSION "800")
# Make sure to update the next two in unison:
set(MSVC_MIN_VERSION "1910")
set(MSVC_MIN_VERSION_READABLE "15.0")
# This Python version gets used for Python API (if requested) as well as
# all the build-time Python scripts
-set(PYTHON_MIN_VERSION "3.5")
+set(PYTHON_MIN_VERSION "3.6")
# Other deps
-set(BOOST_MIN_VERSION "1.58")
+set(BOOST_MIN_VERSION "1.65")
set(NUMPY_MIN_VERSION "1.11")
set(RUAMEL.YAML_MIN_VERSION "0.15")
set(PY_MAKO_MIN_VERSION "0.4.2")
diff --git a/host/cmake/Modules/UHDPython.cmake b/host/cmake/Modules/UHDPython.cmake
index 453b7678c..935a6a819 100644
--- a/host/cmake/Modules/UHDPython.cmake
+++ b/host/cmake/Modules/UHDPython.cmake
@@ -46,7 +46,7 @@ endif(NOT PYTHONINTERP_FOUND)
# If that fails, try using the build-in find program routine.
if(NOT PYTHONINTERP_FOUND)
message(STATUS "Attempting to find Python without CMake...")
- find_program(PYTHON_EXECUTABLE NAMES python3 python3.5 python3.6 python3.7 python3.8)
+ find_program(PYTHON_EXECUTABLE NAMES python3 python3.6 python3.7 python3.8 python3.9)
if(PYTHON_EXECUTABLE)
set(PYTHONINTERP_FOUND TRUE)
endif(PYTHON_EXECUTABLE)