Is there a way to merge two rez environments? #1966
Unanswered
neo-mashiro
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello! I have a resolved rez environment with 3 packages. This is the runtime environment where I launch my application.
Meanwhile, I also have a build script for
pkg_c
which is a C++ package with Python bindings. Running thebuild-env
script gives me the right environment to directly invoke the build system. This is the build environment where I develop, build and debugpkg_c
.rez-build -s # generate the build-env script
My question is, is there a way to merge the runtime environment and build environment into one single rez context? What I'm looking for is a single environment where I can both build
pkg_c
and launch my application.I'm asking this because it's not always convenient to have 2 separate environments. For example,
I noticed that
rez-env
has a-b
option to create a build environment, but I'm not sure what it does. Does it create a build environment where I can build every single package in the requested list? What if there are 100 packages requested? Can I also launch my application from this environment? (as if it's a runtime environment?)Beta Was this translation helpful? Give feedback.
All reactions