Skip to content

Commit

Permalink
Document need of using separate fork
Browse files Browse the repository at this point in the history
  • Loading branch information
UsualSpec committed Jul 8, 2024
1 parent e431449 commit 7e5c480
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions client/COMPILING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ The binary `client` can be found in the cmake/build folder. This should be done
**Note:** To run the mmclient locally, you also need to [install PostgreSQL](https://wiki.debian.org/PostgreSql) on your machine. For the setup see POSTGRES-SETUP.md. You may also want to look at deploy.sh

## Pinpoint
To run the software, you also need to compile pinpoint. See [the README file from the official pinpoint repo](https://github.com/osmhpi/pinpoint/). You will need a version of Pinpoint which supports the `-n` flag to skip a workload.Currently this means you need to compile the code from this fork at `https://github.com/UsualSpec/pinpoint/tree/feature/skip-workload`.
To run the software, you also need to compile pinpoint. See [the README file from the official pinpoint repo](https://github.com/osmhpi/pinpoint/). You will need a version of Pinpoint which supports the `-n` flag to skip a workload and redirecting measurements to stdout. Currently this means you need to compile the code from this fork at `https://github.com/nsg-ethz/pinpoint/tree/ci/addARMBuild`.
You can clone and switch the branch as follows:

```shell
git clone https://github.com/UsualSpec/pinpoint
git checkout feature/skip-workload
git clone https://github.com/nsg-ethz/pinpoint
git checkout ci/addARMBuild
```
then follow the same commands as in the official repo.
2 changes: 1 addition & 1 deletion client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This folder contains files needed for the client side of the autopower project:

In order to deploy an autopower device, you may need to use a Raspberry Pi 4 - preferred Pi 4 4 GB or more to compile the code. Deployment was tested on a Raspberry Pi 3 B, 3 B+ and 4 B 1 GB is enough.

First compile [our fork of pinpoint](https://github.com/nsg-ethz/pinpoint/tree/feature/skip-workload) from the `skip-workload` branch which contains a flag to skip the workload parameter as shown in the [official pinpoint repository README.md](https://github.com/osmhpi/pinpoint/blob/master/README.md) file and copy the resulting binary to the `bin/` folder. If needed, rename the client to mmclient.
First compile [our fork of pinpoint](https://github.com/nsg-ethz/pinpoint/tree/ci/addARMBuild) from the `ci/addARMBuild` branch which contains a flag to skip the workload parameter as shown in the [official pinpoint repository README.md](https://github.com/osmhpi/pinpoint/blob/master/README.md) file and copy the resulting binary to the `bin/` folder. If needed, rename the client to mmclient.

Afterwards compile the autopower client (mmclient) from this repository as described in COMPILING.md and copy the resulting `client` binary to bin/mmclient.

Expand Down

0 comments on commit 7e5c480

Please sign in to comment.