Skip to content

Commit

Permalink
add snap definition file
Browse files Browse the repository at this point in the history
  • Loading branch information
hansfbaier committed Nov 14, 2022
1 parent aa7e3de commit 81daf7b
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions snap/snapcraft.yaml
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

0 comments on commit 81daf7b

Please sign in to comment.