BUILD_TESTING equal to OFF is broken
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Builds are broken for computers that can't see midas3.kitware.com. This occurs with BUILD_TESTING set to OFF. What seems to be happening is that ParaView build is trying to download testing data, even with BUILD_TESTING set to OFF.
Utkarsh has the whole thread. (e-mail from wascott to utkarsh, 5/29/2015, at 4:19.
Here is the essence of the e-mail, also cut down from a parallel build:
Linux, master, server build.
Here’s from the CMakeCache.txt:
//Build the testing tree. BUILD_TESTING:BOOL=OFF
[ 6%] Built target vtkCommonCore -- Fetching "http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=31c7bb73f4b6c19c53f98c6d8fa4b686&algorithm=MD5"
CMake Error at .../ParaView4/VTK/CMake/ExternalData.cmake:1005 (message): Object MD5=d0b26af904ed06778c0c8643268ce15e not found at:
http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=d0b26af904ed06778c0c8643268ce15e&algorithm=MD5 ("couldn't connect to server")
http://www.paraview.org/files/ExternalData/MD5/d0b26af904ed06778c0c8643268ce15e ("couldn't connect to server")
http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=d0b26af904ed06778c0c8643268ce15e&algorithm=MD5 ("couldn't connect to server")
http://www.vtk.org/files/ExternalData/MD5/d0b26af904ed06778c0c8643268ce15e ("couldn't connect to server")
Call Stack (most recent call first): ../VTK/CMake/ExternalData.cmake:1027 (_ExternalData_download_object)