-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[actions] rpi changes #7928
[actions] rpi changes #7928
Conversation
Hello @ofTheo @danoli3 @artificiel can you help with some ideas for this one? |
not in a Pi position right now but for |
Thanks. for what I've seen there are some headers in this repo / folder |
@dimitre - I'll have a look! |
for liblaplack (CV dependency), is depending on how deep you want to dig maybe it's simpler to keep the old pre-packaged toolchain for armv6 and your updated approach from aarch64? |
I suggest we drop armv6l architecture since aarch64 will run in most RPI versions including |
bcm_host.h solved and other fixes. it is finishing compilation here locally, |
Great! everything good with allAddons in all platforms. |
PLATFORM_HEADER_SEARCH_PATHS += $(RPI_ROOT)/opt/vc/include/interface/vcos/pthreads | ||
PLATFORM_HEADER_SEARCH_PATHS += $(RPI_ROOT)/opt/vc/include/interface/vmcs_host/linux | ||
PLATFORM_HEADER_SEARCH_PATHS += $(RPI_ROOT)/userland/host_applications/linux/libs/bcm_host/include | ||
PLATFORM_HEADER_SEARCH_PATHS += $(RPI_ROOT)/userland |
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.
Will this work for people working with the device itself ( as opposed to building in the CI )?
ie: does userland exist for Pi device users?
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.
Good catch. maybe I should put back the includes with /opt/vc in armv6l
easy to do
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.
and enclose this in ifdef CROSS_COMPILE
congrats @dimitre !! |
This PR intends to fix RPI github actions
[hopefully] modernizing and fixing cross compiling issues
it replaces compilers installed via ci.openframeworks.cc with apt installable ones (and cached via github actions)
Status:
Errors - all fixed:
~~Using armv6l actions it doesnt find <bcm_host.h>, it is not installable via firmware.zip anymore.
Maybe it is possible to install via apt packages, have to research more about this one.
aarch64 alladdonsexample linking errors:
~~