mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Remove testing include from ZFP worklet headers
Several of the ZFP worklet headers included `vtkm/cont/testing/ MakeTestDataSet.h`. This is a problem because if testing is turned off, then `MakeTestDataSet.h` attempts to include a file that is not generated, so the compile just fails if testing is off (and the testing library is not on). This include must be a remanent of some old testing code during development. It can be safely removed.
This commit is contained in:
parent
8d5e636ac4
commit
97f5ed640f
9
docs/changelog/no-testing.md
Normal file
9
docs/changelog/no-testing.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Fix compile when testing is turned off
|
||||
|
||||
There were some places in VTK-m's code that included test header files even
|
||||
though they were not tests. As more code goes into libraries, this can
|
||||
break the build.
|
||||
|
||||
Remove VTK-m library dependence on testing code where found. Also added a
|
||||
CI build that turns off all testing to check for this condition in the
|
||||
future.
|
@ -17,7 +17,6 @@
|
||||
#include <vtkm/cont/ArrayHandleCounting.h>
|
||||
#include <vtkm/cont/AtomicArray.h>
|
||||
#include <vtkm/cont/Timer.h>
|
||||
#include <vtkm/cont/testing/MakeTestDataSet.h>
|
||||
#include <vtkm/filter/zfp/worklet/zfp/ZFPDecode1.h>
|
||||
#include <vtkm/filter/zfp/worklet/zfp/ZFPTools.h>
|
||||
#include <vtkm/worklet/DispatcherMapField.h>
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include <vtkm/cont/ArrayHandleCounting.h>
|
||||
#include <vtkm/cont/AtomicArray.h>
|
||||
#include <vtkm/cont/Timer.h>
|
||||
#include <vtkm/cont/testing/MakeTestDataSet.h>
|
||||
#include <vtkm/filter/zfp/worklet/zfp/ZFPDecode2.h>
|
||||
#include <vtkm/filter/zfp/worklet/zfp/ZFPTools.h>
|
||||
#include <vtkm/worklet/DispatcherMapField.h>
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include <vtkm/cont/ArrayHandleCounting.h>
|
||||
#include <vtkm/cont/AtomicArray.h>
|
||||
#include <vtkm/cont/Timer.h>
|
||||
#include <vtkm/cont/testing/MakeTestDataSet.h>
|
||||
#include <vtkm/filter/zfp/worklet/zfp/ZFPDecode3.h>
|
||||
#include <vtkm/filter/zfp/worklet/zfp/ZFPTools.h>
|
||||
#include <vtkm/worklet/DispatcherMapField.h>
|
||||
|
Loading…
Reference in New Issue
Block a user