Commit 5528808c authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

add openpmd

parent 368bb82d
......@@ -56,6 +56,7 @@ function (superbuild_find_projects var)
nlohmannjson
numpy
openimagedenoise
openpmd
openvkl
ospray
ospraymodulempi
......@@ -67,6 +68,7 @@ function (superbuild_find_projects var)
paraviewwebvisualizer
png
protobuf
pybind11
pythonattrs
pythonautobahn
pythonconstantly
......@@ -114,7 +116,6 @@ function (superbuild_find_projects var)
libxml2
mili
pkgconf
pybind11
rapidjson
scipy
sqlite)
......
superbuild_add_project(openpmd
DEPENDS python3 nlohmannjson pybind11
DEPENDS_OPTIONAL hdf5 adios2
CMAKE_ARGS
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
-DCMAKE_INSTALL_LIBDIR:STRING=lib
#openPMD MPI needs HDF5 to be built with MPI.
-DopenPMD_USE_MPI:BOOL=OFF
-DopenPMD_USE_HDF5:BOOL=${hdf5_enabled}
-DopenPMD_USE_ADIOS2:BOOL=${adios2_enabled}
-DopenPMD_USE_ADIOS1:BOOL=OFF
-DopenPMD_USE_PYTHON:BOOL=ON
-DopenPMD_USE_INTERNAL_PYBIND11:BOOL=OFF
-DopenPMD_USE_INTERNAL_VARIANT:BOOL=ON
-DopenPMD_USE_INTERNAL_CATCH:BOOL=ON
-DopenPMD_USE_INTERNAL_JSON:BOOL=OFF
-DBUILD_TESTING:BOOL=OFF
-DBUILD_EXAMPLES:BOOL=OFF
-DBUILD_CLI_TOOLS:BOOL=OFF)
......@@ -247,3 +247,7 @@ superbuild_set_revision(gdal
superbuild_set_revision(launchers
SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/launchers")
superbuild_set_revision(openpmd
URL "https://www.paraview.org/files/dependencies/openPMD-api-0.12.0-alpha.tar.gz"
URL_MD5 "ada986539b4d2cc004888f161f41de85")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment