-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netcdf was not using the OHPC CFLAGS. This changes netcdf to use them. Signed-off-by: Adrian Reber <[email protected]>
- Loading branch information
1 parent
35cb103
commit fa72cea
Showing
1 changed file
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,7 +101,7 @@ module load hdf5 | |
%endif | ||
export CPPFLAGS="-I$HDF5_INC" | ||
export LDFLAGS="-L$HDF5_LIB" | ||
export CFLAGS="-L$HDF5_LIB -I$HDF5_INC ${RPM_OPT_FLAGS}" | ||
export CFLAGS="-L$HDF5_LIB -I$HDF5_INC ${CFLAGS}" | ||
|
||
./configure --prefix=%{install_path} \ | ||
--enable-shared \ | ||
|
@@ -112,12 +112,7 @@ export CFLAGS="-L$HDF5_LIB -I$HDF5_INC ${RPM_OPT_FLAGS}" | |
--disable-doxygen \ | ||
--disable-static || { cat config.log && exit 1; } | ||
|
||
# [email protected] (5/17/18) - switching to serial make to avoid | ||
# problems. Others also reporting error with parallel build. | ||
# | ||
# https://github.com/Unidata/netcdf-c/issues/896 | ||
make | ||
#make %{?_smp_mflags} | ||
make %{?_smp_mflags} | ||
|
||
%install | ||
# OpenHPC compiler/mpi designation | ||
|