Skip to content

Commit

Permalink
delete me
Browse files Browse the repository at this point in the history
  • Loading branch information
afuller-TT committed Jan 23, 2025
1 parent 2f59d5e commit cd74710
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/code-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ jobs:
fetch-depth: 0
submodules: recursive
clean: true
lfs: true

- name: Update LFS files
if: github.ref_name != 'main' && !inputs.full-scan
run: |
git submodule foreach git lfs pull
- name: Create baseline
if: github.ref_name != 'main' && !inputs.full-scan
Expand Down Expand Up @@ -125,6 +131,15 @@ jobs:
# Suppress clang-tidy to first get an up-to-date build tree
ln -sf /usr/bin/true ./clang-tidy-shim
# For Debug, check md5sum of a problematic library
cd tt_metal/third_party/umd
git status
git ls-files libs/x86_64
cd ../../..
ls -l tt_metal/third_party/umd/device/libs/x86_64/libcreate_ethernet_map.a || true
file tt_metal/third_party/umd/device/libs/x86_64/libcreate_ethernet_map.a || true
md5sum tt_metal/third_party/umd/device/libs/x86_64/libcreate_ethernet_map.a || true
cmake --preset clang-tidy -DCMAKE_CXX_CLANG_TIDY=$(pwd)/clang-tidy-shim -DCMAKE_C_CLANG_TIDY=$(pwd)/clang-tidy-shim
nice -n 19 cmake --build --preset clang-tidy
Expand Down Expand Up @@ -178,6 +193,11 @@ jobs:
# Symlink tomfoolery here so that Ninja believes the build command has not changed from the previous run
ln -sf $(which clang-tidy-17) ./clang-tidy-shim
# For Debug, check md5sum of a problematic library
ls -l tt_metal/third_party/umd/device/libs/x86_64/libcreate_ethernet_map.a || true
file tt_metal/third_party/umd/device/libs/x86_64/libcreate_ethernet_map.a || true
md5sum tt_metal/third_party/umd/device/libs/x86_64/libcreate_ethernet_map.a || true
cmake --preset clang-tidy -DCMAKE_CXX_CLANG_TIDY=$(pwd)/clang-tidy-shim -DCMAKE_C_CLANG_TIDY=$(pwd)/clang-tidy-shim
nice -n 19 cmake --build --preset clang-tidy
mkdir -p out
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,5 @@ Get started with [simple kernels](https://docs.tenstorrent.com/tt-metalium/lates
- [Matmul OP on Multi_core (Basic)](./tech_reports/prog_examples/matmul_multi_core/matmul_multi_core.md)
- [Matmul Multi_core Reuse (Optimized)](./tech_reports/prog_examples/matmul_multi_core_optimized/data_reuse.md)
- [Matmul Multi_core Multi-Cast (Optimized)](./tech_reports/prog_examples/matmul_multi_core_optimized/data_mcast.md)

# no-op

0 comments on commit cd74710

Please sign in to comment.