Commit Graph

183 Commits

Author SHA1 Message Date
Colton G. Rushton
902eeabbac
Merge fbd5d88e46 into d59cfb5ac1 2023-03-13 17:28:07 -06:00
luckytyphlosion
d59cfb5ac1
Merge pull request #52 from holmesmr/master
Refactor all uses of GEN_FCN to use locals
2022-09-02 13:58:25 -04:00
Colton G. Rushton
fbd5d88e46
Remove nproc
Because nproc can cause builds to stop entirely under operating systems that don't have it
2022-07-01 15:21:01 -03:00
Colton G. Rushton
06974527f2
remove nproc to preserve compat with Mac 2022-06-24 22:37:50 -03:00
Colton G. Rushton
497536cf5a
Update build.sh 2022-06-24 14:09:02 -03:00
Colton G. Rushton
adf4f28774 restore devkitarm warning 2022-06-24 13:15:56 -03:00
Colton G. Rushton
3a31b19fad Fix parallel builds 2022-06-24 13:14:50 -03:00
Michael Holmes
4fae47a692
Add missing fixup for move_by_pieces_1 2022-03-12 18:31:17 +00:00
Michael Holmes
6ae2127062
Refactor all uses of GEN_FCN to use locals
An intermediate local value for lookups in the instruction generation jump
table works around a code generation bug in macOS ARM64 clang that would cause
their parameters to be pushed on the stack instead of passed in registers.
2022-03-08 00:41:04 +00:00
luckytyphlosion
faa413eb0e
Fix build.sh on macOS 2022-01-26 18:17:00 -05:00
luckytyphlosion
91078c3e4f
Merge pull request #44 from PikalaxALT/patch-3
Migrate from Travis to GitHub workflows
2022-01-20 10:49:01 -05:00
luckytyphlosion
e09cbdf93d
Forgot to add installation success message. 2022-01-18 15:42:12 -05:00
luckytyphlosion
a4417ead3c
Merge pull request #48 from luckytyphlosion/master
Add helpful error checks for common user errors.
2022-01-07 18:18:10 -05:00
luckytyphlosion
c19734bb7a Improvements to error messages. 2022-01-07 11:09:13 -05:00
luckytyphlosion
9f762735d7 Better install.sh error messages. 2022-01-03 11:29:11 -05:00
luckytyphlosion
1fcda818cb Fix indentation. 2022-01-03 11:22:32 -05:00
luckytyphlosion
de7ccf2a43 Add helpful error checks for common user errors. 2022-01-03 11:18:12 -05:00
PikalaxALT
b7a8c1c8a0
Delete .travis.yml 2021-08-09 21:01:44 -04:00
PikalaxALT
32b3d5dff7
Create GitHub workflow for CI 2021-08-09 21:01:08 -04:00
luckytyphlosion
1cff637716
Merge pull request #39 from luckytyphlosion/master
Fix builds on xcode 12+
2021-08-09 19:00:53 -04:00
luckytyphlosion
5297ebf508 Fix compilation on BSD make (from pizza2004).
Long-term, this should be fixed by just requiring macOS to use GNU make (probably via setting some alias), but this change is really overdue and not having a macOS computer makes this harder to test.
2021-08-09 18:18:36 -04:00
luckytyphlosion
1f83e3d73f Fix builds on xcode 12+
Enforce the use of -Werror-implicit-function-declaration for all platforms to catch this. See: https://developer.apple.com/documentation/xcode-release-notes/xcode-12-release-notes
2021-01-25 22:25:35 -05:00
luckytyphlosion
bd1b2f511e Check for $(DEVKITARM) first before checking for $(DEVKITARM)/bin 2020-12-30 20:22:56 -06:00
luckytyphlosion
07f3f62b18 Check $(DEVKITARM)/bin instead of $(DEVKITARM)/base_tools
Rationale: uninstalling devkitarm doesn't remove base_tools, but removes bin. If the binaries exist but not base_tools, then the user clearly wants to install using dkA. Otherwise, if base_tools exists but not binaries, it is possible that the user wants to use standalone arm-none-eabi binaries.
2020-12-30 20:22:56 -06:00
luckytyphlosion
293e28b85d Add support for building agbcc without devkitPro 2020-12-30 20:22:56 -06:00
luckytyphlosion
e4250fbaac Check for $(DEVKITARM) first before checking for $(DEVKITARM)/bin 2020-12-16 19:43:34 -05:00
luckytyphlosion
1d64f265ac Check $(DEVKITARM)/bin instead of $(DEVKITARM)/base_tools
Rationale: uninstalling devkitarm doesn't remove base_tools, but removes bin. If the binaries exist but not base_tools, then the user clearly wants to install using dkA. Otherwise, if base_tools exists but not binaries, it is possible that the user wants to use standalone arm-none-eabi binaries.
2020-12-16 13:48:32 -05:00
luckytyphlosion
3e670b934f Add support for building agbcc without devkitPro 2020-11-25 09:30:16 -05:00
huderlem
74e171579e
Merge pull request #30 from camthesaxman/arm_support
Build ARM compiler
2020-02-15 09:06:38 -06:00
PikalaxALT
c6bcd24dfe Add .travis.yml 2020-02-03 20:16:28 -05:00
Scott Norton
47d3516dec No more __STDC__ warning in libc 2020-02-03 09:32:53 -05:00
PikalaxALT
3fcbcaebae Patch get_run_time and add arm compiler to install.sh 2020-01-31 21:21:14 -05:00
camthesaxman
3397016bff delete test suite 2020-01-30 02:12:24 -06:00
camthesaxman
4f87fae05b make clean is broken 2020-01-30 02:06:21 -06:00
camthesaxman
d8bdbc027f make ARM compiler build on Windows 2020-01-30 01:57:36 -06:00
camthesaxman
187c8b2508 ignore build artifacts 2020-01-29 18:47:04 -06:00
camthesaxman
5d214f3ce4 don't autogenerate c-parse.c and c-parse.h; don't link libiberty.a 2020-01-29 18:42:08 -06:00
camthesaxman
9821a6af98 add some more files 2020-01-29 18:32:13 -06:00
camthesaxman
cdc6e2c50f add old compiler with ARM support 2020-01-29 18:17:43 -06:00
luckytyphlosion
27176890c4
Merge pull request #29 from aaaaaa123456789/master
Fix Makefiles to account for the $CC and $CXX environment
2019-08-06 20:22:32 -04:00
aaaaaa123456789
dce943da0f Fix Makefiles to account for the $CC and $CXX environment 2019-08-06 20:40:43 -03:00
huderlem
119616d503
Merge pull request #26 from 916253/patch-1
Remove trailing slash to fix macOS compatibility
2019-05-06 20:05:32 -05:00
huderlem
a9e4e336de
Merge pull request #27 from pret/revert-22-master
Revert "install headers into tools/agbcc/include"
2019-05-06 19:53:39 -05:00
huderlem
ed0b3022fb
Revert "install headers into tools/agbcc/include" 2019-05-06 19:53:03 -05:00
huderlem
abf6ca0ae3
Merge pull request #22 from garakmon/master
install headers into tools/agbcc/include
2019-05-06 17:32:44 -05:00
Emma
bfc767e567
Remove trailing slash to fix macOS compatibility
BSD utilities on macOS do not ignore trailing slashes in commands, which results in this script incorrectly copying files to /tools/agbcc, rather than the intended /tools/agbcc/include. Removing the trailing slash should prevent this from happening, and allow macOS users to use the tool as intended.
2019-04-29 20:12:26 -06:00
Garak
ef5124f5a5
install headers into tools/agbcc/include
as long as there is not a `/` after include, this should not make a new directory in `tools/agbcc/include/`
2018-07-18 15:38:06 -04:00
Marcus Huderle
e1d67efda6
Merge pull request #21 from huderlem/tools
Use devkitarm's configured tools
2018-05-26 19:18:18 -05:00
Marcus Huderle
0803b33a54 Use devkitarm's configured tools 2018-05-26 19:08:20 -05:00
Marcus Huderle
7e50da47a2
Merge pull request #20 from yui-konnu/master
Another macOS fix
2018-05-25 21:50:09 -05:00