1.
*-apple-darwin
sed -i.bak 's/$TARGET_DIR\/bin\///g' tools/gen_sdk_package_pbzx.sh
2.
*-apple-darwin
sed -i.bak 's/$TARGET_DIR\/SDK\/tools\/bin\///g' tools/gen_sdk_package_pbzx.sh
3.
*-apple-darwin
sed -i.bak 's/build_xar/echo build_xar/g' tools/gen_sdk_package_pbzx.sh
4.
*-apple-darwin
sed -i.bak 's/build_xar/echo build_xar/g' build.sh
5.
*-apple-darwin
sed -i.bak 's/git clone/echo git clone/g' build.sh
6.
*-apple-darwin
sed -i.bak 's/--with-libtapi=$TARGET_DIR/--with-libtapi=$PREFIX\/native/g' build.sh
7.
*-apple-darwin
sed -i.bak 's/--with-libxar=$TARGET_DIR/--with-libxar=$PREFIX\/native/g' build.sh
8.
*-apple-darwin
sed -i.bak 's/build_pbxz/echo build_pbxz/g' tools/gen_sdk_package_pbzx.sh
9.
*-apple-darwin
sed -i.bak 's/git /echo git /g' tools/tools.sh
10.
*-apple-darwin
sed -i.bak 's/download $CLANG_LLVM_PKG/echo download $CLANG_LLVM_PKG/g' build_clang.sh
11.
*-apple-darwin
sed -i.bak 's/rm -f $(basename $CLANG_LLVM_PKG)/echo rm -f $(basename $CLANG_LLVM_PKG)/g' build_clang.sh
12.
*-apple-darwin
sed -i.bak 's/get_sources/echo get_sources/g' build.sh
13.
*-apple-darwin
sed -i.bak '8,11d' tools/gen_sdk_package_pbzx.sh
14.
*-apple-darwin
sed -i.bak '135,145d' build.sh
15.
*-apple-darwin
sed -i.bak '145,160d' build.sh
16.
*-apple-darwin
./tools/gen_sdk_package_pbzx.sh ./Xcode_26.0.1.xip
17.
*-apple-darwin
mv MacOSX26.* tarballs
18.
none
yes | INSTALLPREFIX=$PREFIX/native ./build_clang.sh
19.
none
cd build/clang-20.1.8/build_stage2 && make install DESTDIR=$STAGING_DIR && make install
20.
*-apple-darwin
yes | INSTALLPREFIX=$PREFIX/native ./build_apple_clang.sh
21.
*-apple-darwin
cd build/clang-21/build_stage2 && make install DESTDIR=$STAGING_DIR && make install
22.
*-apple-darwin
TARGET_DIR=$STAGING_DIR$PREFIX/native ./build.sh
23.
*
$PREFIX/native/bootstrap/bin/perl $PREFIX/native/bootstrap/bin/strip-nondeterminism-recursive --directory $STAGING_DIR