186 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
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
khanhduytran0
a3d27d75f4 Fix(iOS): apply script changes from jre17-21 branch 2024-11-30 13:44:02 +00: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
ArtDev
6d6dddb811
Update buildjdk.sh 2023-04-16 09:40:49 +03:00
Duy Tran Khanh
4797b35771
Enable generating debug symbols again 2023-04-16 05:52:35 +07: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
65cfcff6a1 Add aarch32 patches 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
b3042ae7b2 Forcefully define __ANDROID__ 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
Duy Tran Khanh
c7407f6561 Update buildjdk.sh 2023-02-25 13:06:25 +03:00
Duy Tran Khanh
f32176a7cb Fix patch location 2023-02-25 13:06:25 +03:00
Duy Tran Khanh
edf2022254 Add needed flags for git apply 2023-02-25 13:06:25 +03:00
khanhduytran0
51be07de5d (Test) Live patch latest jdk8u 2023-02-25 13:06:25 +03:00
Boulay Mathias
bdc4a42abd
JRE 8 but *smol* (#7) 2022-05-14 14:02:06 +03:00
Duy Tran Khanh
b0904dac98
iOS build: set LDFLAGS -miphoneos-version-min 2022-04-30 05:45:08 +07:00
Duy Tran Khanh
31b66be7be
Update buildjdk.sh 2022-04-27 06:13:43 +07:00
Duy Tran Khanh
9539996019
iOS build: set platform_version for LDFLAGS 2022-04-27 05:27:34 +07:00
Duy Tran Khanh
3a29a575be
Update buildjdk.sh 2021-09-21 17:19:17 +07:00
Duy Tran Khanh
f1fda53cfb
Update buildjdk.sh 2021-09-21 17:18:46 +07:00
Duy Tran Khanh
c3af3a2387
Only compile with -O3 flag for Android 2021-08-24 09:39:59 +07:00
Duy Tran Khanh
b1473953a3
Attempt to enable precompiled headers for iOS 2021-08-22 05:53:57 +07:00
ArtDev
083691c48f
Update buildjdk.sh 2021-08-21 18:45:17 +03:00
ArtDev
1e1f360df2
Update buildjdk.sh 2021-08-21 18:36:55 +03:00
ArtDev
ce0b96d9b7
Update buildjdk.sh 2021-08-20 18:12:41 +03:00
Boulay Mathias
d292a64088
Test -Os flag 2021-08-19 10:12:31 +02:00
Duy Tran Khanh
628c80ff9a
Test -Ofast flag 2021-08-11 18:51:43 +07:00
Adam Tunnic
6660d15893
Undo as looking deeper shows that we don't need to rearrange into submodules 2021-07-04 14:40:24 -04:00
Adam Tunnic
5012ccb147
Update buildjdk.sh 2021-07-04 14:35:58 -04:00
pojavlauncher
e7b75eedc0 zulu port test 2021-06-30 13:48:14 +07:00
Duy Tran Khanh
9bcdff9b5d
undo 2021-06-10 05:02:31 +07:00
Duy Tran Khanh
cd4c133ebe
Give me gcc version to fake it 2021-06-10 05:02:17 +07:00
Duy Tran Khanh
aac0f12353
Update buildjdk.sh 2021-06-06 18:27:20 +07:00
Duy Tran Khanh
0853c97b26
Update buildjdk.sh 2021-06-06 18:25:02 +07:00
Duy Tran Khanh
a126491e9d
[iOS port] re-enable zip debuginfo 2021-05-31 19:47:28 +07:00
Duy Tran Khanh
c073c8cc0a
fix iOS build 2021-05-31 18:29:29 +07:00
Duy Tran Khanh
89b7b6f42e
Update buildjdk.sh 2021-05-31 07:57:44 +07:00
pojavlauncher
d2b48f7e45 fixed signing, missing ldid 2021-05-24 16:04:36 +07:00
pojavlauncher
a7c6c8fd86 prefix? 2021-05-24 15:00:33 +07:00
pojavlauncher
c4ef6392f3 Fixed building on macOS Big Sur 2021-05-16 17:22:46 +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
c0bc5d4471
Update buildjdk.sh 2021-04-07 16:15:51 +07:00
Duy Tran Khanh
7e14851447
Set --enable-arm-neon=always 2021-04-07 15:43:47 +07:00