diff --git a/.github/workflows/aarch64.yml b/.github/workflows/aarch64.yml index 47b939d..ce06b98 100644 --- a/.github/workflows/aarch64.yml +++ b/.github/workflows/aarch64.yml @@ -25,8 +25,8 @@ jobs: apt-get install -q -y git cmake libjpeg-dev zlib1g zlib1g-dev run: | echo ::set-output name=uname::$(uname -a) - git clone https://github.com/hyoklee/hdf4 - cd hdf4 + git clone https://github.com/hyoklee/h4 + cd h4 mkdir build cd build cmake -DHDF4_BUILD_FORTRAN:BOOL=OFF .. diff --git a/.github/workflows/aarch64_auto.yml b/.github/workflows/aarch64_auto.yml index add8be6..a34eb82 100644 --- a/.github/workflows/aarch64_auto.yml +++ b/.github/workflows/aarch64_auto.yml @@ -26,8 +26,8 @@ jobs: apt-get install -q -y libtirpc-common libtirpc-dev libtirpc3 run: | echo ::set-output name=uname::$(uname -a) - git clone https://github.com/hyoklee/hdf4 - cd hdf4 + git clone https://github.com/hyoklee/h4 + cd h4 ./ci.sh - name: Get the output diff --git a/.github/workflows/linux-aarch64.yml b/.github/workflows/linux-aarch64.yml index 9aae60e..fa1dbb6 100644 --- a/.github/workflows/linux-aarch64.yml +++ b/.github/workflows/linux-aarch64.yml @@ -32,14 +32,14 @@ jobs: cd ../.. chmod u+x ./autogen.sh ./autogen.sh - ./configure CC=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar --disable-gssapi --host=aarch64-linux-musl --prefix=/usr + ./configure CC=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar --disable-gssapi --host=aarch64-linux-musl --prefix=/usr make sudo make install cd .. wget -q https://gamma.hdfgroup.org/ftp/pub/outgoing/h4map/src/h4map.tar.gz tar -xzf h4map.tar.gz cd h4map/jpeg-6b - ./configure CC=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar + ./configure CC=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar make sudo make install-lib cd ../.. @@ -47,7 +47,7 @@ jobs: ls git clone https://github.com/madler/zlib cd zlib - CC=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar ./configure + CC=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar ./configure make sudo make install cd .. @@ -55,6 +55,6 @@ jobs: ls mkdir build cd build - cmake -DCMAKE_C_COMPILER=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc -DCMAKE_AR=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar -DCMAKE_SYSTEM_PROCESSOR=aarch64-linux-musl -DBUILD_SHARED_LIBS:BOOL=OFF -DHDF4_BUILD_FORTRAN:BOOL=OFF .. + cmake -DCMAKE_C_COMPILER=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc -DCMAKE_AR=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar -DCMAKE_SYSTEM_PROCESSOR=aarch64-linux-musl -DBUILD_SHARED_LIBS:BOOL=OFF -DHDF4_BUILD_FORTRAN:BOOL=OFF .. make make test diff --git a/.github/workflows/linux-aarch64_auto.yml b/.github/workflows/linux-aarch64_auto.yml index d404e3c..366cfd3 100644 --- a/.github/workflows/linux-aarch64_auto.yml +++ b/.github/workflows/linux-aarch64_auto.yml @@ -32,14 +32,14 @@ jobs: cd ../.. chmod u+x ./autogen.sh ./autogen.sh - ./configure CC=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar --disable-gssapi --host=aarch64-linux-musl --prefix=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross + ./configure CC=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar --disable-gssapi --host=aarch64-linux-musl --prefix=/home/runner/work/h4/h4/aarch64-linux-musl-cross make sudo make install cd .. wget -q https://gamma.hdfgroup.org/ftp/pub/outgoing/h4map/src/h4map.tar.gz tar -xzf h4map.tar.gz cd h4map/jpeg-6b - ./configure CC=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar --prefix=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross + ./configure CC=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar --prefix=/home/runner/work/h4/h4/aarch64-linux-musl-cross make sudo make install-lib cd ../.. @@ -47,13 +47,13 @@ jobs: ls git clone https://github.com/madler/zlib cd zlib - CC=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar ./configure --prefix=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross + CC=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc AR=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar ./configure --prefix=/home/runner/work/h4/h4/aarch64-linux-musl-cross make sudo make install cd .. pwd ls autoreconf -fvi - ./configure CC=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc CXX=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-g++ AR=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar CFLAGS="-I/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/include/tirpc/" LDFLAGS="-L/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross/lib/ -ltirpc" --host=aarch64-linux-musl --disable-netcdf --disable-fortran --prefix=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross --with-jpeg=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross --with-zlib=/home/runner/work/hdf4/hdf4/aarch64-linux-musl-cross + ./configure CC=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc CXX=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-g++ AR=/home/runner/work/h4/h4/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ar CFLAGS="-I/home/runner/work/h4/h4/aarch64-linux-musl-cross/include/tirpc/" LDFLAGS="-L/home/runner/work/h4/h4/aarch64-linux-musl-cross/lib/ -ltirpc" --host=aarch64-linux-musl --disable-netcdf --disable-fortran --prefix=/home/runner/work/h4/h4/aarch64-linux-musl-cross --with-jpeg=/home/runner/work/h4/h4/aarch64-linux-musl-cross --with-zlib=/home/runner/work/h4/h4/aarch64-linux-musl-cross make make check diff --git a/.github/workflows/openbsd.yml b/.github/workflows/openbsd.yml index d5b9cf7..dbd166c 100644 --- a/.github/workflows/openbsd.yml +++ b/.github/workflows/openbsd.yml @@ -39,7 +39,7 @@ jobs: whoami env | sort sudo pkg_add git - git clone https://github.com/hyoklee/hdf4 + git clone https://github.com/hyoklee/h4 cd hdf4 sudo pkg_add cmake sudo pkg_add jpeg diff --git a/.github/workflows/openbsd_arm64.yml b/.github/workflows/openbsd_arm64.yml index d9824e2..e4d504d 100644 --- a/.github/workflows/openbsd_arm64.yml +++ b/.github/workflows/openbsd_arm64.yml @@ -39,7 +39,7 @@ jobs: whoami env | sort sudo pkg_add git - git clone https://github.com/hyoklee/hdf4 + git clone https://github.com/hyoklee/h4 cd hdf4 sudo pkg_add cmake sudo pkg_add jpeg