diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2022-01-17 13:20:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 13:20:45 +0100 |
commit | 55924de7086b8a3894ed620f406ccd5b1e4a2087 (patch) | |
tree | 92fa96c58fa40b60b75a96a466e59fac9e2972bf | |
parent | 891eec2882e2f80431e6a180fe42b43c1b25aab3 (diff) | |
parent | 703306c119e3dcb6cca353634e0babe82be1cb2a (diff) | |
download | yosys-55924de7086b8a3894ed620f406ccd5b1e4a2087.tar.gz yosys-55924de7086b8a3894ed620f406ccd5b1e4a2087.tar.bz2 yosys-55924de7086b8a3894ed620f406ccd5b1e4a2087.zip |
Merge pull request #3162 from YosysHQ/mmicko/windows_guidelines
Add info about VS build
-rw-r--r-- | guidelines/Windows | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/guidelines/Windows b/guidelines/Windows index 16ba57c9d..2af0620fa 100644 --- a/guidelines/Windows +++ b/guidelines/Windows @@ -37,6 +37,29 @@ Creating the Visual Studio Template Project 4. Zip YosysVS as YosysVS-Tpl-v1.zip +Compiling with Visual Studio +============================ + +Visual Studio builds are not directly supported by build scripts, but they are still possible. + +1. Easy way + + - Go to https://github.com/YosysHQ/yosys/actions/workflows/vs.yml?query=branch%3Amaster + - Click on the most recent completed run + - In Artifacts region find vcxsrc and click on it to download + - Unpack downloaded ZIP file + - Open YosysVS.sln with Visual Studio + +2. Using WSL or MSYS2 + + - Make sure to have make, python3 and git available + - Git clone yosys repository + - Execute ```make vcxsrc YOSYS_VER=latest``` + - File yosys-win32-vcxsrc-latest.zip will be created + - Transfer that file to location visible by Windows application + - Unpack ZIP + - Open YosysVS.sln with Visual Studio + Cross-Building for Windows with MXE =================================== |