Skip to content

Commit

Permalink
Merge branch 'main' into orbflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mubes committed Aug 30, 2024
2 parents c25bab2 + 7cc0bad commit 9369666
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- run: meson setup ./build
- run: ninja -C ./build
- run: meson install -C ./build --destdir ./install
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: orbuculum-linux
path: build/install/**/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- run: meson setup ./build
- run: ninja -C ./build
- run: meson install -C ./build --destdir ./install
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: orbuculum-osx
path: build/install/**/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- run: meson install -C ./build --destdir ./install --strip
working-directory: ./orbuculum
- run: cp ./libusb/install/bin/libusb-1.0.dll ./orbuculum/build/install/bin
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: orbuculum-win64
path: ./orbuculum/build/install/**/*.*
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,16 +272,25 @@ Recipe instructions courtesy of FrankTheTank;

* `brew install libusb zmq sdl2`

and finally;
If you are on an Intel Mac:

```
export LDFLAGS="-L/usr/local/opt/binutils/lib"
export CPPFLAGS="-I/usr/local/opt/binutils/include"
```

If you are on an Apple Silicon Mac, do not export the environment variables.

You can also see notes under [Issue #63](https://github.com/orbcode/orbuculum/issues/63) from Gasman2014 about building on a M1
mac. You need to watch out for Homebrew binutils...on a M1 Mac you must use the Apple binutils or you will get linker errors. All
you need to do is move the homebrew binutils out of the way while you do the build....no big deal when you know about it.
Mac. You need to watch out for Homebrew binutils...on an Apple Silicon Mac you must use the Apple binutils (e.g. avoid the above environment export
so that x86 homebrew binutils is not used) or you will get linker errors.

And finally,

```
meson setup build
ninja -C build
```


Building on FreeBSD
Expand All @@ -307,6 +316,7 @@ MinGW-w64 from MSys2 is recommended as environment for building Windows distribu
Dependencies
------------
* mingw-w64-x86_64-libusb
* mingw-w64-x86_64-libelf
* mingw-w64-x86_64-zeromq
* mingw-w64-x86_64-meson
* mingw-w64-x86_64-SDL2
Expand Down

0 comments on commit 9369666

Please sign in to comment.