-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support custom run-stage targets #44
Comments
- for future support of different run targets - move generate_runtime_config from linux.tcl to common.tcl - implement bind_ procedures for individual services in linux.tcl - move a few procedures from util.tcl to common.tcl genodelabs#44
By providing the `goa run --target <target-name>` option, one can switch to a different run-stage target. Currently, the only implemented target is `linux`. genodelabs#44
I just pushed a commit series to my target_support branch. By restructuring the linux.tcl, I addressed aspects from #31, #34. The simplification of the file should clear the way for #32. @nfeske @ssumpf I'd appreciate any feedback on my changes. The main commit is 41591b6. Note that the new |
@jschlatow: I like the only using config variables as globals approach and the way |
@jschlatow I very much appreciate where you are taking Goa. I had not spent much thought on the linux.tcl part in the first place, and all subsequent changes where feature additions following my initial ad-hoc patterns. Now you replaced plenty of duct tape and a bunch of bolts by proper screws. Thank you! BTW, I have to steal this reference-syntax convention for |
@jschlatow: Tested with the examples. Works as advertised. If I have some spare time, I will test dhewm3 since it uses networking, gui, gpu, etc. I also like the |
- for future support of different run targets - move generate_runtime_config from linux.tcl to common.tcl - implement bind_ procedures for individual services in linux.tcl - move a few procedures from util.tcl to common.tcl #44
By providing the `goa run --target <target-name>` option, one can switch to a different run-stage target. Currently, the only implemented target is `linux`. #44
Thanks for your feedback. Im glad both of you like it. I just pushed the commits to the official staging branch. |
@nfeske I just gave your Goa unix tutorial a spin with the recent changes. The first part fails because it's runtime file lacks I am aware that Sculpt always adds a route to parent for the Timer service. In Goa, I decided to only instantiate the timer component and a route if it is explicitly mentioned in the runtime file. My intuition was to make the runtime files more consistent. Most of them state the timer requirement but some don't, yet they still magically work, which I find confusing. Do you support this decision or would you rather prefer we mimic Sculpt's behaviour? |
Goa now makes use of the black-hole component and has been enabled to provide a fonts_fs. genodelabs#4928 genodelabs/goa#44
It's perfectly fine to reinforce stricter Regarding the Goa-Unix tutorial, it would be nice to take the error message (due to the missing timer) as opportunity to introduce the |
I think the best spot to introduce the |
I just noticed that you also added the detection for |
Related to the change discussed in issue genodelabs/goa#44.
I have adjusted the article in nfeske/genodian@b12c3d4 now. |
Fixed by ef26628 |
- for future support of different run targets - move generate_runtime_config from linux.tcl to common.tcl - implement bind_ procedures for individual services in linux.tcl - move a few procedures from util.tcl to common.tcl #44
By providing the `goa run --target <target-name>` option, one can switch to a different run-stage target. Currently, the only implemented target is `linux`. #44
Currently, Goa uses base-linux for its run stage. In principle, the tool is able to support other targets like qemu or real hardware. Since
run/linux.tcl
serves as a blueprint for any future run-target implementation, it should undergo some restructuring. Moreover, we should add a bit of documentation about the limitations of the linux target and how custom targets can be added.The text was updated successfully, but these errors were encountered: