Commit c566fccc authored by Drew's avatar Drew

Remove various swift-local hacks

Various hacks we required to get dispatch building together are no
longer required in snapshot swift-DEVELOPMENT-SNAPSHOT-2016-02-25-af
parent f67424f6
set -e
id=$(docker create swift-tmp)
docker cp $id:/tmp/swift.tar.gz .
rm -rf fakeroot
mkdir -p fakeroot/usr/local
tar xf swift.tar.gz -C fakeroot/usr/local --strip-components 1
rm -rf swift.tar.gz
#patch silly dispatch
mkdir fakeroot/usr/local/include/dispatch/haxx
mv fakeroot/usr/local/include/dispatch/Dispatch.swift* fakeroot/usr/local/include/dispatch/haxx/
mv fakeroot/usr/local/include/dispatch/ fakeroot/usr/local/include/dispatch/haxx/
#we need to file a ⛏ about this silly workaround at some point
#but we have to wait for ⛏729 to get resolved first
#since the repro steps will change
sed -i '' "s+/tmp/install///usr/include/dispatch/dispatch.h+/usr/local/include/dispatch/dispatch.h+" fakeroot/usr/local/include/dispatch/haxx/
tar czf swift-local.tar.gz -C fakeroot .
rm -rf fakeroot
\ No newline at end of file
rm -rf fakeroot
rm -rf swift.tar.gz
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment