blob: 543ee75cda287fd13158e8a7676531d3582a0dde (
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
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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-noise:
${MAKE} all || ${MAKE} fail
all: build check done
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
done:
say "done"
fail:
say "fail"
.PHONY: all install build-deploy build check clean fail succeed
|