I see that rez-build bez plugin will produce a build-env script and a build.rxt file for each variant. I'm wondering what the difference is in the environment created running build-env vs. rez-env -i build.rxt? At a cursory glance, the shells look that same. In fact, looking at the bez build plugin, the build-env script is really just loading the build.rxt under the hood. Is the build-env script more of a convenience or is there more going on under the hood? Thanks.-Brent
--
You received this message because you are subscribed to the Google Groups "rez-config" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rez-config+unsubscribe@googlegroups.com.
To post to this group, send email to rez-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/rez-config.
For more options, visit https://groups.google.com/d/optout.
[path to variant build dir]/build-env -- scons @install --foo --bar rez-build --variants ## -- @install --foo --barNote though that I don't think I have the build-env script support done for custom build commands yet..ps - Use of bez is discouraged, in favor of build_command, see:AHth* The relevant build-related env-vars (see https://github.com/nerdvegas/rez/wiki/Environment-Variables#resolved-build-environment-variables) are set. Rez-env won't set these, it has no concept of a current package/variant being built.* The rex "building" var is set to True - however you can get the same result using the rez-env -b flag;The build-env script exists only so that you can enter an interactive shell within the build env, so you can repeatedly run make/whatever without needing to re-resolve the environment. Basically this is the way you repeatedly perform builds as quickly as possible, given that build settings/requirements aren't changed.The differences between this and "rez-env -i build.rxt" are:
https://github.com/nerdvegas/rez/wiki/Package-Definition-Guide#preprocess
https://github.com/nerdvegas/rez/wiki/Building-Packages#custom-build-commands
On Sat, Jun 3, 2017 at 6:54 AM, Brent Villalobos <brent...@gmail.com> wrote:
I see that rez-build bez plugin will produce a build-env script and a build.rxt file for each variant. I'm wondering what the difference is in the environment created running build-env vs. rez-env -i build.rxt? At a cursory glance, the shells look that same. In fact, looking at the bez build plugin, the build-env script is really just loading the build.rxt under the hood. Is the build-env script more of a convenience or is there more going on under the hood? Thanks.-Brent
--
You received this message because you are subscribed to the Google Groups "rez-config" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rez-config+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rez-config+unsubscribe@googlegroups.com.