aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2019-08-15 12:59:27 +0800
committerSean Cross <sean@xobs.io>2019-08-15 12:59:27 +0800
commitaa7e20357f4676274067247cfd5322219a790649 (patch)
tree7993b9e25e49c624e8cc675f8c2a03d61456f823 /README.md
parent0b5c0bd94e19bbd268d9af956c51e804d4661ddf (diff)
downloadnextpnr-aa7e20357f4676274067247cfd5322219a790649.tar.gz
nextpnr-aa7e20357f4676274067247cfd5322219a790649.tar.bz2
nextpnr-aa7e20357f4676274067247cfd5322219a790649.zip
README: add a note about static windows builds
Windows has different triples when building with static. Note this in the README. Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 953d6ef7..10e3bdef 100644
--- a/README.md
+++ b/README.md
@@ -44,6 +44,7 @@ of the selected architecture:
- For building on Windows with MSVC, usage of vcpkg is advised for dependency installation.
- For 32 bit builds: `vcpkg install boost-filesystem boost-program-options boost-thread boost-python qt5-base eigen3`
- For 64 bit builds: `vcpkg install boost-filesystem:x64-windows boost-program-options:x64-windows boost-thread:x64-windows boost-python:x64-windows qt5-base:x64-windows eigen3:x64-windows`
+ - For static builds, add `-static` to each of the package names. For example, change `eigen3:x64-windows` to `eigen3:x64-windows-static`
- A copy of Python that matches the version in vcpkg (currently Python 3.6.4). You can download the [Embeddable Zip File](https://www.python.org/downloads/release/python-364/) and extract it. You may need to extract `python36.zip` within the embeddable zip file to a new directory called "Lib".
- For building on macOS, brew utility is needed.
- Install all needed packages `brew install cmake python boost boost-python3 qt5 eigen`
@@ -72,6 +73,8 @@ cmake -DARCH=ice40 -DICEBOX_ROOT=C:/ProgramData/icestorm/share/icebox -DCMAKE_TO
cmake --build . --config Release
```
+To build a static release, change the target triplet from `x64-windows` to `x64-windows-static` and add `-DBUILD_STATIC=ON`.
+
A simple example that runs on the iCEstick dev board can be found in `ice40/examples/blinky/blinky.*`.
Usage example: