Skip to content

Commit 740ad14

Browse files
committed
Add apicula to doc/tools.tml
1 parent 142a1b9 commit 740ad14

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

apicula.dockerfile

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,26 @@
2121
FROM hdlc/build:build AS build
2222

2323
RUN apt-get update -qq \
24-
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends python3-setuptools python3-pip
24+
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends wget
2525

26-
RUN mkdir /tmp/apicula \
27-
&& cd /tmp/apicula \
28-
&& pip3 install apycula --target /tmp/apicula
26+
RUN mkdir /opt/apicula \
27+
&& wget https://files.pythonhosted.org/packages/1a/d6/b3162f87ff114d639095fe7c0655080ee16caff9037d6629f738d8b28d92/Apycula-0.0.1a6.tar.gz \
28+
&& tar -xvf Apycula-0.0.1a6.tar.gz -C /opt/apicula \
29+
&& mv /opt/apicula/Apycula-0.0.1a6/* /opt/apicula \
30+
&& rm -fr /opt/apicula/Apycula-0.0.1a6/ \
31+
&& ls -lah /opt/apicula
2932

3033
#---
3134

3235
FROM scratch AS pkg
33-
COPY --from=build /tmp/apicula /apicula
36+
COPY --from=build /opt/apicula /apicula
3437

3538
#---
3639

3740
FROM hdlc/build:base
3841
RUN apt-get update -qq \
39-
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends python3-setuptools python3-pip \
40-
&& pip3 install apycula
42+
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends python3 python3-setuptools
43+
44+
COPY --from=build /opt/apicula /opt/apicula
45+
RUN cd /opt/apicula && python3 setup.py install
46+

doc/tools.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,3 +187,16 @@ z3:
187187
- 'formal:min'
188188
- 'formal'
189189
- 'formal:all'
190+
191+
#---
192+
193+
apicula:
194+
url: 'https://hdl.github.io/awesome/items/apicula'
195+
pkg:
196+
- 'apicula'
197+
use:
198+
- 'apicula'
199+
in:
200+
- 'impl'
201+
otherin:
202+
- 'nextpnr:apicula'

test/apicula.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Authors:
44
# Unai Martinez-Corral
5+
# Lucas Teske
56
#
67
# Copyright 2020-2021 Unai Martinez-Corral <[email protected]>
78
#

0 commit comments

Comments
 (0)