-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa7e3de
commit 81daf7b
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: yosys | ||
base: core20 | ||
version: '0.23' | ||
summary: yosys FPGA logic synthesis | ||
description: | | ||
Pre-packaged logic synthesis tool for use with open source FPGA toolchains | ||
grade: devel | ||
confinement: classic | ||
|
||
build-packages: | ||
- build-essential | ||
- clang | ||
- bison | ||
- flex | ||
- cmake | ||
- git | ||
- libreadline-dev | ||
- gawk | ||
- tcl-dev | ||
- libffi-dev | ||
- pkg-config | ||
- python3 | ||
- libboost-system-dev | ||
- libboost-python-dev | ||
- libboost-filesystem-dev | ||
- zlib1g-dev | ||
|
||
|
||
parts: | ||
yosys: | ||
source: https://github.com/YosysHQ/yosys.git | ||
source-type: git | ||
source-depth: 1 | ||
source-tag: yosys-0.23 | ||
plugin: make | ||
make-parameters: | ||
- all | ||
- install | ||
override-build: | | ||
export PREFIX=/usr/ | ||
make config-gcc | ||
snapcraftctl build | ||
stage-packages: | ||
- libtcl8.6 | ||
- graphviz | ||
- xdot | ||
|
||
apps: | ||
yosys: | ||
command: usr/local/bin/yosys |