t8code icon indicating copy to clipboard operation
t8code copied to clipboard

Reduce t8code compile time for developers

Open sandro-elsweijer opened this issue 9 months ago • 1 comments

t8code has become rather big and needs really long to compile. Especially the introduction of templates introduces some significant overhead and it would be nice to add some flags to cmake to make some modules optional. We can still make it default to build them, but we as devs could deactivate them.

These modules could be made optional:

  • Default scheme
  • maybe some vtk parts? (@Davknapp)
  • some more complex geometries

sandro-elsweijer avatar Apr 11 '25 08:04 sandro-elsweijer

See #1547 for making the vtk-module optional. Ascii-vtk will also always be build in that branch. Furthermore we are working on building netcdf and occ parts of t8code only when they are enabled in the cmake-options.

I like the idea of not always building all geometries!

Davknapp avatar Apr 11 '25 08:04 Davknapp

AMR meeting: Maybe CMake modules might be interesting / helpful?

spenke91 avatar Jun 30 '25 13:06 spenke91