diff options
| author | Jack Koenig | 2016-03-06 21:02:12 -0800 |
|---|---|---|
| committer | Jack Koenig | 2016-03-06 21:02:12 -0800 |
| commit | 479891fe17fe6bfe4f4f0b8235b979403f9c58cf (patch) | |
| tree | dfad79a3cb75db1047bdb3a2ddff263f9806dbaa | |
| parent | 8efa6294a0df5f1ea67ac3a51a9fbd0302449b44 (diff) | |
| parent | 8ae6ece99dfadb8d3dd25acc3549a975e3c40bbc (diff) | |
Merge pull request #83 from ucb-bar/travis
Allow FIRRTL to run on Travis
| -rw-r--r-- | Makefile | 12 | ||||
| -rwxr-xr-x | utils/stanza-wrapper | 3 |
2 files changed, 10 insertions, 5 deletions
@@ -26,8 +26,10 @@ $(root_dir)/src/lib/stanza/stamp: src/lib/stanza-$(stanza_zip_name).zip cd src/lib && unzip stanza-$(stanza_zip_name).zip touch $@ -$(stanza): $(root_dir)/src/lib/stanza/stamp +utils/bin/stanza: $(stanza) +$(stanza): $(root_dir)/src/lib/stanza/stamp $(root_dir)/utils/stanza-wrapper cd src/lib/stanza && ./stanza -platform $(stanza_target_name) -install $(stanza) + cat $(root_dir)/utils/stanza-wrapper | sed 's!@@TOP@@!$(root_dir)!g' > $@ $(stanza_bin): $(stanza) $(stanza_src) cd $(firrtl_dir) && $(stanza) -i firrtl-test-main.stanza -o $@ @@ -43,15 +45,15 @@ build-fast: $(stanza) build-deploy: cd $(firrtl_dir) && $(stanza) -i firrtl-main.stanza -o $(install_dir)/firrtl-stanza - make set-stanza + $(MAKE) set-stanza build: cd $(firrtl_dir) && $(stanza) -i firrtl-test-main.stanza -o $(install_dir)/firrtl-stanza - make set-stanza + $(MAKE) set-stanza build-fast: cd $(firrtl_dir) && $(stanza) -i firrtl-test-main.stanza -o $(install_dir)/firrtl-stanza -flags OPTIMIZE - make set-stanza + $(MAKE) set-stanza check: cd $(test_dir) && lit -j 2 -v . --path=$(install_dir)/ @@ -115,7 +117,7 @@ fail: # Scala Added Makefile commands build-scala: $(scala_jar) - make set-scala + $(MAKE) set-scala $(scala_jar): $(scala_src) "$(sbt)" "assembly" diff --git a/utils/stanza-wrapper b/utils/stanza-wrapper new file mode 100755 index 00000000..10c8b204 --- /dev/null +++ b/utils/stanza-wrapper @@ -0,0 +1,3 @@ +#!/bin/bash + +eval '@@TOP@@/src/lib/stanza/stanza' -platform linux "$@" |
