Overcomplicated rvcmds.sh #1282
Unanswered
michimussato
asked this question in
Build Issues
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all
The build process with
rvcmds.shis based on different aliases:The usage for
rvbootstrapsuggests that - in the event of a failure - one could just callrvmkto fix problems (reference).Now looking at
rvbootstrap, the alias sequentially runsrvsetup && rvmk. OK. And then,rvmkmeansrvcfg && rvbuild. OK.I don't know what the idea behind this setup is - maybe just for adding content to the documentation?
A graphical representation of the whole process looks like this:
--- config: flowchart: htmlLabels: false --- flowchart TB start(("Start")) clone("`git clone --recursive https://github.com/AcademySoftwareFoundation/OpenRV.git`") cd("`cd OpenRV`") export("`export RV_VFX_PLATFORM='CY2024'`") source("`source rvcmds.sh`") rvbootstrap("`rvbootstrap`") rvmk("`rvmk`") rvcfg("`rvcfg`") rvbuild("`rvbuild`") rvbuild("`rvbuild`") rvclean("`rvclean`") fail(("`fail`")) rverrsummary("`rverrsummary`") rverrors("`rverrors`") rvsetup ---> rvmk success(("Success")) start --> clone clone --> cd cd --> export export --> source source ----> rvbootstrap source --> rvsetup rvsetup --> rvcfg rvcfg --> rvbuild rvbootstrap ------> success rvmk ------> success rvbuild ------> success rvbootstrap -------> fail rvmk <-..-> fail rvbuild <-..-> fail fail -.-> rverrors fail -.-> rverrsummary fail --> rvclean rvclean --> rvbootstrap rvclean --> rvsetupFeeling dizzy?
Let's say, we got rid of
rvbootstrapandrvmk:--- config: flowchart: htmlLabels: false --- flowchart TB start(("Start")) clone("`git clone --recursive https://github.com/AcademySoftwareFoundation/OpenRV.git`") cd("`cd OpenRV`") export("`export RV_VFX_PLATFORM='CY2024'`") source("`source rvcmds.sh`") rvcfg("`rvcfg`") rvbuild("`rvbuild`") rvclean("`rvclean`") fail(("`fail`")) rverrsummary("`rverrsummary`") rverrors("`rverrors`") success(("Success")) start --> clone clone --> cd cd --> export export --> source %%source ----> rvbootstrap source --> rvsetup rvsetup --> rvcfg rvcfg --> rvbuild rvbuild ------> success rvbuild <-..-> fail fail -.-> rverrors fail -.-> rverrsummary fail --> rvclean rvclean --> rvsetupI'd suggest to untangle this.
The resulting command to build this could be something as easy as:
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions