-
-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/HDFGroup/hdf5 into nvidi…
…a_compiler_config Adjust nvhpc compiler flags.
- Loading branch information
Showing
115 changed files
with
8,177 additions
and
5,398 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
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
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
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
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
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 |
---|---|---|
|
@@ -9,27 +9,41 @@ | |
# If you do not have access to either file, you may request a copy from | ||
# [email protected]. | ||
# | ||
option (PLUGIN_USE_EXTERNAL "Use External Library Building for filter PLUGIN" 0) | ||
|
||
set (PLUGIN_USE_EXTERNAL "Use External Library Building for PLUGIN" 1) | ||
if (NOT PLUGIN_USE_LOCALCONTENT) | ||
set (PLUGIN_URL ${PLUGIN_TGZ_ORIGPATH}/${PLUGIN_TGZ_NAME}) | ||
else () | ||
if (NOT H5PL_TGZPATH) | ||
set (H5PL_TGZPATH ${TGZPATH}) | ||
endif () | ||
set (PLUGIN_URL ${H5PL_TGZPATH}/${PLUGIN_TGZ_NAME}) | ||
endif () | ||
message (STATUS "Filter PLUGIN file is ${PLUGIN_URL}") | ||
|
||
include (ExternalProject) | ||
#option (HDF5_ALLOW_EXTERNAL_SUPPORT "Allow External Library Building (NO GIT TGZ)" "NO") | ||
set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building (NO GIT TGZ)") | ||
set_property (CACHE HDF5_ALLOW_EXTERNAL_SUPPORT PROPERTY STRINGS NO GIT TGZ) | ||
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ") | ||
option (PLUGIN_USE_EXTERNAL "Use External Library Building for filter PLUGIN" 1) | ||
set (PLUGIN_USE_EXTERNAL "Use External Library Building for PLUGIN" 1) | ||
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT") | ||
set (PLUGIN_URL ${PLUGIN_GIT_URL} CACHE STRING "Path to PLUGIN git repository") | ||
set (PLUGIN_BRANCH ${PLUGIN_GIT_BRANCH}) | ||
elseif (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ") | ||
if (NOT TGZPATH) | ||
set (TGZPATH ${HDF5_SOURCE_DIR}) | ||
if (NOT H5PL_TGZPATH) | ||
set (H5PL_TGZPATH ${TGZPATH}) | ||
endif () | ||
set (PLUGIN_URL ${TGZPATH}/${PLUGIN_TGZ_NAME}) | ||
if (NOT EXISTS "${PLUGIN_URL}") | ||
set (HDF5_ENABLE_PLUGIN_SUPPORT OFF CACHE BOOL "" FORCE) | ||
message (STATUS "Filter PLUGIN file ${PLUGIN_URL} not found") | ||
if (PLUGIN_USE_LOCALCONTENT) | ||
if (NOT EXISTS "${PLUGIN_URL}") | ||
set (HDF5_ENABLE_PLUGIN_SUPPORT OFF CACHE BOOL "" FORCE) | ||
message (VERBOSE "Filter PLUGIN file ${PLUGIN_URL} not found") | ||
endif () | ||
endif () | ||
else () | ||
set (PLUGIN_USE_EXTERNAL 0) | ||
message (VERBOSE "Filter PLUGIN not built") | ||
endif () | ||
endif () | ||
|
||
|
Oops, something went wrong.