518 Commits

Author SHA1 Message Date
Duy Tran Khanh
30ea6597d0
Fix Android patches 2024-03-21 16:15:06 +07: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
0e55fd2fc9
Update build.yml
Skip 1h for other jobs
2023-11-17 05:48:42 +07:00
Duy Tran Khanh
abdff4788c
Schedule build 2023-11-17 05:46:16 +07:00
github-actions
e35849437d Fix iOS patches 2023-08-17 02:17:25 +01:00
ArtDev
7448523fdf
Add jdk.internal.vm.ci into aarch64 and amd64 JRE images 2023-08-15 20:00:45 +03:00
ArtDev
fb2a82293a
Buildjre17 avoid movaps crash (#16)
* Update buildjdk.sh

* Disable SSE for x86 build

* Force stack realignment

* Return to -O3 with stack realignment
2023-07-21 22:12:19 +03:00
Duy Tran Khanh
0099717965
Update removejdkdebuginfo.sh 2023-07-21 09:21:50 +07:00
ArtDev
102dec79e9
Generate debug symbols for JRE17 2023-07-20 18:00:01 +03:00
Boulay Mathias
e52c5fd0c5
Feat: Reduce JRE size (#14)
* Feat: trim .so files

* Fix: Typo on .so selection
2023-05-04 13:39:05 +03:00
Duy Tran Khanh
4fbf9deb51
Ignore install_name_tool error 2023-03-31 06:51:13 +07:00
Duy Tran Khanh
75b8074e39
Add dynamic rpath 2023-03-31 06:14:04 +07:00
Duy Tran Khanh
39be5d5b93
Merge buildjre17-patch into buildjre17 2023-02-27 07:20:48 +07:00
khanhduytran0
51db0c8bd6 Fix build and patch 2023-02-26 08:31:03 +07:00
Duy Tran Khanh
ee0a2546db
Fix patch (iOS) 2023-02-25 21:13:00 +07:00
khanhduytran0
318129bd5d Live patch jdk17u 2023-02-25 20:58:11 +07:00
Duy Tran Khanh
838021dd08
Fix(iOS build): who stole the x 2023-01-30 00:58:02 +00:00
Duy Tran Khanh
e83f84e80f
Fix: include libjsound natives 2023-01-30 06:58:17 +07:00
Duy Tran Khanh
866ce82593
Add procursus to PATH 2023-01-30 05:23:47 +07:00
PojavLauncherTeam
89ba13ac64 Hack to include macOS SDK components for libjsound 2023-01-29 22:18:05 +00:00
ArtDev
5c5ec9ed00
Change XZ compression level to 6 2022-11-12 21:16:50 +03:00
Duy Tran Khanh
77db2debec
Hopefully fix repackjre 2022-09-08 21:07:52 +07:00
Boulay Mathias
e821c263da
Update repackjre.sh 2022-09-01 07:08:36 +02:00
Duy Tran Khanh
a9f03ea8d0
Add fontconfig files for iOS 2022-08-24 11:29:59 +07:00
Duy Tran Khanh
6800e07899
Exclude src/java.desktop/macosx 2022-08-23 07:28:28 +07:00
Duy Tran Khanh
2e68b1ee6d
Fix missing libfreetype on Android 2022-08-21 21:18:07 +07:00
Duy Tran Khanh
8f6eb6f060
Use all cores for building for iOS 2022-08-21 08:03:37 +07:00
Eilionoir Tunnicliff
04541bd3e0
Switch to M1 runner for iOS builds (JDK 17) (#11)
* Use M1 runner for JDK compile

* Add homebrew to PATH

* Fix freetype library location on Apple Silicon

* Fix jre_override copy operation
2022-08-17 14:16:11 -04:00
khanhduytran0
aa3031316d Copy jre_override jre17-ca01427 2022-08-17 20:11:34 +07:00
Eilionoir Tunnicliff
09582fbda5
Fix iOS builds 2022-08-17 05:47:46 -04:00
Eilionoir Tunnicliff
723d10f2f3
Fix Android builds 2022-08-17 05:24:47 -04:00
Eilionoir Tunnicliff
ffe5f95b6c Fix ldid + install_name_tool for binaries 2022-08-17 04:45:26 -04:00
Eilionoir Tunnicliff
73e52e8bfc
Skip freetype copy when building iOS 2022-08-17 02:48:44 -04:00
Duy Tran Khanh
e5014d5618
Skip ldid for now 2022-08-17 13:46:30 +07:00
khanhduytran0
a7bec95521 Skip building freetype for iOS (use bundled) 2022-08-17 12:38:25 +07:00
Duy Tran Khanh
db391e739b
iOS build: Remove -DR18_RESERVED=1 (unnecessary) 2022-08-16 21:42:53 +07:00
Duy Tran Khanh
05ecf90144
I lost -D prefix 2022-08-16 21:40:16 +07:00
Duy Tran Khanh
302d15a8fa
Update termux-elf-cleaner building process 2022-08-16 20:56:19 +07:00
khanhduytran0
2aa1aada10 tweaks 2022-08-16 14:32:10 +07:00
Duy Tran Khanh
d494181e88
Update buildjdk.sh 2022-08-16 12:36:09 +07: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
Boulay Mathias
ebf9aff0c1
Jre17 but *smol* (#8)
- a lot of commits idk xdxd

Co-authored-by: ArtDev <45949002+artdeell@users.noreply.github.com>
2022-05-13 13:58:35 +03:00
ArtDev
26218412d4
Fix aarch32 JRE17 builds 2022-05-12 22:19:00 +03:00
ArtDev
f34766eda2
Update removejdkdebuginfo.sh 2022-05-12 15:27:20 +03:00
ArtDev
4107d9bdb7
Update buildjdk.sh 2022-05-12 15:26:00 +03:00
ArtDev
a8ae020079
Build with thumb 2022-05-11 21:09:07 +03:00
ArtDev
32edf698de
Revert 2022-05-11 21:08:30 +03:00
ArtDev
8f8886604f
Build with -mthumb on aarch32 2022-05-11 21:07:49 +03:00
ArtDev
7f26a38047
Update removejdkdebuginfo.sh 2022-05-06 23:07:29 +03:00