PyTrilinos: Teuchos package does not install properly
Created by: wfspotz
@trilinos/pytrilinos
Expectations
With PyTrilinos enabled, make install
should install the PyTrilinos python package without error.
Current Behavior
With PyTrilinos enabled, make install
fails with
CMake Error at <BUILD_DIR>/packages/PyTrilinos/src/cmake_install.cmake:122 (file):
file INSTALL cannot find
"<BUILD_DIR>/packages/PyTrilinos/src/PyTrilinos/Teuchos/___init__.so".
Motivation and Context
I understand the cause. I post-process some file names in the PyTrilinos package directory hierarchy in order to work around an issue with how SWIG interprets generated package filenames and how they relate to the resulting python namespace hierarchy. These post-processing steps have not been propagated to the install
phase of the Trilinos build system.
Definition of Done
This issue will be completed when enabling PyTrilinos and running make install
properly installs the PyTrilinos package without error and the tests run properly.
Possible Solution
The solution will be to alter the PyTrilinos install
targets to match the PyTrilinos build
targets after my post-processing steps.