Skip to content
Snippets Groups Projects
Commit c1a15203 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing installation of NetCDF for cygwin

parent d231c9f1
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,11 @@ else
tar -xf netcdf-4.4.1.1.tar.gz
cd netcdf-4.4.1.1
./configure CC=mpicc CPPFLAGS="-I$1/HDF5/include -I$1/ZLIB/include " LDFLAGS="-L$1/HDF5/lib -L$1/ZLIB/lib" --disable-dap --disable-shared --prefix=$1/NETCDF
if [ x"$platform" == x"cygwin" ]; then
./configure CC=mpicc CPPFLAGS="-I$1/HDF5/include -I$1/ZLIB/include " LDFLAGS="-L$1/HDF5/lib -L$1/ZLIB/lib" --disable-netcdf-4 --disable-dap --disable-shared --prefix=$1/NETCDF
else
./configure CC=mpicc CPPFLAGS="-I$1/HDF5/include -I$1/ZLIB/include " LDFLAGS="-L$1/HDF5/lib -L$1/ZLIB/lib" --disable-dap --disable-shared --prefix=$1/NETCDF
fi
make -j $2
if [ $? -eq 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment