mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
68bdbd9452
* Added support for TAPIv3 stubs (including "zippering" target) * Added support for MacOSX SDKs up to 10.14 * Added new SDK packaging script for SDKs that end with ".xip" (tools/gen_sdk_package_pbzx.sh <xcode.xip>) (tested up to Xcode 10.2.1) * Updated cctools to 921 and ld64 to 409.12 Fixed: * Implemented fix for https://github.com/tpoechtrager/osxcross/issues/171 * Implemented fix for https://github.com/tpoechtrager/osxcross/issues/178 * Implemented fix for https://github.com/tpoechtrager/osxcross/issues/182 Changed: * cctools, ld64, apple-libtapi and xar are now "git clone"'d and no longer come with OSXCross. Removed: * Support for Cygwin and *BSD (besides FreeBSD) * Support for building OSXCross with GCC
38 lines
850 B
Bash
Executable File
38 lines
850 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Build and install the `llvm-dsymutil` tool required for debugging.
|
|
#
|
|
# Please refer to README.DEBUGGING.md for details.
|
|
#
|
|
|
|
pushd "${0%/*}" &>/dev/null
|
|
|
|
DESC="llvm-dsymutil"
|
|
source tools/tools.sh
|
|
eval $(tools/osxcross_conf.sh)
|
|
|
|
require git
|
|
require cmake
|
|
|
|
pushd $OSXCROSS_BUILD_DIR &>/dev/null
|
|
|
|
get_sources https://github.com/tpoechtrager/llvm-dsymutil.git master
|
|
|
|
if [ $f_res -eq 1 ]; then
|
|
pushd $CURRENT_BUILD_PROJECT_NAME &>/dev/null
|
|
|
|
mkdir build
|
|
pushd build &>/dev/null
|
|
|
|
$CMAKE .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DLLVM_TARGETS_TO_BUILD="X86;ARM;AArch64" \
|
|
-DLLVM_ENABLE_ASSERTIONS=Off
|
|
|
|
$MAKE -f tools/dsymutil/Makefile -j$JOBS
|
|
cp bin/llvm-dsymutil $OSXCROSS_TARGET_DIR/bin/osxcross-llvm-dsymutil
|
|
echo "installed llvm-dsymutil to $OSXCROSS_TARGET_DIR/bin/osxcross-llvm-dsymutil"
|
|
|
|
build_success
|
|
fi
|