diff options
| author | azidar | 2015-10-27 09:57:03 -0700 |
|---|---|---|
| committer | azidar | 2015-10-27 09:57:03 -0700 |
| commit | 852b241e274edd888499b520d320945794a26e24 (patch) | |
| tree | fc4c4dac344ab3995c685bde10c6255d5ab273cc /Makefile | |
| parent | 4312fed3f51e1756bbc104639689098de7df0cfe (diff) | |
| parent | f258c8394ebe7136e0eee7e1e342b5b593d1cc5d (diff) | |
Merge branch 'master' of github.com:ucb-bar/firrtl
Conflicts:
Makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 29 |
1 files changed, 28 insertions, 1 deletions
@@ -33,6 +33,18 @@ build: $(stanza) build-fast: $(stanza) cd $(firrtl_dir) && $(stanza) -i firrtl-test-main.stanza -o $(root_dir)/utils/bin/firrtl -flags OPTIMIZE +build-deploy: + cd $(firrtl_dir) && $(stanza) -i firrtl-main.stanza -o $(root_dir)/utils/bin/firrtl-stanza + make set-stanza + +build: + cd $(firrtl_dir) && $(stanza) -i firrtl-test-main.stanza -o $(root_dir)/utils/bin/firrtl-stanza + make set-stanza + +build-fast: + cd $(firrtl_dir) && $(stanza) -i firrtl-test-main.stanza -o $(root_dir)/utils/bin/firrtl-stanza -flags OPTIMIZE + make set-stanza + check: cd $(test_dir) && lit -v . --path=$(root_dir)/utils/bin/ @@ -73,4 +85,19 @@ done: build-fast check regress fail: say "fail" -.PHONY: all install build-deploy build check clean fail succeed regress +# Scala Added Makefile commands + +build-scala: + sbt "assembly" + +test-scala: + cd $(test_dir)/parser && lit -v . --path=$(root_dir)/utils/bin/ + cd $(test_dir)/passes/infer-types && lit -v . --path=$(root_dir)/utils/bin/ + +set-scala: + ln -f -s $(root_dir)/utils/bin/firrtl-scala $(root_dir)/utils/bin/firrtl + +set-stanza: + ln -f -s $(root_dir)/utils/bin/firrtl-stanza $(root_dir)/utils/bin/firrtl + +.PHONY: all install build-deploy build check clean fail succeed regress set-scala set-stanza build-scala test-scala |
