-
Notifications
You must be signed in to change notification settings - Fork 1
/
.build.yml
47 lines (47 loc) · 1.09 KB
/
.build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
image: fedora/31
packages:
- wget
- csh
- git
- gcc-c++
- bison
- flex
- tcl-devel
- readline-devel
- gawk
- libffi-devel
- graphviz
- pkg-config
- python3
- python3-devel
- boost-devel
- boost-python3-devel
- zlib-devel
- cmake
- eigen3-devel
- automake
- autoconf
- gperf
- libyaml-devel
- gmp-devel
- z3-devel
- yices-devel
- yices-tools
sources:
- https://git.sr.ht/~macbook/gram
tasks:
- install-python-packages: |
pip install git+git://github.com/nmigen/nmigen.git git+git://github.com/nmigen/nmigen-boards.git git+git://github.com/nmigen/nmigen-stdio.git git+git://github.com/nmigen/nmigen-soc.git git+git://github.com/lambdaconcept/lambdasoc.git yowasp-yosys --user
pip list
- install-gram: |
cd ~/gram
python setup.py install --user
- run-tests: |
alias yosys=yowasp-yosys
cd ~/gram
export YOSYS=yowasp-yosys SBY=yowasp-sby SMTBMC=yowasp-yosys-smtbmc NMIGEN_USE_YOSYS=builtin
contrib/test
- compile-libgram: |
cd ~/gram/libgram
CFLAGS="-DGRAM_RW_FUNC" make TRIPLE=""
shell: false