From da1e336a149c61c329a8e9a6f1397d9b944f5d6f Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Mon, 16 Feb 2026 03:53:24 +0530 Subject: [PATCH] build: expand minimum Darwin version to macOS 11 (Big Sur) --- contrib/guix/symbol-check.py | 2 +- depends/hosts/darwin.mk | 4 ++-- doc/build-osx.md | 16 +++++++++++++++- doc/release-notes-empty-template.md | 2 +- share/qt/Info.plist.in | 2 +- 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/contrib/guix/symbol-check.py b/contrib/guix/symbol-check.py index bca9029b24d8..874497df4861 100755 --- a/contrib/guix/symbol-check.py +++ b/contrib/guix/symbol-check.py @@ -235,7 +235,7 @@ def check_MACHO_libraries(binary) -> bool: return ok def check_MACHO_min_os(binary) -> bool: - if binary.build_version.minos == [14,0,0]: + if binary.build_version.minos == [11,0,0]: return True return False diff --git a/depends/hosts/darwin.mk b/depends/hosts/darwin.mk index 1b187711bfd8..ed353a6cfbbf 100644 --- a/depends/hosts/darwin.mk +++ b/depends/hosts/darwin.mk @@ -1,4 +1,4 @@ -OSX_MIN_VERSION=14.0 +OSX_MIN_VERSION=11.0 OSX_SDK_VERSION=14.0 XCODE_VERSION=15.0 XCODE_BUILD_ID=15A240d @@ -79,4 +79,4 @@ darwin_debug_CXXFLAGS=$(darwin_debug_CFLAGS) darwin_cmake_system_name=Darwin # Darwin version, which corresponds to OSX_MIN_VERSION. # See https://en.wikipedia.org/wiki/Darwin_(operating_system) -darwin_cmake_system_version=23.0 +darwin_cmake_system_version=20.0 diff --git a/doc/build-osx.md b/doc/build-osx.md index 87914d09affc..0c19387f3902 100644 --- a/doc/build-osx.md +++ b/doc/build-osx.md @@ -1,6 +1,6 @@ # macOS Build Guide -**Updated for macOS [14](https://developer.apple.com/documentation/macos-release-notes/macos-14-release-notes/)** +**Updated for macOS [11](https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-release-notes/)** This guide describes how to build dashd, command-line utilities, and GUI on macOS. @@ -50,6 +50,20 @@ See [dependencies.md](dependencies.md) for a complete overview. brew install automake libtool boost gmp pkg-config libevent ``` +For macOS 11 (Big Sur) and 12 (Monterey) you need to install a more recent version of llvm. + +``` bash +brew install llvm +``` + +And append the following to the configure commands below: + +``` bash +CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++ +``` + +Try `llvm@17` if compilation fails with the default version of llvm. + ### 4. Clone Dash repository `git` should already be installed by default on your system. diff --git a/doc/release-notes-empty-template.md b/doc/release-notes-empty-template.md index f6b52ae6c7a6..510ce99e62d8 100644 --- a/doc/release-notes-empty-template.md +++ b/doc/release-notes-empty-template.md @@ -32,7 +32,7 @@ likely require a reindex. # Compatibility Dash Core is supported and tested on operating systems using the -Linux Kernel 3.17+, macOS 14+, and Windows 10+. Dash Core +Linux Kernel 3.17+, macOS 11+, and Windows 10+. Dash Core should also work on most other Unix-like systems but is not as frequently tested on them. It is not recommended to use Dash Core on unsupported systems. diff --git a/share/qt/Info.plist.in b/share/qt/Info.plist.in index 2c0c7ba4a91e..81638b679803 100644 --- a/share/qt/Info.plist.in +++ b/share/qt/Info.plist.in @@ -3,7 +3,7 @@ LSMinimumSystemVersion - 14 + 11 LSArchitecturePriority