Skip to content

Commit 72a45b7

Browse files
author
Jeff Whitaker
committed
use sudo for make install
1 parent 324dacc commit 72a45b7

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/build_latest.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
pushd pnetcdf-${PNETCDF_VERSION}
3636
./configure --prefix $NETCDF_DIR --enable-shared --disable-fortran --disable-cxx
3737
make -j 2
38-
make install
38+
sudo make install
3939
popd
4040
echo "Download and build netCDF version ${NETCDF_VERSION}"
4141
wget https://downloads.unidata.ucar.edu/netcdf-c/${NETCDF_VERSION}/netcdf-c-${NETCDF_VERSION}.tar.gz
@@ -46,7 +46,7 @@ jobs:
4646
export LIBS="-lhdf5_mpich_hl -lhdf5_mpich -lm -lz"
4747
./configure --prefix $NETCDF_DIR --enable-netcdf-4 --enable-shared --enable-dap --enable-parallel4 $NETCDF_EXTRA_CONFIG
4848
make -j 2
49-
make install
49+
sudo make install
5050
popd
5151
5252
# - name: The job has failed

‎.github/workflows/build_master.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
autoreconf -i
3636
./configure --prefix $NETCDF_DIR --enable-netcdf-4 --enable-shared --enable-dap --enable-parallel4
3737
make -j 2
38-
make install
38+
sudo make install
3939
popd
4040
4141
# - name: The job has failed

‎.github/workflows/build_old.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
pushd pnetcdf-${PNETCDF_VERSION}
3636
./configure --prefix $NETCDF_DIR --enable-shared --disable-fortran --disable-cxx
3737
make -j 2
38-
make install
38+
sudo make install
3939
popd
4040
echo "Download and build netCDF version ${NETCDF_VERSION}"
4141
wget https://downloads.unidata.ucar.edu/netcdf-c/${NETCDF_VERSION}/netcdf-c-${NETCDF_VERSION}.tar.gz
@@ -46,7 +46,7 @@ jobs:
4646
export LIBS="-lhdf5_mpich_hl -lhdf5_mpich -lm -lz"
4747
./configure --prefix $NETCDF_DIR --enable-netcdf-4 --enable-shared --enable-dap --enable-parallel4 $NETCDF_EXTRA_CONFIG
4848
make -j 2
49-
make install
49+
sudo make install
5050
popd
5151
5252
# - name: The job has failed

0 commit comments

Comments
 (0)