From a1cb37a66a65ebd82840297cc51a2782773bbbf0 Mon Sep 17 00:00:00 2001 From: Sam Burdick Date: Mon, 15 Jan 2024 18:38:03 -0800 Subject: [PATCH 1/2] Add macOS build instructions --- host/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/host/README.md b/host/README.md index f2fb4785..c047b723 100644 --- a/host/README.md +++ b/host/README.md @@ -89,6 +89,26 @@ You can build and install from ports: # make install ``` +## How to build the host software on macOS: + +### Install dependencies + +Homebrew: `brew install cmake libusb pkg-config` + +Install FFTW from [this guide](https://www.fftw.org/install/mac.html) + +### Build host software on Linux: +```sh +mkdir host/build +cd host/build +cmake .. +make +sudo make install +sudo update_dyld_shared_cache # equivalent to ldconfig in linux +``` + +## Credits + principal author: Michael Ossmann http://greatscottgadgets.com/hackrf/ From 423940f59d15964b9fb0970b971341623ef6f4f7 Mon Sep 17 00:00:00 2001 From: Sam Burdick Date: Mon, 15 Jan 2024 18:38:51 -0800 Subject: [PATCH 2/2] update readme --- host/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/README.md b/host/README.md index c047b723..f0168c5a 100644 --- a/host/README.md +++ b/host/README.md @@ -97,7 +97,7 @@ Homebrew: `brew install cmake libusb pkg-config` Install FFTW from [this guide](https://www.fftw.org/install/mac.html) -### Build host software on Linux: +### Build it ```sh mkdir host/build cd host/build