66 Commits

Author SHA1 Message Date
Mathias-Boulay
5f86297b2e fix(build): update patches, ndk and docker image to build newer versions 2024-10-05 20:54:50 +02:00
Mathias-Boulay
5b7f9a8a5c Fix(build): switch java versions on the fly only for local docker builds 2024-06-15 18:06:34 +02:00
Mathias-Boulay
75de467a28 build: docker jre21 compat, CI updated for both 21 and 17 2024-06-15 17:56:40 +02:00
Mathias-Boulay
a0db676d65 Build(perf): reuse existing ndk if available 2024-04-16 09:02:42 +02:00
Mathias-Boulay
51ec1786d4 build(fix): use proper targets 2024-04-15 10:46:21 +02:00
Mathias-Boulay
f82a61c84d build(perf): use newer ndk paths 2024-04-15 09:28:04 +02:00
Mathias Boulay
bf03fec185 build: upgrade to ndk r25 2024-04-14 16:40:39 +02:00
fukiame
3c2f8fe40e
buildjre17: improvements (#20)
* .github: move apt commands to workflow

the scripts are capable of running on other distros, so "let the host cook"
also explicitly use Python 3 here as the build env do not use Python 2

* treewide: use bash [[

./buildlibs.sh: line 18: [: : integer expression expected
...
./buildjdk.sh: line 53: [: : integer expression expected
...

all scripts has bash shebang anyways,
replace all single brackets [ with bash's double brackets [[

* [hack] tarjdk: force termux-elf-cleaner v2.2.0

g++: error: unrecognized command line option ‘-std=c++20’; did you mean ‘-std=c++2a’?

caused by a mix of our outdated toolchains and an upstream commit [1]
downgrade the version of termux-elf-cleaner we use to the latest stable tag to workaround the issue

[1]: 9578f2c4bc

Test: presubmit
Signed-off-by: fukiame <fukiame@proton.me>

* .github: update actions and runner image

The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-java@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

* Revert "[hack] tarjdk: force termux-elf-cleaner v2.2.0"

this branch doesnt serm to be affected by the error...
i dont get it

This reverts commit 40f4b1a5fb28042c57bbaec826eea4cce9fdc8b9.

---------

Signed-off-by: fukiame <fukiame@proton.me>
2024-03-09 21:20:51 +03:00
Duy Tran Khanh
3f43952cb9
Set ANDROID_NDK_ROOT 2022-08-16 12:31:54 +07:00
khanhduytran0
87441e69ce Build jdk17 for iOS 2022-08-16 12:26:27 +07:00
Duy Tran Khanh
fa8b26b2bf
Try building server variant for armv7 2021-11-21 19:43:27 +07:00
Duy Tran Khanh
24d2297dc0
Freetype: back to 2.10.0 2021-06-11 09:12:04 +07:00
Duy Tran Khanh
d1c9981d5b time to fake gcc 2021-06-10 05:16:40 +07:00
Duy Tran Khanh
3cd98c8822 Try wrapped clang with some warning suppressed
Clang works well on compiling OpenJDK 17, however suppressing warnings
doesn't work even with `--with-extra-c(xx)flags` so I had to try this.
2021-06-09 19:01:23 +07:00
Duy Tran Khanh
758c7f23c8
go r21 again
why OpenJDK FKING messes up with Android toolchains?????
2021-06-09 18:31:55 +07:00
Duy Tran Khanh
e2090b7b3e
Fallback to NDK r10e 2021-06-09 18:14:15 +07:00
Duy Tran Khanh
ee999a360e
Fallback to GCC. OpenJDK messes up when compile use clang
It seems that clang compiling for OpenJDK has not been finished for years, only macOS is supported.
2021-06-09 17:22:07 +07:00
Duy Tran Khanh
0689441794
~~ok b00mer back to clang~~ 2021-06-07 16:29:09 +07:00
Duy Tran Khanh
91e73af591
Try gcc 2021-06-07 16:24:12 +07:00
Duy Tran Khanh
d7af156a12
Update setdevkitpath.sh 2021-06-06 16:08:32 +07:00
Duy Tran Khanh
19a9bffc30
Update setdevkitpath.sh 2021-06-05 13:31:35 +07:00
Duy Tran Khanh
478c118a14
Update setdevkitpath.sh 2021-06-05 13:22:48 +07:00
Duy Tran Khanh
7a88de6c22 update to ndk r21, use clang 2021-06-05 09:51:21 +07:00
pojavlauncher
a7c6c8fd86 prefix? 2021-05-24 15:00:33 +07:00
Duy Tran Khanh
e52446bf18
iOS aarch64 port of OpenJDK 8 (#5)
This port is still WIP and may not work.
2021-05-15 19:43:22 +07:00
Duy Tran Khanh
142df77a05
Stills fixing target upload 2021-01-25 11:42:40 +07:00
Duy Tran Khanh
ac48c1f196
Set OBJCOPY 2021-01-24 17:06:25 +07:00
Duy Tran Khanh
16ec43a47e Fix copy build result 2021-01-23 19:06:18 +07:00
Tran Khanh Duy
77c2dc9457
Back to release mode because full debug symbol.diz 2020-11-09 14:57:51 +07:00
Tran Khanh Duy
6b2e859fc8
Build OpenJDK in slowdebug 2020-11-09 12:15:52 +07:00
Tran Khanh Duy
4985b2ff28
Back 2020-11-08 06:29:09 +07:00
khanhduytran0
8f1cb03518 Update to FreeType 2.10.4 2020-11-08 06:14:04 +07:00
khanhduytran0
460d1a745c More convenient to change Freetype version 2020-11-04 05:32:01 +07:00
Tran Khanh Duy
3db5841d72
Remove -lstdc++ link on any libs 2020-11-04 05:17:51 +07:00
Tran Khanh Duy
2f0b3cea7c
Update setdevkitpath.sh 2020-11-03 18:53:44 +07:00
Tran Khanh Duy
d5fa6c11ac
Update setdevkitpath.sh 2020-11-03 18:08:17 +07:00
khanhduytran0
6530fad565 Build use NDK r10e only 2020-11-02 13:01:15 +07:00
Tran Khanh Duy
4284a96531
Use NDK r10e 2020-11-01 19:35:46 +07:00
khanhduytran0
8b2612ce88 Use NDK r17 2020-11-01 06:44:51 +07:00
khanhduytran0
7933c77c44 Fix 2020-10-31 20:53:43 +07:00
khanhduytran0
fce8176743 try NDK r18 2020-10-31 20:44:02 +07:00
khanhduytran0
2551821c66 Build fastdebug 2020-10-27 12:15:21 +07:00
khanhduytran0
ed9a626644 Fix 2020-10-19 12:57:01 +07:00
khanhduytran0
b1f4038854 Correct doc 2020-10-19 12:46:36 +07:00
khanhduytran0
e19260a23d Use NDK 14 2020-10-19 12:42:16 +07:00
Tran Khanh Duy
1bf4cade92
Used incorrect comment, so fix it 2020-09-29 15:03:00 +07:00
khanhduytran0
b349ecd71b Avoid using /usr/include (Linux x86 GLIBC includes) 2020-09-29 14:53:58 +07:00
khanhduytran0
d48e01218d another fix 2020-09-28 18:26:04 +07:00
khanhduytran0
2ebd08537c Put /usr/include to behind of Android includes 2020-09-27 14:15:02 +07:00
khanhduytran0
3bd64fa686 Try fix CUPS include not found 2020-09-27 13:26:46 +07:00