Browse Source

Add docs for Symbiyosys, Yosys & GHDL to their directories

T. Meissner 3 weeks ago
parent
commit
b46b4800da
2 changed files with 9 additions and 3 deletions
  1. 3
    1
      ghdl-formal.Dockerfile
  2. 6
    2
      symbiyosys.Dockerfile

+ 3
- 1
ghdl-formal.Dockerfile View File

@@ -16,7 +16,9 @@ RUN apt-get update -qq && \
16 16
     curl https://codeload.github.com/ghdl/ghdl/tar.gz/master | tar xzf - --strip-components=1 && \
17 17
     ./configure --enable-synth --prefix=/opt/ghdl --with-llvm-config=llvm-config-$LLVM_VER && \
18 18
     make && \
19
-    make install
19
+    make install && \
20
+    mkdir /opt/ghdl/doc && \
21
+    curl https://ghdl.readthedocs.io/_/downloads/en/latest/pdf/ -o /opt/ghdl/doc/ghdl_manual.pdf
20 22
 
21 23
 
22 24
 ## GHDLSYNTH-BETA ##

+ 6
- 2
symbiyosys.Dockerfile View File

@@ -22,6 +22,7 @@ RUN apt-get update -qq && \
22 22
     libboost-python-dev \
23 23
     libboost-filesystem-dev \
24 24
     clang \
25
+    curl \
25 26
     git && \
26 27
     apt-get autoclean && apt-get clean && apt-get -y autoremove && \
27 28
     update-ca-certificates && \
@@ -30,7 +31,9 @@ RUN apt-get update -qq && \
30 31
     git clone https://github.com/YosysHQ/yosys.git yosys && \
31 32
     cd yosys && \
32 33
     make -j$(nproc) PREFIX=/opt/yosys && \
33
-    make install PREFIX=/opt/yosys
34
+    make install PREFIX=/opt/yosys && \
35
+    mkdir /opt/yosys/doc && \
36
+    curl http://www.clifford.at/yosys/files/yosys_manual.pdf -o /opt/yosys/doc/yosys_manual.pdf
34 37
 
35 38
 
36 39
 # SymbiYosys, Solvers
@@ -45,7 +48,6 @@ RUN apt-get update -qq && \
45 48
     autoconf \
46 49
     gperf  \
47 50
     cmake \
48
-    curl \
49 51
     libgmp-dev \
50 52
     ninja-build \
51 53
     g++ \
@@ -58,6 +60,8 @@ RUN apt-get update -qq && \
58 60
     git clone https://github.com/YosysHQ/SymbiYosys.git symbiyosys && \
59 61
     cd symbiyosys && \
60 62
     make install PREFIX=/opt/symbiyosys && \
63
+    mkdir /opt/symbiyosys/doc && \
64
+    curl https://symbiyosys.readthedocs.io/_/downloads/en/latest/pdf/ -o /opt/symbiyosys/doc/symbiyosys_manual.pdf && \
61 65
     cd .. && \
62 66
     git clone https://github.com/Z3Prover/z3.git z3 && \
63 67
     cd z3 && \