Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Utkarsh Ayachit
ParaView-Superbuild
Commits
b5570f2d
Commit
b5570f2d
authored
Mar 03, 2021
by
Ben Boeckel
⛰
Browse files
h5py: add project
parent
fd244249
Changes
6
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
b5570f2d
...
...
@@ -47,6 +47,7 @@ function (superbuild_find_projects var)
freetype
gdal
hdf5
h5py
ispc
las
lookingglass
...
...
@@ -80,6 +81,7 @@ function (superbuild_find_projects var)
pythonkiwisolver
pythonmako
pythonpandas
pythonpkgconfig
pythonpygments
pythonpyparsing
pythonsetuptools
...
...
projects/h5py.cmake
0 → 100644
View file @
b5570f2d
superbuild_add_project_python
(
h5py
PACKAGE semantic_version
DEPENDS hdf5 pythonsetuptools pythoncython numpy pythonpkgconfig
DEPENDS_OPTIONAL pythonmpi4py
PROCESS_ENVIRONMENT
HDF5_DIR <INSTALL_DIR>
)
superbuild_apply_patch
(
h5py minvers
"Don't pin dependencies to exact versions during the build"
)
projects/paraview.bundle.common.cmake
View file @
b5570f2d
...
...
@@ -80,6 +80,7 @@ macro (check_for_python_module project module)
endif
()
endmacro
()
check_for_python_module
(
h5py h5py
)
check_for_python_module
(
matplotlib matplotlib
)
check_for_python_module
(
matplotlib mpl_toolkits
)
check_for_python_module
(
numpy numpy
)
...
...
projects/patches/h5py-minvers.patch
0 → 100644
View file @
b5570f2d
diff -u -Nru5 h5py-3.2.0/setup.py h5py-3.2.0.minvers/setup.py
--- h5py-3.2.0/setup.py 2021-03-03 04:27:49.000000000 -0500
+++ h5py-3.2.0.minvers/setup.py 2021-03-03 13:14:34.222341278 -0500
@@ -47,18 +47,18 @@
'pkgconfig',
"Cython >=0.29; python_version<'3.8'",
"Cython >=0.29.14; python_version=='3.8'",
"Cython >=0.29.15; python_version>='3.9'",
] + [
- f"numpy =={np_min}; python_version{py_condition}"
+ f"numpy >={np_min}; python_version{py_condition}"
for np_min, py_condition in NUMPY_MIN_VERSIONS
]
if setup_configure.mpi_enabled():
RUN_REQUIRES.append('mpi4py >=3.0.0')
- SETUP_REQUIRES.append("mpi4py ==3.0.0; python_version<'3.8'")
- SETUP_REQUIRES.append("mpi4py ==3.0.3; python_version>='3.8'")
+ SETUP_REQUIRES.append("mpi4py >=3.0.0; python_version<'3.8'")
+ SETUP_REQUIRES.append("mpi4py >=3.0.3; python_version>='3.8'")
# Set the environment variable H5PY_SETUP_REQUIRES=0 if we need to skip
# setup_requires for any reason.
if os.environ.get('H5PY_SETUP_REQUIRES', '1') == '0':
SETUP_REQUIRES = []
projects/pythonpkgconfig.cmake
0 → 100644
View file @
b5570f2d
set
(
pythonpkgconfig_depends
)
if
(
UNIX
)
list
(
APPEND pythonpkgconfig_depends
pkgconf
)
endif
()
superbuild_add_project_python
(
pythonpkgconfig
PACKAGE pkgconfig
DEPENDS pythonsetuptools
${
pythonpkgconfig_depends
}
)
versions.cmake
View file @
b5570f2d
...
...
@@ -255,3 +255,11 @@ superbuild_set_revision(launchers
superbuild_set_revision
(
openpmd
URL
"https://www.paraview.org/files/dependencies/openPMD-api-0.12.0-alpha.tar.gz"
URL_MD5
"ada986539b4d2cc004888f161f41de85"
)
superbuild_set_revision
(
pythonpkgconfig
URL
"https://www.paraview.org/files/dependencies/pkgconfig-1.5.2.tar.gz"
URL_MD5
"0d889edf670b644bfeaa3bb9444169cb"
)
superbuild_set_revision
(
h5py
URL
"https://www.paraview.org/files/dependencies/h5py-3.2.0.tar.gz"
URL_MD5
"4b7ebc5d42bea9c264857a516c39ee3e"
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment