Skip to content

Commit

Permalink
Merge pull request #81 from nrwahl2/nrwahl2-build
Browse files Browse the repository at this point in the history
Add pybind11-dev and python3-dev dependencies
  • Loading branch information
nrwahl2 authored Nov 21, 2023
2 parents 89f996a + 56a5343 commit c789aa1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
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.

0 comments on commit c789aa1

Please sign in to comment.