Skip to content

Commit

Permalink
Make the build instructions for all-clusters-app clearer. (#21290)
Browse files Browse the repository at this point in the history
Fixes #21284
  • Loading branch information
bzbarsky-apple authored Jul 28, 2022
1 parent b8af0f0 commit e56c2ce
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion examples/all-clusters-app/linux/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,37 @@
# Matter Linux/Mac All Clusters Example

## Compiling all-clusters-app for testing on Linux and Mac

To compile all-clusters-app on Intel Mac, run:

```
$ ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target darwin-x64-all-clusters-no-ble-asan-clang build"
```

at the top level of the Matter tree.

To compile on an Arm Mac, run:

```
$ ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target darwin-arm64-all-clusters-no-ble-asan-clang build"
```

Similarly, to compile on Linux x86-64 run:

```
$ ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target linux-x64-all-clusters-no-ble-asan-clang build"
```

And to compile on Linux ARM run:

```
$ ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-clang build"
```

## Fuzzing integration

This example supports compilation with libfuzzer enabled.
This example also supports compilation with libfuzzer enabled. This should be
used when trying to fuzz-test the Matter SDK.

### Compiling with fuzzing enabled

Expand Down

0 comments on commit e56c2ce

Please sign in to comment.