Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#7915: Add CPACK to generate debian #13703

Merged
merged 6 commits into from
Oct 11, 2024
Merged

#7915: Add CPACK to generate debian #13703

merged 6 commits into from
Oct 11, 2024

Conversation

blozano-tt
Copy link
Contributor

@blozano-tt blozano-tt commented Oct 10, 2024

Ticket

#7915

How to test

cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTT_METAL_BUILD_TESTS=ON -B build
ninja package -C build

Generates

Metalium-1.0.0-Linux.deb

Examine Contents

dpkg-deb --contents Metalium-1.0.0-Linux.deb

Problem description

Today we don't have distribution mechanism other than wheel.
It is common to give debian as well.

What's changed

Changed CMake project name to Metalium
Change CMake project version to 1.0.0 from 0.50.0
Added CPACK declarations for generating a debian

Note this is just the beginning. This will need refinement.
Currently the debian references locations in the PROJECT_BINARY_DIR because of this issue:
#13257

Checklist

  • Post commit CI passes
  • Blackhole Post commit (if applicable)
  • Model regression CI testing passes (if applicable)
  • Device performance regression CI testing passes (if applicable)
  • New/Existing tests provide coverage for changes

Copy link
Contributor

@afuller-TT afuller-TT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One step forward!

@blozano-tt blozano-tt merged commit b1ff88e into main Oct 11, 2024
6 checks passed
@blozano-tt blozano-tt deleted the blozano/cpack branch October 11, 2024 23:27
ct-clmsn pushed a commit to ct-clmsn/tt-metal that referenced this pull request Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants