mirror of
https://github.com/tpoechtrager/osxcross.git
synced 2024-08-17 20:40:28 +03:00
* 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
|