diff --git a/.github/workflows/arm64-fbsd-f-j.yml b/.github/workflows/arm64-fbsd-f-j.yml new file mode 100644 index 00000000000..9447e5a84da --- /dev/null +++ b/.github/workflows/arm64-fbsd-f-j.yml @@ -0,0 +1,51 @@ +name: arm64 fbsd f j + +on: [push, pull_request] + +jobs: + test: + name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }} + runs-on: ${{ matrix.os.host }} + strategy: + fail-fast: false + matrix: + os: + - name: freebsd + architecture: arm64 + version: '14.0' + host: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + + - name: ${{ matrix.os.name }} + uses: cross-platform-actions/action@v0.23.0 + env: + FOO: A + BAR: B + with: + environment_variables: FOO BAR + operating_system: ${{ matrix.os.name }} + architecture: ${{ matrix.os.architecture }} + version: '${{ matrix.os.version }}' + shell: bash + run: | + sudo pkg install -y git + sudo pkg install -y cmake + sudo pkg install -y jpeg-turbo + sudo pkg install -y openjdk21 + sudo pkg install -y gcc13 + pkg info -l openjdk21 + export JAVA_HOME=/usr/local/openjdk21 + export FC=gfortran13 + sudo mount -t fdescfs fdesc /dev/fd + sudo mount -t procfs proc /proc + mkdir build + cd build + cmake \ + -DBUILDNAME:STRING=f.j \ + -DHDF5_BUILD_FORTRAN:BOOL=ON \ + -DHDF5_BUILD_JAVA:BOOL=ON \ + -DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ + -DSITE:STRING=fbsd.arm64 .. + ctest -D Experimental diff --git a/.github/workflows/fbsd-f-j.yml b/.github/workflows/fbsd-f-j.yml new file mode 100644 index 00000000000..d1cc6735437 --- /dev/null +++ b/.github/workflows/fbsd-f-j.yml @@ -0,0 +1,52 @@ +name: fbsd f j + +on: [push, pull_request] + +jobs: + test: # make sure the action works on a clean machine without building + name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }} + runs-on: ${{ matrix.os.host }} + strategy: + fail-fast: false + matrix: + os: + - name: freebsd + architecture: x86-64 + version: '14.0' + host: ubuntu-latest + steps: + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + + - name: ${{ matrix.os.name }} + uses: cross-platform-actions/action@v0.23.0 + env: + FOO: A + BAR: B + with: + environment_variables: FOO BAR + operating_system: ${{ matrix.os.name }} + architecture: ${{ matrix.os.architecture }} + version: '${{ matrix.os.version }}' + shell: bash + run: | + sudo pkg install -y git + sudo pkg install -y cmake + sudo pkg install -y jpeg-turbo + sudo pkg install -y openjdk21 + sudo pkg install -y gcc13 + pkg info -l openjdk21 + export JAVA_HOME=/usr/local/openjdk21 + export FC=gfortran13 + sudo mount -t fdescfs fdesc /dev/fd + sudo mount -t procfs proc /proc + mkdir build + cd build + cmake \ + -DBUILDNAME:STRING=lf.j \ + -D HDF5_BUILD_FORTRAN:BOOL=ON \ + -D HDF5_BUILD_JAVA:BOOL=ON \ + -D CTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ + -D SITE:STRING=fbsd .. + ctest -D Experimental diff --git a/.github/workflows/fbsd-lf-j.yml b/.github/workflows/fbsd-lf-j.yml new file mode 100644 index 00000000000..425e9412796 --- /dev/null +++ b/.github/workflows/fbsd-lf-j.yml @@ -0,0 +1,56 @@ +name: fbsd lf j + +on: [push, pull_request] + +jobs: + test: # make sure the action works on a clean machine without building + name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }} + runs-on: ${{ matrix.os.host }} + strategy: + fail-fast: false + matrix: + os: + - name: freebsd + architecture: x86-64 + version: '14.0' + host: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + + - name: ${{ matrix.os.name }} + uses: cross-platform-actions/action@v0.23.0 + env: + FOO: A + BAR: B + with: + environment_variables: FOO BAR + operating_system: ${{ matrix.os.name }} + architecture: ${{ matrix.os.architecture }} + version: '${{ matrix.os.version }}' + shell: bash + run: | + sudo pkg install -y git + sudo pkg install -y cmake + sudo pkg install -y jpeg-turbo + sudo pkg install -y openjdk21 + sudo pkg install -y lfortran + export FC=lfortran + export FFLAGS="--backend=llvm" + pkg info -l openjdk21 + export JAVA_HOME=/usr/local/openjdk21 + sudo mount -t fdescfs fdesc /dev/fd + sudo mount -t procfs proc /proc + git clone https://github.com/HDFGroup/hdf4 + cd hdf4 + mkdir build + cd build + cmake \ + -DBUILDNAME:STRING=lf.j \ + -DBUILD_SHARED_LIBS:BOOL=OFF \ + -DCMAKE_Fortran_FLAGS="--backend=llvm -fPIC" \ + -DHDF5_BUILD_FORTRAN:BOOL=ON \ + -DHDF5_BUILD_JAVA:BOOL=ON \ + -DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ + -DSITE:STRING=fbsd .. + ctest -D Experimental diff --git a/.github/workflows/fbsd.yml b/.github/workflows/fbsd.yml new file mode 100644 index 00000000000..72718267f07 --- /dev/null +++ b/.github/workflows/fbsd.yml @@ -0,0 +1,40 @@ +name: fbsd + +on: [push, pull_request] + +jobs: + test: # make sure the action works on a clean machine without building + name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }} + runs-on: ${{ matrix.os.host }} + strategy: + fail-fast: false + matrix: + os: + - name: freebsd + architecture: x86-64 + version: '14.0' + host: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + + - name: ${{ matrix.os.name }} + uses: cross-platform-actions/action@v0.23.0 + env: + FOO: A + BAR: B + with: + environment_variables: FOO BAR + operating_system: ${{ matrix.os.name }} + architecture: ${{ matrix.os.architecture }} + version: '${{ matrix.os.version }}' + shell: bash + run: | + sudo pkg install -y git + sudo pkg install -y cmake + mkdir build + cd build + cmake \ + -D CTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ + -D SITE:STRING=fbsd .. + ctest -D Experimental diff --git a/WATCHME.md b/WATCHME.md index 9d67c03d36a..1f67782396f 100644 --- a/WATCHME.md +++ b/WATCHME.md @@ -4,7 +4,7 @@ | Test | Status | | -----| ------ | -| arm64 | [![arm64](https://github.com/hyoklee/hdf5/actions/workflows/arm64.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64.yml) [![arm64 auto](https://github.com/hyoklee/hdf5/actions/workflows/arm64-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64-auto.yml) [![arm64 lin](https://github.com/hyoklee/hdf5/actions/workflows/arm64-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64-lin.yml)| +| arm64 | [![arm64](https://github.com/hyoklee/hdf5/actions/workflows/arm64.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64.yml) [![arm64 auto](https://github.com/hyoklee/hdf5/actions/workflows/arm64-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64-auto.yml) [![arm64 lin](https://github.com/hyoklee/hdf5/actions/workflows/arm64-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64-lin.yml) [![arm64 fbsd f j](https://github.com/hyoklee/hdf5/actions/workflows/arm64-fbsd-f-j.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64-fbsd-f-j.yml)| | armv7 | [![armv7 lin](https://github.com/hyoklee/hdf5/actions/workflows/armv7-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/armv7-lin.yml) | | riscv64 | [![riscv64 lin](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin.yml) | | powerpc64 | [![ppc64le lin](https://github.com/hyoklee/hdf5/actions/workflows/ppc64le-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/ppc64le-lin.yml) | @@ -16,6 +16,7 @@ | Test | Status | | --------| ------ | | OpenBSD | [![r](https://github.com/hyoklee/hdf5/actions/workflows/r.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/r.yml) [![d](https://github.com/hyoklee/hdf5/actions/workflows/d.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/d.yml) [![auto](https://github.com/hyoklee/hdf5/actions/workflows/auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/auto.yml) [![arm64](https://github.com/hyoklee/hdf5/actions/workflows/arm64.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64.yml) [![arm64 auto](https://github.com/hyoklee/hdf5/actions/workflows/arm64-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64-auto.yml) | +| FreeBSD | [![fbsd](https://github.com/hyoklee/hdf5/actions/workflows/fbsd.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/fbsd.yml) [![fbsd f j](https://github.com/hyoklee/hdf5/actions/workflows/fbsd-f-j.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/fbsd-f-j.yml) [![fbsd lf j](https://github.com/hyoklee/hdf5/actions/workflows/fbsd-lf-j.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/fbsd-lf-j.yml) [![arm64 fbsd f j](https://github.com/hyoklee/hdf5/actions/workflows/arm64-fbsd-f-j.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64-fbsd-f-j.yml) | | macOS | [![mac14 ninja h j ompi](https://github.com/hyoklee/hdf5/actions/workflows/mac14-ninja-h-j-ompi-cd.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac14-ninja-h-j-ompi-cd.yml) | | MSYS2 | [![msys2](https://github.com/hyoklee/hdf5/actions/workflows/msys2.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/msys2.yml) | | Cygwin | [![auto](https://github.com/hyoklee/hdf5/actions/workflows/cyg-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/cyg-auto.yml) [![cmake](https://github.com/hyoklee/hdf5/actions/workflows/cyg.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/cyg.yml) | @@ -41,6 +42,7 @@ | gcc_min | [![lin gcc_min](https://github.com/hyoklee/hdf5/actions/workflows/lin-gcc_min.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-gcc_min.yml) | | icx | [![linux CMake icx](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx.yml) [![lin auto icx](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-icx.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-icx.yml) [![linux autotools icx debug](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-auto-debug.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-auto-debug.yml) [![linux CMake icx sf](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-sf.yml) [![linux autotools icx sf debug](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-auto-sf-debug.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-auto-sf-debug.yml) [![win ninja icx](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx.yml) [![windows ninja icx p](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-p.yml) | | ifx | [![windows ninja icx ifx](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f.yml) [![win ninja icx ifx sh](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-sh.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-sh.yml) [![windows ninja icx ifx p](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p.yml) [![win ninja icx ifx p sf](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p-sf.yml) | +| lfortran | [![fbsd lf j](https://github.com/hyoklee/hdf5/actions/workflows/fbsd-lf-j.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/fbsd-lf-j.yml) | | ndk | [![lin ndk](https://github.com/hyoklee/hdf5/actions/workflows/lin-ndk.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-ndk.yml) [![lin auto ndk](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-ndk.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-ndk.yml) | | nvhpc | [![lin nvhpc](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc.yml) [![lin nvhpc f p](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc-f-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc-f-p.yml) [![lin ninja nvhpc f p](https://github.com/hyoklee/hdf5/actions/workflows/lin-ninja-nvhpc-f-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-ninja-nvhpc-f-p.yml) [![lin auto nvhpc f sh p](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-nvhpc-f-sh-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-nvhpc-f-sh-p.yml) [![lin nvhpc f p sf](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc-f-p-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc-f-p-sf.yml) [![lin auto nvhpc f sh p sf](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-nvhpc-f-sh-p-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-nvhpc-f-sh-p-sf.yml) |