Skip to content

Commit 81daf7b

Browse files
committed
add snap definition file
1 parent aa7e3de commit 81daf7b

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

snap/snapcraft.yaml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: yosys
2+
base: core20
3+
version: '0.23'
4+
summary: yosys FPGA logic synthesis
5+
description: |
6+
Pre-packaged logic synthesis tool for use with open source FPGA toolchains
7+
grade: devel
8+
confinement: classic
9+
10+
build-packages:
11+
- build-essential
12+
- clang
13+
- bison
14+
- flex
15+
- cmake
16+
- git
17+
- libreadline-dev
18+
- gawk
19+
- tcl-dev
20+
- libffi-dev
21+
- pkg-config
22+
- python3
23+
- libboost-system-dev
24+
- libboost-python-dev
25+
- libboost-filesystem-dev
26+
- zlib1g-dev
27+
28+
29+
parts:
30+
yosys:
31+
source: https://github.com/YosysHQ/yosys.git
32+
source-type: git
33+
source-depth: 1
34+
source-tag: yosys-0.23
35+
plugin: make
36+
make-parameters:
37+
- all
38+
- install
39+
override-build: |
40+
export PREFIX=/usr/
41+
make config-gcc
42+
snapcraftctl build
43+
stage-packages:
44+
- libtcl8.6
45+
- graphviz
46+
- xdot
47+
48+
apps:
49+
yosys:
50+
command: usr/local/bin/yosys

0 commit comments

Comments
 (0)