sudo dnf install libblocksruntime libblocksruntime-devel libblocksruntime-static
#!/bin/bash
BASE_DIR=/home/Ricky/repo/github/apple-swift
BUILDS_DIR=/opt/apple-swift
rm -rf $BASE_DIR
mkdir -p $BASE_DIR
cd $BASE_DIR
git clone https://github.com/apple/swift.git swift
./swift/utils/update-checkout --clone --scheme master
time ./swift/utils/build-script --preset buildbot_linux,no_test install_destdir=$BUILDS_DIR installable_package=$BUILDS_DIR/swift-master.tar.gz > $BASE_DIR/swifty-building.tx