tensil-ai / tensil

Open source machine learning accelerators
https://www.tensil.ai
Other
352 stars 29 forks source link

Move from sbt to mill #1

Closed petrohi closed 2 years ago

petrohi commented 2 years ago
shortcut-integration[bot] commented 2 years ago

This pull request has been linked to Shortcut Story #365: Move from sbt to mill.

petrohi commented 2 years ago

Since there are multiple main classes you'd need to:

./mill rtl.runMain tensil.zynq.tcu.Top

You can see available targets by:

./mill resolve _
./mill resolve rtl._

Or running tests:

./mill rtl.test.test
./mill rtl.test.testOnly tensil.tcu.MACSpec
./mill tools.test.testOnly tensil.tools.CompilerSpec -- -z "XOR"
./mill tools.test.testOnly tensil.tools.CompilerSpec -- -l org.scalatest.tags.Slow
./mill '{common,tools,rtl,sim}.test.test' -l org.scalatest.tags.Slow -l tensil.tags.Broken