File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed
build-farm/platform-specific-configurations Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -338,9 +338,9 @@ elif [ -r /usr/bin/gcc-7 ]; then
338
338
[ -r /usr/bin/g++-7 ] && export CXX=/usr/bin/g++-7
339
339
fi
340
340
341
- if [ " $JAVA_FEATURE_VERSION " -ge 20 ]; then
341
+ if [ " $JAVA_FEATURE_VERSION " -ge 20 -a " ${ARCHITECTURE} " = " x64 " -o " ${ARCHITECTURE} " = " aarch64 " -a " ${VARIANT} " == " ${BUILD_VARIANT_TEMURIN} " ]; then
342
342
if [ -r /usr/local/lib/libcapstone.so.4 ]; then
343
- export CONFIGURE_ARGS_FOR_ANY_PLATFORM=" ${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --with-capstone=/usr/local"
343
+ export CONFIGURE_ARGS_FOR_ANY_PLATFORM=" ${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --enable-hsdis-bundling -- with-capstone=/usr/local"
344
344
fi
345
345
fi
346
346
Original file line number Diff line number Diff line change @@ -90,20 +90,6 @@ configureShenandoahBuildParameter() {
90
90
fi
91
91
}
92
92
93
- # capstone disassembler support is available in JDK19+
94
- configureCapstoneBuildParameter () {
95
- if [[ " ${BUILD_CONFIG[OPENJDK_FEATURE_NUMBER]} " -ge 19 && " ${BUILD_CONFIG[OS_KERNEL_NAME]} " = " linux" ]]; then
96
- # Ref: https://github.com/adoptium/jdk21/blob/c86f4dea9529640cd3234c5cad2f36f3201b1385/make/Hsdis.gmk#L45
97
- if [ " ${ARCHITECTURE} " = " x64" -o " ${ARCHITECTURE} " = " aarch64" ]; then
98
- echo Configuring with hsdis capstone bundling support
99
- addConfigureArg " --enable-hsdis-bundling" " "
100
- addConfigureArg " --with-hsdis=" " capstone"
101
- addConfigureArg " --with-capstone=" " /usr/local"
102
- else
103
- echo Not configuring with hsdis/capstone support as we are not building on x64 or aarch64
104
- fi
105
- fi
106
- }
107
93
# Configure reproducible build
108
94
# jdk-17 and jdk-19+ support reproducible builds
109
95
configureReproducibleBuildParameter () {
@@ -506,7 +492,6 @@ configureFreetypeLocation() {
506
492
configureCommandParameters () {
507
493
configureVersionStringParameter
508
494
configureBootJDKConfigureParameter
509
- configureCapstoneBuildParameter
510
495
configureShenandoahBuildParameter
511
496
configureMacOSCodesignParameter
512
497
configureDebugParameters
You can’t perform that action at this time.
0 commit comments