File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 39
39
echo " Download ${DOWNLOAD_FILE} "
40
40
wget $SRCURL -O $DOWNLOAD_FILE
41
41
fi
42
- patch ./downloads/swift-$SWIFT_VERSION /stdlib/public/runtime/Float16Support.cpp $DOWNLOAD_FILE
42
+ patch ./downloads/swift-$SWIFT_VERSION /stdlib/public/runtime/Float16Support.cpp $DOWNLOAD_FILE
43
+
44
+ DOWNLOAD_FILE=./downloads/swift-stdlib-AtomicWaitQueue.patch
45
+ SRCURL=https://gist.githubusercontent.com/colemancda/d88a775f2bf3e234f4fa705c46b66b37/raw/1d8d54f23f5564f847ab39c65b59d287bba4f333/swift-5.6-AtomicWaitQueue.patch
46
+ if test -f " $DOWNLOAD_FILE " ; then
47
+ echo " $DOWNLOAD_FILE exists"
48
+ else
49
+ echo " Download ${DOWNLOAD_FILE} "
50
+ wget $SRCURL -O $DOWNLOAD_FILE
51
+ fi
52
+ patch ./downloads/swift-$SWIFT_VERSION /include/swift/Runtime/AtomicWaitQueue.h $DOWNLOAD_FILE
53
+
54
+ DOWNLOAD_FILE=./downloads/swift-stdlib-HeapObject.patch
55
+ SRCURL=https://gist.github.com/colemancda/d88a775f2bf3e234f4fa705c46b66b37/raw/1d8d54f23f5564f847ab39c65b59d287bba4f333/swift-5.6-HeapObject-cxx-newObject.patch
56
+ if test -f " $DOWNLOAD_FILE " ; then
57
+ echo " $DOWNLOAD_FILE exists"
58
+ else
59
+ echo " Download ${DOWNLOAD_FILE} "
60
+ wget $SRCURL -O $DOWNLOAD_FILE
61
+ fi
62
+ patch ./downloads/swift-$SWIFT_VERSION /include/swift/Runtime/HeapObject.h $DOWNLOAD_FILE
43
63
44
64
# Download Dispatch
45
65
DOWNLOAD_FILE=./downloads/libdispatch-${SWIFT_VERSION} .tar.gz
You can’t perform that action at this time.
0 commit comments