-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
aarch64-pc-cygwin
target to advanced.yml
- Loading branch information
Showing
23 changed files
with
3,825 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
|
||
source `dirname ${BASH_SOURCE[0]}`/../config.sh | ||
|
||
echo "::group::Patch Cygwin GCC" | ||
cd $SOURCE_PATH/gcc | ||
|
||
if [[ "$RESET_SOURCES" = 1 ]]; then | ||
git reset --hard HEAD | ||
git clean -fdx | ||
fi | ||
|
||
PATCH_DIR=$SOURCE_PATH/cygwin-packages/gcc | ||
patch -p1 -i $PATCH_DIR/0001-Cygwin-use-SysV-ABI-on-x86_64.patch | ||
patch -p1 -i $PATCH_DIR/0002-Cygwin-add-dummy-pthread-tsaware-and-large-address-a.patch | ||
patch -p1 -i $PATCH_DIR/0003-Cygwin-handle-dllimport-properly-in-medium-model-V2.patch | ||
patch -p1 -i $PATCH_DIR/0004-Cygwin-MinGW-skip-test.patch | ||
patch -p1 -i $PATCH_DIR/0005-Cygwin-define-RTS_CONTROL_ENABLE-and-DTR_CONTROL_ENA.patch | ||
patch -p1 -i $PATCH_DIR/0007-Cygwin-__cxa-atexit.patch | ||
patch -p1 -i $PATCH_DIR/0008-Cygwin-libgomp-soname.patch | ||
patch -p1 -i $PATCH_DIR/0009-Cygwin-g-time.patch | ||
patch -p1 -i $PATCH_DIR/0010-Cygwin-newlib-ftm.patch | ||
patch -p1 -i $PATCH_DIR/0011-Cygwin-define-STD_UNIX.patch | ||
patch -p1 -i $PATCH_DIR/0101-Cygwin-enable-libgccjit-not-just-for-MingW.patch | ||
patch -p1 -i $PATCH_DIR/0102-Cygwin-testsuite-fixes-for-libgccjit.patch | ||
|
||
case "$ARCH" in | ||
aarch64) | ||
patch -p1 -i $PATCHES_PATH/gcc/0001-aarch64-cygwin.patch | ||
patch -p1 -i $PATCHES_PATH/gcc/0002-cygming-extern.patch | ||
;; | ||
esac | ||
echo "::endgroup::" | ||
|
||
echo 'Success!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
source `dirname ${BASH_SOURCE[0]}`/../config.sh | ||
|
||
echo echo "::group::Patch MinGW" | ||
cd $SOURCE_PATH/mingw | ||
|
||
if [[ "$RESET_SOURCES" = 1 ]]; then | ||
git reset --hard HEAD | ||
git clean -fdx | ||
fi | ||
|
||
case "$ARCH" in | ||
aarch64) | ||
patch -p1 -i $PATCHES_PATH/mingw/0001-aarch64-cygwin.patch | ||
;; | ||
esac | ||
echo "::endgroup::" | ||
|
||
echo 'Success!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.