You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Raspberry Pi Bazel Build "Define appropriate PLATFORM macro" error #3469
According to this post on StackExchange, it looks like there's no reliable, automatic way to detect if building for Raspberry Pi.
Would it be possible to add in a #if !defined(PLATFORM_RASPBERRY_PI) line in platform.h and define the macro manually in Bazel with --copt="-D PLATFORM_RASPBERRY_PI"?
No update on this one I'm afraid. I've been focused on the makefile approach to building for the Pi, and I'm not familiar enough with Bazel to suggest the right way to handle this.
Activity
samjabrahams commentedon Jul 22, 2016
According to this post on StackExchange, it looks like there's no reliable, automatic way to detect if building for Raspberry Pi.
Would it be possible to add in a
#if !defined(PLATFORM_RASPBERRY_PI)line inplatform.hand define the macro manually in Bazel with--copt="-D PLATFORM_RASPBERRY_PI"?danbri commentedon Sep 7, 2016
@petewarden any thoughts?
petewarden commentedon Sep 17, 2016
No update on this one I'm afraid. I've been focused on the makefile approach to building for the Pi, and I'm not familiar enough with Bazel to suggest the right way to handle this.
drpngx commentedon Jan 23, 2017
Closing this -- we only support Makefile builds right now.
samjabrahams commentedon Jan 23, 2017
Ok, no worries- I'll keep maintaining my repo for those who want a Python interface on their Raspberry Pi.
EddieOne commentedon Jul 25, 2017
Long build process on the Raspberry Pi.
At this stage.