Skip to content

SPI-2350: Adding VTK Recipe, Adding VTK-9.2.6 to nightlies

Dmitri Konstantinov requested to merge SPI-2350-VTK into master

The MR introduces a new recipe for VTK and also incorporates VTK-9.2.6 into our nightly builds (dev3 and dev4).

VTK has several dependencies. Fortunately, we have a large number of them already available in our LCG stack, including libxml2, glib, expat, Qt5, utf8cpp, fmt, zlib, png, eigen, tiff, jpeg, double_conversion, lz4, hdf5, netcdfc, proj, gl2ps, jsonmcpp, and jsoncpp.

However, there are a few dependencies that VTK can build internally, such as exprtk, libharu, pegtl, pugixml, ogg, theora, cgns, ioss, verdict, and glew. At this point, I am uncertain about the necessity and benefits of adding these packages explicitly to the LCG stack. VTK appears to mangle symbols and name library files differently. So it should be safe to build them internally.

One can select between Qt versions - Qt5 and Qt6, by setting the Qt variable accordingly, as shown below:

LCG_external_package(VTK 9.2.6 Qt=5 ) # for Qt5

or

LCG_external_package(VTK 9.2.6 Qt=6 ) # for Qt6

P.S. Also the MR adds utf8cpp needed by VTK

Mentions SPI-2350

Edited by Dmitri Konstantinov

Merge request reports