Skip to content

Commit

Permalink
t5
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Aug 5, 2024
1 parent ade392a commit 1512bfe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .github/actions/test-netcdf-win/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ runs:
path: hdf5
key: hdf5-${{ runner.os }}-${{ steps.get-date.outputs.date }}

- name: Update path1
if: steps.petsc-cache.outputs.cache-hit != 'true'
shell: cmd
run: |
echo "PATH=$GITHUB_WORKSPACE/zlib:$PATH" >> $GITHUB_ENV
echo "PATH=$GITHUB_WORKSPACE/hdf5/lib:$PATH" >> $GITHUB_ENV
- name: Compile netcdf-c
if: steps.petsc-cache.outputs.cache-hit != 'true'
shell: cmd
Expand Down
6 changes: 3 additions & 3 deletions .github/common/compile_netcdfc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ cd "$GITHUB_WORKSPACE/netcdf-c"
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/../hdf5/lib
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/../zlib/lib
#echo $(LD_LIBRARY_PATH)
export PATH=$PATH:$(pwd)/../hdf5/lib
export PATH=$PATH:$(pwd)/../zlib
echo $(PATH)
#export PATH=$PATH:$(pwd)/../hdf5/lib
#export PATH=$PATH:$(pwd)/../zlib
#echo $(PATH)
ls -l $(pwd)/../zlib/
CPPFLAGS="-I$(pwd)/../hdf5/include -I$(pwd)/../zlib" LDFLAGS="-L$(pwd)/../hdf5/lib -L$(pwd)/../zlib" ./configure --prefix="$(pwd)/netcdf-c" --disable-byterange
make check
Expand Down

0 comments on commit 1512bfe

Please sign in to comment.