generated from chipsalliance/chisel-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
35 lines (30 loc) · 881 Bytes
/
docker-compose.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
version: "3"
services:
test:
image: hseeberger/scala-sbt:11.0.2-oraclelinux7_1.4.7_2.12.12
volumes:
- ./:/work/
working_dir: /work
command: sbt test
generate:
image: hseeberger/scala-sbt:11.0.2-oraclelinux7_1.4.7_2.12.12
volumes:
- ./:/work/
working_dir: /work
command: sbt 'runMain top.ChiselNesDriver --target-dir dst'
doc:
image: hseeberger/scala-sbt:11.0.2-oraclelinux7_1.4.7_2.12.12
volumes:
- ./:/work/
working_dir: /work
command: sbt doc
diagram:
build:
context: ./utils/diagrammer/
dockerfile: Dockerfile
volumes:
- ./dst:/diagrammer/dst
mem_reservation: 4096GB
environment:
- "JAVA_OPTS=-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MaxRAMFraction=1"
command: /bin/bash ./diagram.sh -td ./dst -i ./dst/ChiselNes.fir --open-command echo