Skip to content

Commit

Permalink
Change dev_build script for rewritten tool
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Velickovic <[email protected]>
  • Loading branch information
Ivan-Velickovic committed May 21, 2024
1 parent 169ce15 commit 25dcfeb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions dev_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ def main():
default=False,
help="Build the example from the SDK build rather than directly from source directory",
)
parser.add_argument(
"--tool-from-sdk",
action="store_true",
default=False,
help="Build the using the tool from the SDK rather than directly from the Python source",
)
parser.add_argument(
"--board",
help="Target board",
Expand Down Expand Up @@ -96,10 +90,6 @@ def main():
else f"{CWD.absolute()}/example/{args.board}/{args.example}"
)

if not args.tool_from_sdk:
make_env["PYTHONPATH"] = str(CWD / "tool")
make_env["MICROKIT_TOOL"] = f"{executable} -m microkit"

cmd = ["make", "-C", makefile_directory]

run(cmd, env=make_env)
Expand Down

0 comments on commit 25dcfeb

Please sign in to comment.