- 
                Notifications
    You must be signed in to change notification settings 
- Fork 65
Closed
Description
Without -DMESHES set, and the following cmake configure command cmake .. -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_INSTALL_PREFIX=../install -DSCOREC_CXX_WARNINGS=OFF the following error is hit during installation (make install).
CMake Error at test/cmake_install.cmake:1521 (file):
  file INSTALL cannot find
  "/Users/dobrev1/code/pumi/pumi-meshes/pipe/pipe.dmg": No such file or
  directory.
Call Stack (most recent call first):
  cmake_install.cmake:91 (include)
make: *** [install] Error 1
It looks like the smoke tests requires those files:
Lines 9 to 26 in 3d621c8
| set(MDIR ${MESHES}/pipe) | |
| smoke_test(uniform_serial 1 | |
| ./uniform | |
| "${MDIR}/pipe.dmg" | |
| "${MDIR}/pipe.smb" | |
| "pipe_unif.smb") | |
| smoke_test(split_2 2 | |
| ./split | |
| "${MDIR}/pipe.dmg" | |
| "${MDIR}/pipe.smb" | |
| "pipe_2_.smb" | |
| 2) | |
| include(GNUInstallDirs) | |
| # install the test input files for use in spack post-install tests | |
| install(FILES "${MDIR}/pipe.dmg" "${MDIR}/pipe0.smb" | |
| DESTINATION ${CMAKE_INSTALL_DATADIR}/testdata) | 
Those test inputs should be included with the repo to avoid this.
Thanks to @v-dobrev for reporting this.