diff options
| author | azidar | 2015-10-06 14:26:18 -0700 |
|---|---|---|
| committer | azidar | 2015-10-06 14:26:18 -0700 |
| commit | 62e922b0e7ea5f90c14a918ab09ce04a28f082d4 (patch) | |
| tree | 9c91b14fd364b721ea7b33f22cdeaff98e5096b7 /README.md | |
| parent | d380b8cfd11d2fe1231774f7b9492aff959bb279 (diff) | |
| parent | dd6f4b1c84941f4134ac31c4caa2ad74a522ffaf (diff) | |
Merge branch 'ducky64-linuxrun'
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 44 |
1 files changed, 36 insertions, 8 deletions
@@ -10,11 +10,39 @@ 4. As a favor, its useful to develop in stanza to give Patrick some language tips :) The hardest part to port will likely be the parser, but we hope to use an existing scala-based general-purpose parser for the port. -#### Installation instructions (for Mac): -*Disclaimer*: This project is going through development stages so there is no guarantee anything works. - `git clone https://github.com/ucb-bar/firrtl # Clone repository` - `make install-mac # Stanza installation` - `pip install lit # Install lit (this assumes you have pip installed)` - `make build # Build firrtl` - `make check # Run tests` - `make # Build & test` +#### Installation Instructions +*Disclaimer*: This project is going through development stages so there is no guarantee anything works. + +##### For Linux: + 1. Clone the repository: + `git clone https://github.com/ucb-bar/firrtl` + 1. Install Stanza: + `make install-linux` + 1. Install lit (you need to have pip installed first): + `pip install lit` + 1. Build firrtl: + `make build` + 1. Add `firrtl/utils/bin` to your `PATH`, so that the compiled firrtl will be + available anywhere. This also makes FileCheck available for the tests. + 1. Rename `FileCheck_linux` in `firrtl/utils/bin` to `FileCheck`. The original + `FileCheck` is a compiled Mac version and will not run on Linux. + *Note: This compiled binary may not run on all platforms. You may need to build + Clang/LLVM from source to extract the compiled FileCheck utility.* + 1. Run tests: + `make check` + 1. Build and test: + `make` + +##### For Mac: + 1. Clone the repository: + `git clone https://github.com/ucb-bar/firrtl` + 1. Install Stanza: + `make install-mac` + 1. Install lit (you need to have pip installed first): + `pip install lit` + 1. Build firrtl: + `make build` + 1. Run tests: + `make check` + 1. Build and test: + `make` |
