Skip to content

Commit

Permalink
fixed syntax1
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld committed Oct 16, 2024
1 parent 9e29ff7 commit c9f26dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ jobs:
##################################
git clone https://github.com/HDFGroup/hdf5.git
export HOME_DIR=$(echo ~)
echo "HDF5_DIR=$HOME_DIR/hdf5" >> $GITHUB_ENV
cd hdf5
./autogen.sh
./configure --enable-build-mode=debug --without-szlib --disable-fortran --disable-hl \
--disable-tests --disable-tools \
--prefix=$HOME_DIR/hdf5 \
--prefix=$HDF5_DIR/hdf5 \
--enable-parallel
make -j 8 install
mydir="$PWD"
echo "HDF5_DIR=$HOME_DIR/hdf5" >> $GITHUB_ENV
echo "CPPFLAGS=-I$HDF5_DIR/include" >> $GITHUB_ENV
echo "LDFLAGS=-L$HDF5_DIR/lib" >> $GITHUB_ENV
Expand All @@ -86,6 +86,7 @@ jobs:
./autogen.sh
mkdir build; cd build
echo "void main(void){}" > junk.c
echo "$CPPFLAGS"
ls $HDF5_DIR/bin/h5pcc
$HDF5_DIR/bin/h5pcc junk.c
CC=$HDF5_DIR/bin/h5pcc ../configure --prefix=$GITHUB_WORKSPACE/build
Expand Down

0 comments on commit c9f26dc

Please sign in to comment.