Skip to content

Commit ff4a2c7

Browse files
committed
build: expand minimum Darwin version to macOS 11 (Big Sur)
1 parent 07f9ef6 commit ff4a2c7

5 files changed

Lines changed: 20 additions & 6 deletions

File tree

contrib/guix/symbol-check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def check_MACHO_libraries(binary) -> bool:
235235
return ok
236236

237237
def check_MACHO_min_os(binary) -> bool:
238-
if binary.build_version.minos == [14,0,0]:
238+
if binary.build_version.minos == [11,0,0]:
239239
return True
240240
return False
241241

depends/hosts/darwin.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
OSX_MIN_VERSION=14.0
1+
OSX_MIN_VERSION=11.0
22
OSX_SDK_VERSION=14.0
33
XCODE_VERSION=15.0
44
XCODE_BUILD_ID=15A240d
@@ -79,4 +79,4 @@ darwin_debug_CXXFLAGS=$(darwin_debug_CFLAGS)
7979
darwin_cmake_system_name=Darwin
8080
# Darwin version, which corresponds to OSX_MIN_VERSION.
8181
# See https://en.wikipedia.org/wiki/Darwin_(operating_system)
82-
darwin_cmake_system_version=23.0
82+
darwin_cmake_system_version=20.0

doc/build-osx.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# macOS Build Guide
22

3-
**Updated for macOS [14](https://developer.apple.com/documentation/macos-release-notes/macos-14-release-notes/)**
3+
**Updated for macOS [11](https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-release-notes/)**
44

55
This guide describes how to build dashd, command-line utilities, and GUI on macOS.
66

@@ -50,6 +50,20 @@ See [dependencies.md](dependencies.md) for a complete overview.
5050
brew install automake libtool boost gmp pkg-config libevent
5151
```
5252

53+
For macOS 11 (Big Sur) and 12 (Monterey) you need to install a more recent version of llvm.
54+
55+
``` bash
56+
brew install llvm
57+
```
58+
59+
And append the following to the configure commands below:
60+
61+
``` bash
62+
CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++
63+
```
64+
65+
Try `llvm@17` if compilation fails with the default version of llvm.
66+
5367
### 4. Clone Dash repository
5468

5569
`git` should already be installed by default on your system.

doc/release-notes-empty-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ likely require a reindex.
3232
# Compatibility
3333

3434
Dash Core is supported and tested on operating systems using the
35-
Linux Kernel 3.17+, macOS 14+, and Windows 10+. Dash Core
35+
Linux Kernel 3.17+, macOS 11+, and Windows 10+. Dash Core
3636
should also work on most other Unix-like systems but is not as
3737
frequently tested on them. It is not recommended to use Dash Core on
3838
unsupported systems.

share/qt/Info.plist.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="0.9">
44
<dict>
55
<key>LSMinimumSystemVersion</key>
6-
<string>14</string>
6+
<string>11</string>
77

88
<key>LSArchitecturePriority</key>
99
<array>

0 commit comments

Comments
 (0)