Skip to content
GitLab
Menu
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
623288b9
Commit
623288b9
authored
Jul 06, 2017
by
Ben Boeckel
Browse files
paraview: drop the rendering backend option
ParaView now only supports the newer, OpenGL2 backend.
parent
dd70a163
Changes
4
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
623288b9
...
...
@@ -137,11 +137,6 @@ function (superbuild_sanity_check)
message
(
SEND_ERROR
"Cannot enable EGL and Mesa at the same time."
)
endif
()
# Sanity check: Must use OpenGL2 backed with EGL
if
(
egl_enabled AND NOT PARAVIEW_RENDERING_BACKEND STREQUAL
"OpenGL2"
)
message
(
SEND_ERROR
"Cannot enable EGL with the old VTK rendering backend at the same time."
)
endif
()
# Sanity check: Cannot have EGL and OSMesa at the same time.
if
(
egl_enabled AND osmesa_enabled
)
message
(
SEND_ERROR
"Cannot enable EGL and OSMesa at the same time."
)
...
...
README.md
View file @
623288b9
...
...
@@ -104,9 +104,8 @@ The `paraviewgettingstartedguide`, `paraviewtutorial`, `paraviewtutorialdata`,
and
`paraviewusersguide`
packages add documentation to the package.
ParaView supports multiple rendering engines including
`egl`
,
`mesa`
,
`osmesa`
, and
`qt4`
. All of these are incompatible with each other. In
addition, the
`egl`
renderer requires the
`OpenGL2`
rendering backend. If none
of these are chosen, a UI-less ParaView will be built (basically just
`osmesa`
, and
`qt4`
. All of these are incompatible with each other. If none of
these are chosen, a UI-less ParaView will be built (basically just
`pvpython`
).
`qt5`
is also available, but is not known to be ready. On Windows
and macOS, only the
`qt`
packages are available.
...
...
@@ -252,8 +251,6 @@ The following flags affect ParaView directly:
*
`CMAKE_BUILD_TYPE_paraview`
(default is the same as the superbuild):
ParaView may be built with a different build type (e.g.,
`Release`
vs.
`RelWithDebInfo`
) as the rest of the superbuild using this variable.
*
`PARAVIEW_RENDERING_BACKEND`
(default
`OpenGL2`
): The rendering backend to
use with ParaView.
*
`PARAVIEW_BUILD_WEB_DOCUMENTATION`
(default
`OFF`
): Have ParaView build
its HTML documentation.
*
`mesa_USE_SWR`
(default
`ON`
): If
`mesa`
is enabled, this enables
...
...
projects/paraview.cmake
View file @
623288b9
...
...
@@ -31,12 +31,6 @@ if (qt4_enabled OR qt5_enabled)
set
(
paraview_use_qt ON
)
endif
()
set
(
PARAVIEW_RENDERING_BACKEND
"OpenGL2"
CACHE STRING
"Rendering backend to use for ParaView"
)
set_property
(
CACHE PARAVIEW_RENDERING_BACKEND
PROPERTY
STRINGS
"OpenGL;OpenGL2"
)
option
(
PARAVIEW_BUILD_WEB_DOCUMENTATION
"Build documentation for the web"
OFF
)
set
(
paraview_all_plugins
...
...
@@ -151,7 +145,6 @@ superbuild_add_project(paraview
-DVTK_USE_SYSTEM_PNG:BOOL=
${
png_enabled
}
-DVTK_USE_SYSTEM_ZLIB:BOOL=
${
zlib_enabled
}
-DModule_vtkIOADIOS:BOOL=
${
adios_enabled
}
-DVTK_RENDERING_BACKEND:STRING=
${
PARAVIEW_RENDERING_BACKEND
}
-DVTK_SMP_IMPLEMENTATION_TYPE:STRING=
${
paraview_smp_backend
}
-DVTK_LEGACY_SILENT:BOOL=ON
-DVTK_OPENGL_HAS_OSMESA:BOOL=
${
osmesa_enabled
}
...
...
projects/paraview.suffix.cmake
View file @
623288b9
...
...
@@ -9,10 +9,6 @@ if (qt5_enabled)
list
(
APPEND package_suffix_items
Qt5
)
endif
()
if
(
paraview_enabled AND PARAVIEW_RENDERING_BACKEND STREQUAL
"OpenGL2"
)
list
(
APPEND package_suffix_items
OpenGL2
)
endif
()
if
(
mpi_enabled
)
list
(
APPEND package_suffix_items
MPI
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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