Skip to content

Commit 8a30261

Browse files
author
logan-nc
committed
Merge branch 'hotfix-1.5.3'
2 parents 32d919d + f67a88b commit 8a30261

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
# The short X.Y version.
6363
version = '1.5'
6464
# The full version, including alpha/beta/rc tags.
65-
release = '1.5.2'
65+
release = '1.5.3'
6666

6767
# The language for content autogenerated by Sphinx. Refer to documentation
6868
# for a list of supported languages.

docs/releases.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ Note, backwards compatibility is defined as the ability to return to a previous
1010

1111
The `github release notes <https://github.com/PrincetonUniversity/GPEC/releases>`_ are reproduced below.
1212

13+
GPEC v1.5.3
14+
===========
15+
16+
Fixes
17+
------
18+
- INSTALL - Respects user's env when choosing NETCDFINC
19+
20+
1321
GPEC v1.5.2
1422
===========
1523

install/DEFAULTS.inc

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,12 @@ ifdef NETCDF_FORTRAN_HOME
252252
else
253253
NETCDFDIR = $(NETCDF_FORTRAN_HOME)
254254
endif
255-
ifneq ($(wildcard $(NETCDF_FORTRAN_HOME)/include/.),)
256-
NETCDFINC = $(NETCDF_FORTRAN_HOME)/include
257-
else
258-
NETCDFINC = $(NETCDF_FORTRAN_HOME)
255+
ifndef NETCDFINC
256+
ifneq ($(wildcard $(NETCDF_FORTRAN_HOME)/include/.),)
257+
NETCDFINC = $(NETCDF_FORTRAN_HOME)/include
258+
else
259+
NETCDFINC = $(NETCDF_FORTRAN_HOME)
260+
endif
259261
endif
260262
else
261263
ifndef NETCDFHOME
@@ -270,10 +272,12 @@ else
270272
else
271273
NETCDFDIR = $(NETCDFHOME)
272274
endif
273-
ifneq ($(wildcard $(NETCDFHOME)/include/.),)
274-
NETCDFINC = $(NETCDFHOME)/include
275-
else
276-
NETCDFINC = $(NETCDFHOME)
275+
ifndef NETCDFINC
276+
ifneq ($(wildcard $(NETCDFHOME)/include/.),)
277+
NETCDFINC = $(NETCDFHOME)/include
278+
else
279+
NETCDFINC = $(NETCDFHOME)
280+
endif
277281
endif
278282
endif
279283
# check if the netcdf and netcdf libraries are split up or not

0 commit comments

Comments
 (0)