Skip to content

Commit

Permalink
Simplify calling cargo in Shake
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnbastiaan committed Aug 18, 2023
1 parent 4590337 commit 743f018
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 49 deletions.
4 changes: 2 additions & 2 deletions bittide-shake/bin/Shake.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import System.Process (readProcess, callProcess)

import Paths_bittide_shake

import Clash.Shake.Cargo
import Clash.Shake.Extra
import Clash.Shake.Flags
import Clash.Shake.Vivado
Expand Down Expand Up @@ -334,7 +333,8 @@ main = do

-- We build all rust binaries in "firmware-binaries". They are required to
-- build bittide-instance because we have instances that includes a binaries.
liftIO $ cargoBuildFirmwareProgram "firmware-binaries" Release
command_ [Cwd "firmware-binaries"] "cargo" ["build", "--release"]

let
(buildTool, buildToolArgs) =
defaultClashCmd clashBuildDir targetName
Expand Down
47 changes: 0 additions & 47 deletions bittide-shake/src/Clash/Shake/Cargo.hs

This file was deleted.

0 comments on commit 743f018

Please sign in to comment.