From b92df59bf08fc0657f661f83fb1cd501662ad2c1 Mon Sep 17 00:00:00 2001 From: Reid Wahl Date: Tue, 21 Nov 2023 12:01:22 -0800 Subject: [PATCH 1/2] Build: Update dependencies for pybind11 oresat-libdxwifi fails to build in CI since 47eeff92. It needs pybind11-dev and python3-dev. Signed-off-by: Reid Wahl --- .github/workflows/build_test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 45fcc6a..db62e9f 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -21,8 +21,13 @@ jobs: with: submodules: recursive + - name: Update Packages + run: sudo apt -y update + - name: Get Dependencies - run: sudo apt update && sudo apt install build-essential libpcap-dev libgpiod-dev cmake python3 valgrind -y + run: > + sudo apt -y install build-essential cmake libgpiod-dev libpcap-dev + pybind11-dev python3 python3-dev valgrind - name: Configure CMake shell: bash From 56a534343a7565462359496bf1c6afe30fa90fcc Mon Sep 17 00:00:00 2001 From: Reid Wahl Date: Tue, 21 Nov 2023 12:06:53 -0800 Subject: [PATCH 2/2] Doc: README: Add pybind11-dev and python3-dev dependencies Signed-off-by: Reid Wahl --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b864752..efba21c 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,13 @@ A diagram of the process is available [here](https://drive.google.com/file/d/1OS - 2 Linux devices (Raspberry Pi, BeagleBone Black, laptop, etc.) - 2 WiFi adapters that support monitor mode (tested with Atheros AR9271) - [CMake](https://cmake.org/) -- [`libpcap-dev`](https://www.tcpdump.org/), [`libgpiod-dev`](https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/), [`iw`](https://wireless.wiki.kernel.org/en/users/documentation/iw), [`ip`](https://linux.die.net/man/8/ip) -- [Python 3.6](https://www.python.org/) or higher (for test scripts) +- [`ip`](https://linux.die.net/man/8/ip) +- [`iw`](https://wireless.wiki.kernel.org/en/users/documentation/iw) +- [`libgpiod-dev`](https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/) +- [`libpcap-dev`](https://www.tcpdump.org/) +- [`pybind11-dev`](https://github.com/pybind/pybind11) +- [Python 3.6](https://www.python.org/) or higher and `python3-dev` (for tests + and bindings) ## Building @@ -217,4 +222,4 @@ python test/sweep.py --code-rate | -c [min] [max] [step] --output | -o [output directory path] ``` -This will perform all combinations of code rates, error rates, and packet loss rates (offline) and save the outputs in subdirectories in the specified output directory. \ No newline at end of file +This will perform all combinations of code rates, error rates, and packet loss rates (offline) and save the outputs in subdirectories in the specified output directory.