-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid relinking python modules on every rebuild (#1334)
Avoid rerunning `conduit_python_py_setup`'s `pip install` command on every invocation of `make` or `ninja` by recording its last execution time with an output time stamp file. Whenever it does rerun, such as when an input file changes, relink dependent python modules since the `pip install` command wipes out its `--target` directory. This can be achieved by making `conduit_python_py_setup` an INTERFACE library that propagates the time stamp file as a link dependency of dependent python modules through `INTERFACE_LINK_DEPENDS`.
- Loading branch information
Showing
4 changed files
with
43 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters