Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ports/paraview/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: paraview
Version: 5.8.0-1
Version: 5.8.0-2
Homepage: https://www.paraview.org/
Description: VTK-based Data Analysis and Visualization Application
Build-Depends: vtk[core,paraview], protobuf, cgns, boost-core, boost-format, boost-algorithm
Expand All @@ -20,6 +20,9 @@ Feature: mpi
Description: enables cuda within paraview
Build-Depends: hdf5[core,parallel], vtk[core, mpi]

Feature: tools
Description: Build paraview tools

Feature: all_modules
Description: enables the build of all paraview modules
Build-Depends: gdal, pdal, ffmpeg, laszip
15 changes: 15 additions & 0 deletions ports/paraview/add-tools-option.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b33b25..10cadda 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -730,7 +730,10 @@ if (PARAVIEW_ENABLE_WEB)
@ONLY)
endif ()

+option(PARAVIEW_BUILD_TOOLS "Build paraview tools" OFF)
+if (PARAVIEW_BUILD_TOOLS)
add_subdirectory(Clients)
+endif()

if (PARAVIEW_USE_PYTHON)
add_subdirectory(Wrapping/Python)
5 changes: 5 additions & 0 deletions ports/paraview/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
"mpi" PARAVIEW_USE_MPI #untested
"vtkm" PARAVIEW_USE_VTKM
"python" PARAVIEW_USE_PYTHON
"tools" PARAVIEW_BUILD_TOOLS
)

Comment thread
JackBoosY marked this conversation as resolved.
vcpkg_from_github(
Expand All @@ -22,6 +23,7 @@ vcpkg_from_github(
qt_static_plugins.patch # Remove with Qt version > 5.14
python_include.patch
python_wrapper.patch
add-tools-option.patch
)

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
Expand Down Expand Up @@ -66,6 +68,9 @@ if("python" IN_LIST FEATURES)
#VTK_PYTHON_SITE_PACKAGES_SUFFIX should be set to the install dir of the site-packages
endif()

string(APPEND VCPKG_C_FLAGS " -DH5_USE_110_API")
Comment thread
BillyONeal marked this conversation as resolved.
string(APPEND VCPKG_CXX_FLAGS " -DH5_USE_110_API")

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA # Disable this option if project cannot be built with Ninja
Expand Down
2 changes: 0 additions & 2 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1377,8 +1377,6 @@ pangomm:x64-osx=fail
pangomm:x64-windows=ignore
pangomm:x86-windows=ignore
pangomm:arm64-windows=fail
# Missing symbols will, probably fix itself with Qt >= 5.15
paraview:x64-osx=fail
parmetis:x64-linux=fail
parmetis:x64-osx=fail
pcre2:arm-uwp=fail
Expand Down