diff options
| author | ducky | 2015-09-30 14:44:07 -0700 |
|---|---|---|
| committer | ducky | 2015-09-30 14:45:58 -0700 |
| commit | 23393f3fa4777a0840a3048f2bdbafb640939082 (patch) | |
| tree | a23d221c996c7c8e329ae27d23d44cd2a7cfca2f | |
| parent | d380b8cfd11d2fe1231774f7b9492aff959bb279 (diff) | |
Linux compatibility instructions and files
| -rw-r--r-- | README.md | 44 | ||||
| -rwxr-xr-x | utils/bin/FileCheck_linux | bin | 0 -> 388783 bytes |
2 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-mac` + 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` diff --git a/utils/bin/FileCheck_linux b/utils/bin/FileCheck_linux Binary files differnew file mode 100755 index 00000000..1bb70b6d --- /dev/null +++ b/utils/bin/FileCheck_linux |
