Skip to content

Conversation

@abelino
Copy link
Contributor

@abelino abelino commented Apr 4, 2025

Adds ability to create Command objects with basic properties. The bacnetd will 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.

@abelino abelino requested a review from amclain April 4, 2025 08:53
@abelino abelino self-assigned this Apr 4, 2025
@abelino abelino force-pushed the add-command-object branch from 1014e7b to 1271ca9 Compare April 4, 2025 08:55
deps: deps(),
docs: docs(),
compilers: [:cmake] ++ Mix.compilers(),
cmake_env: %{"MAKEFLAGS" => "-j#{nproc()}"},
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

abelino added 7 commits April 8, 2025 15:49
- 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
@abelino abelino force-pushed the add-command-object branch from 1271ca9 to afc4b4a Compare April 9, 2025 04:48
@abelino abelino merged commit 4419f94 into main Apr 12, 2025
2 checks passed
@abelino abelino deleted the add-command-object branch April 12, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants