Skip to content
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

Add build instructions for 64-bit Raspbian #3880

Merged
merged 3 commits into from
Dec 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .release-notes/3880.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Added build instructions for 64-bit Raspbian

We've gotten Pony building on 64-bit Raspbian running on Raspberry Pi 4 model B boards. The installation is a little different than other Linux distributions that you can build Pony on, so we've added instructions specific to 64-bit Raspbian.
13 changes: 13 additions & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ CentOS 8 | clang, cmake, diffutils, libatomic, libstdc++-static, make, zlib-deve
Fedora | clang, cmake, libatomic, libstdc++-static, make
OpenSuse Leap | binutils-gold, cmake
Raspbian 32-bit | cmake
Raspbian 64-bit | cmake, clang
Rocky | clang, cmake, diffutils, libatomic, libstdc++-static, make, zlib-devel
Ubuntu | clang, cmake, make

Expand All @@ -86,6 +87,18 @@ make build config=debug
sudo make install config=debug
```

### 64-bit Raspbian

Installing on a 64-bit Raspbian is slightly different from other Linux based
Operating Systems, you'll need to override the `arch` option to configure, but otherwise, everything is the same.

```bash
make libs pic_flag=-fPIC
make configure arch=armv8-a pic_flag=-fPIC
make build
sudo make install arch=armv8-a
```

## macOS

For Intel-based macOS:
Expand Down