Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
broskoTT committed Sep 30, 2024
1 parent e027789 commit 4bafd5a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sudo apt install -y libhwloc-dev

## Build flow
We are transitioning away from Make. The main libraries and tests should now be built with CMake.
Specify the `ARCH_NAME` environment variable as `grayskull` or `wormhole_b0` before building.
The device lib is built once for all supported architectures (grayskull, wormhole and blackhole).

To build `libdevice.so`:
```
Expand All @@ -18,8 +18,12 @@ ninja -C build
ninja umd_device -C build
```

Tests are build separatelly for each architecture.
Specify the `ARCH_NAME` environment variable as `grayskull`, `wormhole_b0` or `blackhole` before building.
You also need to configure cmake to enable tests, hence the need to run cmake configuration step again.
To build tests:
```
cmake -B build -G Ninja -DTT_UMD_BUILD_TESTS=ON
ninja umd_tests -C build
```

Expand Down

0 comments on commit 4bafd5a

Please sign in to comment.