-
Notifications
You must be signed in to change notification settings - Fork 1
Add command object #7
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
Conversation
1014e7b to
1271ca9
Compare
| deps: deps(), | ||
| docs: docs(), | ||
| compilers: [:cmake] ++ Mix.compilers(), | ||
| cmake_env: %{"MAKEFLAGS" => "-j#{nproc()}"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have an override for this for computers that don't run well when all the cores are maxed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This project isn't big and shouldn't bog down a low core count system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general I think we should have an opt-out mechanism for all projects. By default compilation should use all available cores and the opt-out should allow users to set the number of available cores for compilation.
- Parallel build source code
- Optimize targets for prod releases
- Do not use glob for patches because it won't pick up on file changes
- Simplify how libei is found
- Simplify includes instructions
- Always use $ENV{MIX_APP_PATH}/priv as the out dir regardless of build target
1271ca9 to
afc4b4a
Compare
Adds ability to create Command objects with basic properties. The
bacnetdwill fire events when it receives a Command(ed) change from the BMS. It is the responsibility of the owning process to update the status of the command when appropriate.