File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 # Download various tools such as autoconf, automake and libtool
2222 wget https://github.com/light-tech/LLVM-On-iOS/releases/download/llvm12.0.0/tools.tar.xz
2323 tar xzf tools.tar.xz
24+ mv ninja tools/bin
25+ export PATH=$PATH:`pwd`/tools/bin
2426 ./build-llvm-framework.sh maccatalyst iphoneos iphonesimulator
2527 displayName: 'Checkout and build llvm framework'
2628 enabled: true
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ PLATFORMS=( "$@" )
99
1010# Constants
1111export REPO_ROOT=` pwd`
12- export PATH=$PATH :$REPO_ROOT /tools/bin
1312
1413# Build libffi for a given platform
1514function build_libffi() {
@@ -88,8 +87,7 @@ function build_llvm() {
8887 -DFFI_LIBRARY_DIR=$LIBFFI_INSTALL_DIR \
8988 -DCMAKE_BUILD_TYPE=Release \
9089 -DCMAKE_INSTALL_PREFIX=$LLVM_INSTALL_DIR \
91- -DCMAKE_TOOLCHAIN_FILE=../llvm/cmake/platforms/iOS.cmake \
92- -DCMAKE_MAKE_PROGRAM=$REPO_ROOT /ninja)
90+ -DCMAKE_TOOLCHAIN_FILE=../llvm/cmake/platforms/iOS.cmake)
9391
9492 case $PLATFORM in
9593 " iphoneos" )
You can’t perform that action at this time.
0 commit comments