merge #20419: set minimum supported macOS to 10.14

This commit is contained in:
Kittywhiskers Van Gogh 2021-09-01 21:21:33 +05:30
parent 6349b7e401
commit d451833380
10 changed files with 16 additions and 16 deletions

View File

@ -43,7 +43,7 @@ builder-image:
before_script: before_script:
- echo HOST=$HOST - echo HOST=$HOST
- | - |
if [ "$HOST" = "x86_64-apple-darwin16" ]; then if [ "$HOST" = "x86_64-apple-darwin18" ]; then
mkdir -p depends/SDKs mkdir -p depends/SDKs
mkdir -p depends/sdk-sources mkdir -p depends/sdk-sources
OSX_SDK_BASENAME="Xcode-${XCODE_VERSION}-${XCODE_BUILD_ID}-extracted-SDK-with-libcxx-headers.tar.gz" OSX_SDK_BASENAME="Xcode-${XCODE_VERSION}-${XCODE_BUILD_ID}-extracted-SDK-with-libcxx-headers.tar.gz"
@ -186,12 +186,12 @@ x86_64-unknown-linux-gnu-release:
HOST: x86_64-unknown-linux-gnu HOST: x86_64-unknown-linux-gnu
DEP_OPTS: "NO_UPNP=1" DEP_OPTS: "NO_UPNP=1"
x86_64-apple-darwin16: x86_64-apple-darwin18:
extends: extends:
- .build-depends-template - .build-depends-template
- .skip-in-fast-mode-template - .skip-in-fast-mode-template
variables: variables:
HOST: x86_64-apple-darwin16 HOST: x86_64-apple-darwin18
### ###
@ -257,7 +257,7 @@ mac-build:
- .build-template - .build-template
- .skip-in-fast-mode-template - .skip-in-fast-mode-template
needs: needs:
- x86_64-apple-darwin16 - x86_64-apple-darwin18
variables: variables:
BUILD_TARGET: mac BUILD_TARGET: mac

View File

@ -294,7 +294,7 @@ after_success:
- stage: test - stage: test
name: 'macOS 10.12 [GOAL: deploy]' name: 'macOS 10.12 [GOAL: deploy]'
env: >- env: >-
HOST=x86_64-apple-darwin16 HOST=x86_64-apple-darwin18
PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools" PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools"
export XCODE_VERSION=11.3.1 export XCODE_VERSION=11.3.1
export XCODE_BUILD_ID=11C505 export XCODE_BUILD_ID=11C505

View File

@ -20,7 +20,7 @@ include_directories(
if(UNIX AND NOT APPLE) if(UNIX AND NOT APPLE)
set(DEPENDS_PREFIX depends/x86_64-pc-linux-gnu) set(DEPENDS_PREFIX depends/x86_64-pc-linux-gnu)
elseif(APPLE) elseif(APPLE)
set(DEPENDS_PREFIX depends/x86_64-apple-darwin16) set(DEPENDS_PREFIX depends/x86_64-apple-darwin18)
elseif(WIN32) elseif(WIN32)
set(DEPENDS_PREFIX depends/x86_64-w64-mingw32) set(DEPENDS_PREFIX depends/x86_64-w64-mingw32)
endif() endif()

View File

@ -76,7 +76,7 @@ elif [ "$BUILD_TARGET" = "linux64_release" ]; then
export BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports" export BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports"
export PYZMQ=true export PYZMQ=true
elif [ "$BUILD_TARGET" = "mac" ]; then elif [ "$BUILD_TARGET" = "mac" ]; then
export HOST=x86_64-apple-darwin16 export HOST=x86_64-apple-darwin18
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --disable-miner --enable-werror" export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --disable-miner --enable-werror"
export XCODE_VERSION=11.3.1 export XCODE_VERSION=11.3.1
export XCODE_BUILD_ID=11C505 export XCODE_BUILD_ID=11C505

View File

@ -36,7 +36,7 @@ script: |
set -e -o pipefail set -e -o pipefail
WRAP_DIR=$HOME/wrapped WRAP_DIR=$HOME/wrapped
HOSTS="x86_64-apple-darwin16" HOSTS="x86_64-apple-darwin18"
CONFIGFLAGS="--enable-reduce-exports --disable-miner --disable-bench --disable-gui-tests GENISOIMAGE=$WRAP_DIR/genisoimage --enable-crash-hooks" CONFIGFLAGS="--enable-reduce-exports --disable-miner --disable-bench --disable-gui-tests GENISOIMAGE=$WRAP_DIR/genisoimage --enable-crash-hooks"
FAKETIME_HOST_PROGS="" FAKETIME_HOST_PROGS=""
FAKETIME_PROGS="ar ranlib date dmg genisoimage" FAKETIME_PROGS="ar ranlib date dmg genisoimage"
@ -186,8 +186,8 @@ script: |
done done
mkdir -p $OUTDIR/src mkdir -p $OUTDIR/src
mv $SOURCEDIST $OUTDIR/src mv $SOURCEDIST $OUTDIR/src
mv ${OUTDIR}/${DISTNAME}-x86_64-apple-darwin16.tar.gz ${OUTDIR}/${DISTNAME}-osx64.tar.gz mv ${OUTDIR}/${DISTNAME}-x86_64-apple-darwin18.tar.gz ${OUTDIR}/${DISTNAME}-osx64.tar.gz
mv ${OUTDIR}/${DISTNAME}-x86_64-apple-darwin16-debug.tar.gz ${OUTDIR}/${DISTNAME}-osx64-debug.tar.gz mv ${OUTDIR}/${DISTNAME}-x86_64-apple-darwin18-debug.tar.gz ${OUTDIR}/${DISTNAME}-osx64-debug.tar.gz
# Compress ccache (otherwise the assert file will get too huge) # Compress ccache (otherwise the assert file will get too huge)
if [ "$CCACHE_DIR" != "" ]; then if [ "$CCACHE_DIR" != "" ]; then

View File

@ -21,7 +21,7 @@ created. To use it for Dash:
Common `host-platform-triplets` for cross compilation are: Common `host-platform-triplets` for cross compilation are:
- `x86_64-w64-mingw32` for Win64 - `x86_64-w64-mingw32` for Win64
- `x86_64-apple-darwin16` for macOS - `x86_64-apple-darwin18` for macOS
- `arm-linux-gnueabihf` for Linux ARM 32 bit - `arm-linux-gnueabihf` for Linux ARM 32 bit
- `aarch64-linux-gnu` for Linux ARM 64 bit - `aarch64-linux-gnu` for Linux ARM 64 bit
- `riscv32-linux-gnu` for Linux RISC-V 32 bit - `riscv32-linux-gnu` for Linux RISC-V 32 bit

View File

@ -1,4 +1,4 @@
OSX_MIN_VERSION=10.12 OSX_MIN_VERSION=10.14
OSX_SDK_VERSION=10.15.1 OSX_SDK_VERSION=10.15.1
XCODE_VERSION=11.3.1 XCODE_VERSION=11.3.1
XCODE_BUILD_ID=11C505 XCODE_BUILD_ID=11C505

View File

@ -26,13 +26,13 @@ $ tar -C depends/SDKs -xf depends/sdk-sources/Xcode-11.3.1-11C505-extracted-SDK-
When building the dependencies, as described in [build-generic](build-generic.md), use When building the dependencies, as described in [build-generic](build-generic.md), use
```bash ```bash
$ make HOST=x86_64-apple-darwin16 -j4 $ make HOST=x86_64-apple-darwin18 -j4
``` ```
When building Dash Core, use When building Dash Core, use
```bash ```bash
$ ./configure --prefix=`pwd`/depends/x86_64-apple-darwin16 $ ./configure --prefix=`pwd`/depends/x86_64-apple-darwin18
``` ```
Windows 64bit Cross-compilation Windows 64bit Cross-compilation

View File

@ -48,7 +48,7 @@ Please replace `<host>` with your local system's `host-platform-triplet`. The fo
- `i686-pc-linux-gnu` for Linux32 - `i686-pc-linux-gnu` for Linux32
- `x86_64-pc-linux-gnu` for Linux64 - `x86_64-pc-linux-gnu` for Linux64
- `x86_64-w64-mingw32` for Win64 - `x86_64-w64-mingw32` for Win64
- `x86_64-apple-darwin16` for MacOSX - `x86_64-apple-darwin18` for MacOSX
- `arm-linux-gnueabihf` for Linux ARM 32 bit - `arm-linux-gnueabihf` for Linux ARM 32 bit
- `aarch64-linux-gnu` for Linux ARM 64 bit - `aarch64-linux-gnu` for Linux ARM 64 bit

View File

@ -3,7 +3,7 @@
<plist version="0.9"> <plist version="0.9">
<dict> <dict>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>10.12.0</string> <string>10.14.0</string>
<key>LSArchitecturePriority</key> <key>LSArchitecturePriority</key>
<array> <array>