mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-08-04 08:05:59 -04:00
Feat[JDK21]: implement mirror mapping
This mode can be optionally enabled using -XX:+MirrorMappedCodeCache. Implementation of this is required on iOS 26
This commit is contained in:
parent
0b28f59414
commit
a8ca6a4c1c
@ -92,7 +92,7 @@ git reset --hard
|
||||
if [[ "$BUILD_IOS" != "1" ]]; then
|
||||
find ../patches/jre_${TARGET_VERSION}/android -name "*.diff" -print0 | xargs -0 -I {} sh -c 'echo "Applying {}" && git apply --reject --whitespace=fix {} || (echo "git apply failed (Android patch set)" && exit 1)'
|
||||
else
|
||||
find ../patches/jre_${TARGET_VERSION}/ios -name "*.diff" -print0 | xargs -0 -I {} sh -c 'echo "Applying {}" && git apply --reject --whitespace=fix {} || (echo "git apply failed (iOs patch set)" && exit 1)'
|
||||
find ../patches/jre_${TARGET_VERSION}/ios -name "*.diff" -print0 | sort -z | xargs -0 -I {} sh -c 'echo "Applying {}" && git apply --reject --whitespace=fix {} || (echo "git apply failed (iOs patch set)" && exit 1)'
|
||||
|
||||
# Hack: exclude building macOS stuff
|
||||
desktop_mac=src/java.desktop/macosx
|
||||
|
@ -6,5 +6,5 @@ set -e
|
||||
export FREETYPE_DIR=`pwd`/freetype-${BUILD_FREETYPE_VERSION}/build_android-${TARGET_SHORT}
|
||||
export CUPS_DIR=`pwd`/cups-2.2.4
|
||||
|
||||
cd openjdk-${TARGET_VERSION}/build/${JVM_PLATFORM}-${TARGET_JDK}-${JVM_VARIANTS}-release
|
||||
cd openjdk-${TARGET_VERSION}/build/${JVM_PLATFORM}-${TARGET_JDK}-${JVM_VARIANTS}-${JDK_DEBUG_LEVEL}
|
||||
make JOBS=4 images
|
||||
|
1514
patches/jre_21/ios/2_mirror_mapping.diff
Normal file
1514
patches/jre_21/ios/2_mirror_mapping.diff
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user