mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-29 04:09:39 +03:00
Install and build JAVA on windows-11-arm. (#6116)
Setup: Add JDK 21 setup using actions/setup-java@v5 in arm-main.yml for Windows 11 ARM. CMake Configuration: Enable Java build with -DHDF5_BUILD_JAVA=ON in arm-main.yml for Windows 11 ARM. Fixed #5677
This commit is contained in:
@@ -52,6 +52,12 @@ jobs:
|
||||
which cmake
|
||||
cmake --version
|
||||
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Set environment for MSVC (Windows)
|
||||
run: |
|
||||
# Set these environment variables so CMake picks the correct compiler
|
||||
@@ -73,6 +79,7 @@ jobs:
|
||||
-DCMAKE_BUILD_TYPE=${{ inputs.build_mode }} \
|
||||
-DHDF5_ENABLE_DOXY_WARNINGS:BOOL=ON \
|
||||
-DHDF5_BUILD_FORTRAN:BOOL=OFF \
|
||||
-DHDF5_BUILD_JAVA=ON \
|
||||
-DHDF5_BUILD_DOC:BOOL=ON \
|
||||
-DHDF5_ENABLE_ZLIB_SUPPORT:BOOL=OFF \
|
||||
-DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF \
|
||||
|
||||
Reference in New Issue
Block a user