mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
097a8e7196
that's a result of: contrib/devtools/copyright_header.py update ./ it is not scripted diff, because it works differentlly on my localhost and in CI: CI doesn't want to use git commit date which is mocked to 30th Dec of 2023
37 lines
1011 B
Bash
Executable File
37 lines
1011 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) 2021-2023 The Dash Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
#
|
|
# This script is executed inside the builder image
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
set -e
|
|
|
|
source ./ci/dash/matrix.sh
|
|
|
|
unset CC; unset CXX
|
|
unset DISPLAY
|
|
|
|
mkdir -p $CACHE_DIR/depends
|
|
mkdir -p $CACHE_DIR/sdk-sources
|
|
|
|
ln -s $CACHE_DIR/depends ${DEPENDS_DIR}/built
|
|
ln -s $CACHE_DIR/sdk-sources ${DEPENDS_DIR}/sdk-sources
|
|
|
|
mkdir -p ${DEPENDS_DIR}/SDKs
|
|
|
|
if [ -n "$XCODE_VERSION" ]; then
|
|
OSX_SDK_BASENAME="Xcode-${XCODE_VERSION}-${XCODE_BUILD_ID}-extracted-SDK-with-libcxx-headers.tar.gz"
|
|
OSX_SDK_PATH="${DEPENDS_DIR}/sdk-sources/${OSX_SDK_BASENAME}"
|
|
if [ ! -f "$OSX_SDK_PATH" ]; then
|
|
curl --location --fail "${SDK_URL}/${OSX_SDK_BASENAME}" -o "$OSX_SDK_PATH"
|
|
fi
|
|
if [ -f "$OSX_SDK_PATH" ]; then
|
|
tar -C ${DEPENDS_DIR}/SDKs -xf "$OSX_SDK_PATH"
|
|
fi
|
|
fi
|
|
|
|
make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
|