Skip to content

Commit 6117c4a

Browse files
committed
Merge branch 'master' of https://github.com/verilog-to-routing/vtr-verilog-to-routing into update_1756_archs
2 parents bf664cd + d02b3bc commit 6117c4a

File tree

3,672 files changed

+1205730
-71975
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,672 files changed

+1205730
-71975
lines changed

.github/labeler.yml

Lines changed: 92 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -6,101 +6,126 @@
66

77
# Tools
88
ABC:
9-
- abc_with_bb_support/*
10-
- abc_with_bb_support/**/*
11-
- abc/*
12-
- abc/**/*
9+
- changed-files:
10+
- any-glob-to-any-file: abc_with_bb_support/*
11+
- any-glob-to-any-file: abc_with_bb_support/**/*
12+
- any-glob-to-any-file: abc/*
13+
- any-glob-to-any-file: abc/**/*
1314
ACE2:
14-
- ace2/*
15-
- ace2/**/*
15+
- changed-files:
16+
- any-glob-to-any-file: ace2/*
17+
- any-glob-to-any-file: ace2/**/*
1618
blifexplorer:
17-
- blifexplorer/*
18-
- blifexplorer/**/*
19+
- changed-files:
20+
- any-glob-to-any-file: blifexplorer/*
21+
- any-glob-to-any-file: blifexplorer/**/*
1922
Odin:
20-
- odin_ii/*
21-
- odin_ii/**/*
22-
- odin2_helper/*
23-
- odin2_helper/**/*
23+
- changed-files:
24+
- any-glob-to-any-file: odin_ii/*
25+
- any-glob-to-any-file: odin_ii/**/*
26+
- any-glob-to-any-file: odin2_helper/*
27+
- any-glob-to-any-file: odin2_helper/**/*
2428
Parmys:
25-
- parmys/*
26-
- parmys/**/*
27-
- yosys/*
28-
- yosys/**/*
29+
- changed-files:
30+
- any-glob-to-any-file: parmys/*
31+
- any-glob-to-any-file: parmys/**/*
32+
- any-glob-to-any-file: yosys/*
33+
- any-glob-to-any-file: yosys/**/*
2934
VPR:
30-
- vpr/*
31-
- vpr/**/*
35+
- changed-files:
36+
- any-glob-to-any-file: vpr/*
37+
- any-glob-to-any-file: vpr/**/*
3238

3339
# Libraries
3440
libarchfpga:
35-
- libs/libarchfpga/*
36-
- libs/libarchfpga/**/*
41+
- changed-files:
42+
- any-glob-to-any-file: libs/libarchfpga/*
43+
- any-glob-to-any-file: libs/libarchfpga/**/*
3744
libeasygl:
38-
- libs/libeasygl/*
39-
- libs/libeasygl/**/*
45+
- changed-files:
46+
- any-glob-to-any-file: libs/libeasygl/*
47+
- any-glob-to-any-file: libs/libeasygl/**/*
4048
liblog:
41-
- libs/liblog/*
42-
- libs/liblog/**/*
49+
- changed-files:
50+
- any-glob-to-any-file: libs/liblog/*
51+
- any-glob-to-any-file: libs/liblog/**/*
4352
libpugiutil:
44-
- libs/libpugiutil/*
45-
- libs/libpugiutil/**/*
53+
- changed-files:
54+
- any-glob-to-any-file: libs/libpugiutil/*
55+
- any-glob-to-any-file: libs/libpugiutil/**/*
4656
libvtrutil:
47-
- libs/libvtrutil/*
48-
- libs/libvtrutil/**/*
57+
- changed-files:
58+
- any-glob-to-any-file: libs/libvtrutil/*
59+
- any-glob-to-any-file: libs/libvtrutil/**/*
4960
external_libs:
50-
- libs/EXTERNAL/*
51-
- libs/EXTERNAL/**/*
61+
- changed-files:
62+
- any-glob-to-any-file: libs/EXTERNAL/*
63+
- any-glob-to-any-file: libs/EXTERNAL/**/*
5264

5365
# General areas
5466
docs:
55-
- docs/*
56-
- docs/**/*
57-
- "*README*"
58-
- "*.md"
59-
- tutorial
60-
- "*.rst"
67+
- changed-files:
68+
- any-glob-to-any-file: doc/*
69+
- any-glob-to-any-file: doc/**/*
70+
- any-glob-to-any-file: "*README*"
71+
- any-glob-to-any-file: "*.md"
72+
- any-glob-to-any-file: "*.rst"
6173
infra:
62-
- .github/*
63-
- .github/**/*
64-
- Dockerfile
65-
- "*docker*"
74+
- changed-files:
75+
- any-glob-to-any-file: .github/*
76+
- any-glob-to-any-file: .github/**/*
77+
- any-glob-to-any-file: Dockerfile
78+
- any-glob-to-any-file: "*docker*"
6679
build:
67-
- Makefile
68-
- "*.make"
69-
- CMakeLists.txt
70-
- cmake
80+
- changed-files:
81+
- any-glob-to-any-file: Makefile
82+
- any-glob-to-any-file: "*.make"
83+
- any-glob-to-any-file: CMakeLists.txt
84+
- any-glob-to-any-file: cmake/*
85+
- any-glob-to-any-file: cmake/**/*
7186
tests:
72-
- "*_test.py"
73-
- "*test*"
74-
- "*TESTS*"
87+
- changed-files:
88+
- any-glob-to-any-file: "*_test.py"
89+
- any-glob-to-any-file: "*test*"
90+
- any-glob-to-any-file: "*TESTS*"
7591
scripts:
76-
- scripts
77-
- "*.pl"
78-
- "*.py"
79-
- "*.sh"
92+
- changed-files:
93+
- any-glob-to-any-file: scripts
94+
- any-glob-to-any-file: "*.pl"
95+
- any-glob-to-any-file: "*.py"
96+
- any-glob-to-any-file: "*.sh"
8097
VTR Flow:
81-
- vtr_flow
98+
- changed-files:
99+
- any-glob-to-any-file: vtr_flow
82100

83101
# Tag pull requests with the languages used to make it easy to see what is
84102
# being used.
85103
lang-hdl:
86-
- "*.v"
87-
- "*.sv"
104+
- changed-files:
105+
- any-glob-to-any-file: "**/*.v"
106+
- any-glob-to-any-file: "**/*.sv"
88107
lang-cpp:
89-
- "*.c*"
90-
- "*.h"
108+
- changed-files:
109+
- any-glob-to-any-file: "**/*.c*"
110+
- any-glob-to-any-file: "**/*.h"
91111
lang-perl:
92-
- "*.pl"
93-
- "*perl*"
112+
- changed-files:
113+
- any-glob-to-any-file: "**/*.pl"
114+
- any-glob-to-any-file: "**/*perl*"
94115
lang-python:
95-
- "*.py"
116+
- changed-files:
117+
- any-glob-to-any-file: "**/*.py"
96118
lang-shell:
97-
- "*.sh"
119+
- changed-files:
120+
- any-glob-to-any-file: "**/*.sh"
98121
lang-netlist:
99-
- "*.blif"
100-
- "*.eblif"
101-
- "*.edif"
102-
- "*.vqm"
122+
- changed-files:
123+
- any-glob-to-any-file: "**/*.blif"
124+
- any-glob-to-any-file: "**/*.eblif"
125+
- any-glob-to-any-file: "**/*.edif"
126+
- any-glob-to-any-file: "**/*.vqm"
103127
lang-make:
104-
- "*.make"
105-
- Makefile
106-
- CMakeLists.txt
128+
- changed-files:
129+
- any-glob-to-any-file: "**/*.make"
130+
- any-glob-to-any-file: "**/*Makefile"
131+
- any-glob-to-any-file: "**/CMakeLists.txt"

.github/scripts/install_dependencies.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ sudo apt install -y \
2929
libncurses5-dev \
3030
libx11-dev \
3131
libxft-dev \
32+
libxml2-utils \
3233
libxml++2.6-dev \
3334
libreadline-dev \
3435
tcllib \
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
#!/usr/bin/env bash
2+
3+
sudo apt update
4+
5+
sudo apt install -y \
6+
autoconf \
7+
automake \
8+
bash \
9+
bison \
10+
binutils \
11+
binutils-gold \
12+
build-essential \
13+
capnproto \
14+
exuberant-ctags \
15+
curl \
16+
doxygen \
17+
flex \
18+
fontconfig \
19+
gdb \
20+
git \
21+
gperf \
22+
libcairo2-dev \
23+
libcapnp-dev \
24+
libgtk-3-dev \
25+
libevent-dev \
26+
libfontconfig1-dev \
27+
liblist-moreutils-perl \
28+
libncurses5-dev \
29+
libx11-dev \
30+
libxft-dev \
31+
libxml2-utils \
32+
libxml++2.6-dev \
33+
libreadline-dev \
34+
tcllib \
35+
tcl8.6-dev \
36+
libffi-dev \
37+
perl \
38+
pkg-config \
39+
texinfo \
40+
time \
41+
valgrind \
42+
zip \
43+
qtbase5-dev \
44+
uuid-dev \
45+
default-jdk \
46+
g++-9 \
47+
gcc-9 \
48+
g++-10 \
49+
gcc-10 \
50+
g++-11 \
51+
gcc-11 \
52+
g++-12 \
53+
gcc-12 \
54+
g++-13 \
55+
gcc-13 \
56+
clang-14 \
57+
clang-18 \
58+
clang-format-14 \
59+
libtbb-dev
60+
61+
pip install -r requirements.txt
62+
63+
git clone https://github.com/capnproto/capnproto-java.git $GITHUB_WORKSPACE/env/capnproto-java
64+
pushd $GITHUB_WORKSPACE/env/capnproto-java
65+
make
66+
sudo make install
67+
popd

.github/workflows/containers.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,34 @@
11
name: Containers
22

33
on:
4+
# We want to run the CI when anything is pushed to master.
5+
# Since master is a protected branch this only happens when a PR is merged.
6+
# This is a double check in case the PR was stale and had some issues.
47
push:
8+
branches:
9+
- master
10+
paths-ignore: # Prevents from running if only docs are updated
11+
- 'doc/**'
12+
- '**/*README*'
13+
- '**.md'
14+
- '**.rst'
515
pull_request:
16+
paths-ignore: # Prevents from running if only docs are updated
17+
- 'doc/**'
18+
- '**/*README*'
19+
- '**.md'
20+
- '**.rst'
621
workflow_dispatch:
722
schedule:
823
- cron: '0 0 * * 0' # weekly
924

25+
# We want to cancel previous runs for a given PR or branch / ref if another CI
26+
# run is requested.
27+
# See: https://docs.github.com/en/actions/using-jobs/using-concurrency
28+
concurrency:
29+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
30+
cancel-in-progress: true
31+
1032
jobs:
1133

1234
Image:
@@ -16,15 +38,15 @@ jobs:
1638
steps:
1739

1840
- name: 🧰 Repository Checkout
19-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
2042
with:
2143
submodules: 'true'
2244

2345
- name: 🔧 Generate image name
2446
id: generate
2547
run: |
2648
REPO='${{ github.repository }}'
27-
echo "::set-output name=image::ghcr.io/${REPO,,}/ubuntu/focal/build"
49+
echo "image=ghcr.io/${REPO,,}/ubuntu/focal/build" >> $GITHUB_OUTPUT
2850
2951
- name: ⛴️ Build container image
3052
run: docker build -t ${{ steps.generate.outputs.image }} -f Dockerfile .

.github/workflows/labeler.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
triage:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/labeler@main
9+
- uses: actions/checkout@v4
10+
- uses: actions/labeler@master
1011
with:
1112
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)