How to reuse work dir for pixi-build projects that have a cached build directory? #5730
Unanswered
matthewfeickert
asked this question in
Q&A
Replies: 1 comment
-
|
@baszalmstra 👋 Moved this question here from the Discord. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
If you have a Python project with compiled dependencies that is using
scikit-build-coreas the build-system, and you are usingscikit-build-core'sbuild-dirto establish a local build cacheyou will get the expected build caching when using
pixi-build, but it also results in the Python package needing to get reinstalled from the cache as a conda package every time the environment is activated.Is it possible to define a particular build cache for
pixi-buildso that if my Python project'sbuild-systemis using a local build cachepixi-buildcan be aware of it and detect if there are changes that require rebuilding the conda package?It was mentioned in prefix-dev/pixi-build-backends#86 that
but I'm not sure how to do that.
Files
(This is from a colleague's private work, so can't just share the repository — sorry.)
pyproject.toml
pixi.toml
Commands
install.txt
install_rerun.txt
python_import.txt
Beta Was this translation helpful? Give feedback.
All reactions