Sync build example with github action workflow

pull/402/head
Christian Haeusler 2021-10-09 22:18:02 +02:00
rodzic cf3e024fb9
commit 4d7b46b1a8
1 zmienionych plików z 13 dodań i 4 usunięć

Wyświetl plik

@ -67,25 +67,34 @@ brew install \
airspy \
airspyhf \
cmake \
codec2 \
fftw \
glew \
glfw \
hackrf \
libbladerf \
librtlsdr \
portaudio \
rt-audio \
rtl-sdr \
soapyrtlsdr \
volk
mkdir build
cd build
cmake .. \
-DOPT_BUILD_AUDIO_SINK=false \
-DOPT_BUILD_PLUTOSDR_SOURCE=false \
-DOPT_BUILD_PORTAUDIO_SINK=true
-DOPT_BUILD_AUDIO_SINK=OFF \
-DOPT_BUILD_BLADERF_SOURCE=OFF \
-DOPT_BUILD_M17_DECODER=ON \
-DOPT_BUILD_NEW_PORTAUDIO_SINK=ON \
-DOPT_BUILD_PLUTOSDR_SOURCE=OFF \
-DOPT_BUILD_PORTAUDIO_SINK=ON \
-DOPT_BUILD_SOAPY_SOURCE=OFF
make -j$(sysctl -n hw.ncpu)
```
The above was tested on macOS Big Sur (11.5).
Check `jobs.build_macos` in the [build_all.yaml](https://github.com/AlexandreRouma/SDRPlusPlus/blob/master/.github/workflows/build_all.yml) workflow for the exact options used for building the package available in the [releases](https://github.com/AlexandreRouma/SDRPlusPlus/releases/tag/1.0.3)
## BSD
There are currently no BSD packages, refer to [Building on Linux / BSD](https://github.com/AlexandreRouma/SDRPlusPlus#building-on-linux--bsd) for instructions on building from source.