457 Commits

Author SHA1 Message Date
Eva Isabella Luna
3cda3c1ed5
[FIX] xattr command failing for JDK 8 iOS
Some versions of macOS on some machines might fail the build when xattr is invoked without sudo.
Since the reason xattr is invoked is to help with testing, and the attribute it is removing
is not relevant for iOS, this line can be safely removed from the build.
2025-07-02 22:17:57 -06:00
Eva Isabella Luna
2c9325e911
[FEAT] Add TARGET_OS
Used to name the tarballs a bit clearer, mainly for Jenkins.
2025-06-29 19:32:03 -06:00
Eva Isabella Luna
a23217a8f3
[FIX] Allow usage of a different NDK location for JDK 8
This allows users to not need to download the NDK multiple times if they already have it installed.

TODO: Rewrite literally all of these scripts and rebranch.
2025-06-28 17:53:07 -06:00
Eva Isabella Luna
bba4fdbd01
[README] Minor updates to README 2025-05-28 16:52:39 -06:00
Eva Isabella Luna
e1b4b3d18c
add[patch]: Change java.runtime.name to have android included (#1) 2025-05-23 22:59:34 -06:00
alexytomi
c621cd8e71 qol[gitignore]: Add openjdk clones into gitignore 2025-05-22 19:08:28 +08:00
alexytomi
1719a581cc add[patch]: Change java.runtime.name to have android included
Changed java.runtime.name to include "Android" to support the detection
scheme of sqlite-jdbc
See https://github.com/xerial/sqlite-jdbc/issues/1210 and
79cc5feaf1/src/main/java/org/sqlite/util/OSInfo.java (L120-L122)
2025-05-22 19:08:28 +08:00
Eva Isabella Luna
7af1d9a37a
[Actions] Don't download JDK 8 on J316sAP 2025-05-20 18:42:56 -06:00
Eva Isabella Luna
3b73b1dc2c
[Actions] Switch to J316sAP
The security setup on J316sAP doesn't allow for the actions user to install from Homebrew.
2025-05-19 17:27:00 -06:00
khanhduytran0
04b90441da Fix(iOS): fix clang hardening changes 2025-05-11 18:52:45 +07:00
github-actions
c8f90f5f58 Fix(iOS): fix freetype build
It looks like latest Xcode has removed typedef Byte, causing freetype to fail compilation. Freetype also internally define it only if it's not Apple platform. A hack define is added to make it compile again.
2024-11-30 14:03:17 +00:00
khanhduytran0
a3d27d75f4 Fix(iOS): apply script changes from jre17-21 branch 2024-11-30 13:44:02 +00:00
Duy Tran Khanh
c62cba0541
Build[CI]: use boot jdk 8 2024-08-02 13:07:07 +07:00
Duy Tran Khanh
30c346a078
Build[ios]: define boot jdk distribution 2024-08-02 09:56:47 +07:00
eval Nya
65bd51bf8e
workaround: libnet: ipv6_support: skip /proc/net/ & socket() check ifdef __ANDROID__ (#27)
see ae218d9bdc%5E%21

this commit is subset of the changes mentioned above and should get
further tests before merge into JDK.
2024-07-27 20:21:21 +02:00
Duy Tran Khanh
29af9b03da
Build: update ios ci actions ver 2024-07-22 10:12:28 +07:00
Duy Tran Khanh
fc16e1dc89
Fix[tarjdk]: force-copy instead of using sudo 2024-07-22 09:49:00 +07:00
Duy Tran Khanh
ccc0091274
Fix[ios build]: remove unexpected check 2024-07-22 08:32:25 +07:00
khanhduytran0
45892bf4e9 Build: adjustment for iOS CI 2024-07-22 01:59:40 +01:00
Duy Tran Khanh
90b332788a Feat: use corretto-8 for iOS 2024-07-22 00:58:41 +01:00
fukiame
a753e0e862
buildjre8: improvements (#19)
* .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

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/

* .github: actions runner: update to ubuntu-22.04

a bit of future-proofing wont hurt... right?

* fixup! .github: java setup: its 7 not 1.7

i retartded

---------

Signed-off-by: fukiame <fukiame@proton.me>
2024-01-16 19:33:23 +03:00
Duy Tran Khanh
11a8b4b1b5
Schedule build 2023-11-17 05:42:51 +07:00
Boulay Mathias
438cd12185
Refactor: use patch instead of fork 2023-08-13 23:14:39 +02:00
Boulay Mathias
072f195a5f
Chore[clone]: change upstream repository 2023-08-13 20:43:54 +02:00
ArtDev
c92ce2a737
Fix libfreetype paths for x86 2023-07-20 16:07:38 +03:00
Boulay Mathias
b2217873d7
Feat: Reduce JRE 8 size by around 3 MB (#15)
* Feat: trim .so files

* Build: update ndk version

* workaround, Switch to old strip bins

* Fix:typo
2023-05-04 13:38:31 +03:00
ArtDev
58b97dd988
Update setdevkitpath.sh 2023-05-01 14:57:00 +03:00
ArtDev
38b4cebdaa
Update setdevkitpath.sh 2023-05-01 14:54:41 +03:00
Boulay Mathias
c99a8b8d9c
Fix: debug only on failure 2023-05-01 10:51:30 +02:00
Boulay Mathias
c27fe84471
allow to debug the container when it fails 2023-05-01 09:53:06 +02:00
ArtDev
6d6dddb811
Update buildjdk.sh 2023-04-16 09:40:49 +03:00
ArtDev
6cbc57072e
Uplaod the page trap fix patch 2023-04-16 09:37:48 +03:00
Duy Tran Khanh
4797b35771
Enable generating debug symbols again 2023-04-16 05:52:35 +07:00
ArtDev
e058dd4a87
Build client JVM for x86 2023-04-15 16:03:11 +03:00
ArtDev
2a6e4a0e07
Nvm 2023-04-15 16:01:06 +03:00
ArtDev
3705aadf96
Build client JVM variant for x86 2023-04-15 15:41:55 +03:00
artdeell
8886444557 Final(?) patch fix 2023-02-25 13:06:25 +03:00
artdeell
1c68e6e2ba Whoops! Forgot to check full history! 2023-02-25 13:06:25 +03:00
artdeell
7039d84be4 Add patch for AWT_OnLoad path
This patch makes the runtime work properly on devices with old Android versions - originally it doesn't work due to a dlinfo bug in Android < 7
2023-02-25 13:06:25 +03:00
ArtDev
17e0a04f4d Fix aarch32 patches 2023-02-25 13:06:25 +03:00
artdeell
65cfcff6a1 Add aarch32 patches 2023-02-25 13:06:25 +03:00
ArtDev
6367c7524e Add nedline at the end of patch
Otherwise git complains about corruption
2023-02-25 13:06:25 +03:00
ArtDev
09606a9f79 Update buildjdk.sh 2023-02-25 13:06:25 +03:00
artdeell
1a5ab53056 Fix missing semicolon 2023-02-25 13:06:25 +03:00
artdeell
90d461f705 Separate universal and main non universal patches 2023-02-25 13:06:25 +03:00
ArtDev
4a07e97efe Use aarch32 port for aarch32 and base jdk8u otherwise 2023-02-25 13:06:25 +03:00
ArtDev
b3042ae7b2 Forcefully define __ANDROID__ 2023-02-25 13:06:25 +03:00
ArtDev
ab0aec8252 Fix forgotten bracket in architecture matrix 2023-02-25 13:06:25 +03:00
Duy Tran Khanh
14f2981ab3 Build for aarch32 using its repo 2023-02-25 13:06:25 +03:00
khanhduytran0
817fc68835 Patch: skip building demo/libwaiters.so
undefined reference to __gxx_personality_v0

Also:
- Perform unsafe git applying of patches
- Comment out freemarker stuff, not needed here
2023-02-25 13:06:25 +03:00