blob: 4259b7ec5f92151a2e57c37262a4568acfea81c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Installs stanza into /usr/local/bin
# TODO Talk to Patrick to fill this in
root_dir ?= $(PWD)
test_dir ?= $(root_dir)/test
firrtl_dir ?= $(root_dir)/src/main/stanza
all: build check
install:
cd src/lib && unzip stanzam.zip
cd stanzam && sudo ./stanzam -platform os-x -install /usr/local/bin/stanzam
build-deploy:
cd $(firrtl_dir) && stanzam -i firrtl-main.stanza -o $(root_dir)/utils/bin/firrtl
build:
cd $(firrtl_dir) && stanzam -i firrtl-test-main.stanza -o $(root_dir)/utils/bin/firrtl
check:
cd $(test_dir)/passes && lit -v . --path=$(root_dir)/utils/bin/
clean:
rm -f $(test_dir)/*/*/*.out
rm -f $(test_dir)/*/*.out
|