Skip to content

Commit

Permalink
Merge branch 'openfpga' of github.com:verilog-to-routing/vtr-verilog-…
Browse files Browse the repository at this point in the history
…to-routing into congestion_placement
  • Loading branch information
behzadmehmood committed Jul 31, 2024
2 parents c30a951 + 51bd666 commit 363291f
Show file tree
Hide file tree
Showing 5,081 changed files with 1,861,015 additions and 474,533 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2

updates:

# Monthly update of submodules.
# This dependabot will create a PR if there are any updates to the submodules.
- package-ecosystem: gitsubmodule
schedule:
interval: "monthly"

# Update all submodules
directory: /
159 changes: 92 additions & 67 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,101 +6,126 @@

# Tools
ABC:
- abc_with_bb_support/*
- abc_with_bb_support/**/*
- abc/*
- abc/**/*
- changed-files:
- any-glob-to-any-file: abc_with_bb_support/*
- any-glob-to-any-file: abc_with_bb_support/**/*
- any-glob-to-any-file: abc/*
- any-glob-to-any-file: abc/**/*
ACE2:
- ace2/*
- ace2/**/*
- changed-files:
- any-glob-to-any-file: ace2/*
- any-glob-to-any-file: ace2/**/*
blifexplorer:
- blifexplorer/*
- blifexplorer/**/*
- changed-files:
- any-glob-to-any-file: blifexplorer/*
- any-glob-to-any-file: blifexplorer/**/*
Odin:
- odin_ii/*
- odin_ii/**/*
- odin2_helper/*
- odin2_helper/**/*
- changed-files:
- any-glob-to-any-file: odin_ii/*
- any-glob-to-any-file: odin_ii/**/*
- any-glob-to-any-file: odin2_helper/*
- any-glob-to-any-file: odin2_helper/**/*
Parmys:
- parmys/*
- parmys/**/*
- yosys/*
- yosys/**/*
- changed-files:
- any-glob-to-any-file: parmys/*
- any-glob-to-any-file: parmys/**/*
- any-glob-to-any-file: yosys/*
- any-glob-to-any-file: yosys/**/*
VPR:
- vpr/*
- vpr/**/*
- changed-files:
- any-glob-to-any-file: vpr/*
- any-glob-to-any-file: vpr/**/*

# Libraries
libarchfpga:
- libs/libarchfpga/*
- libs/libarchfpga/**/*
- changed-files:
- any-glob-to-any-file: libs/libarchfpga/*
- any-glob-to-any-file: libs/libarchfpga/**/*
libeasygl:
- libs/libeasygl/*
- libs/libeasygl/**/*
- changed-files:
- any-glob-to-any-file: libs/libeasygl/*
- any-glob-to-any-file: libs/libeasygl/**/*
liblog:
- libs/liblog/*
- libs/liblog/**/*
- changed-files:
- any-glob-to-any-file: libs/liblog/*
- any-glob-to-any-file: libs/liblog/**/*
libpugiutil:
- libs/libpugiutil/*
- libs/libpugiutil/**/*
- changed-files:
- any-glob-to-any-file: libs/libpugiutil/*
- any-glob-to-any-file: libs/libpugiutil/**/*
libvtrutil:
- libs/libvtrutil/*
- libs/libvtrutil/**/*
- changed-files:
- any-glob-to-any-file: libs/libvtrutil/*
- any-glob-to-any-file: libs/libvtrutil/**/*
external_libs:
- libs/EXTERNAL/*
- libs/EXTERNAL/**/*
- changed-files:
- any-glob-to-any-file: libs/EXTERNAL/*
- any-glob-to-any-file: libs/EXTERNAL/**/*

# General areas
docs:
- docs/*
- docs/**/*
- "*README*"
- "*.md"
- tutorial
- "*.rst"
- changed-files:
- any-glob-to-any-file: doc/*
- any-glob-to-any-file: doc/**/*
- any-glob-to-any-file: "*README*"
- any-glob-to-any-file: "*.md"
- any-glob-to-any-file: "*.rst"
infra:
- .github/*
- .github/**/*
- Dockerfile
- "*docker*"
- changed-files:
- any-glob-to-any-file: .github/*
- any-glob-to-any-file: .github/**/*
- any-glob-to-any-file: Dockerfile
- any-glob-to-any-file: "*docker*"
build:
- Makefile
- "*.make"
- CMakeLists.txt
- cmake
- changed-files:
- any-glob-to-any-file: Makefile
- any-glob-to-any-file: "*.make"
- any-glob-to-any-file: CMakeLists.txt
- any-glob-to-any-file: cmake/*
- any-glob-to-any-file: cmake/**/*
tests:
- "*_test.py"
- "*test*"
- "*TESTS*"
- changed-files:
- any-glob-to-any-file: "*_test.py"
- any-glob-to-any-file: "*test*"
- any-glob-to-any-file: "*TESTS*"
scripts:
- scripts
- "*.pl"
- "*.py"
- "*.sh"
- changed-files:
- any-glob-to-any-file: scripts
- any-glob-to-any-file: "*.pl"
- any-glob-to-any-file: "*.py"
- any-glob-to-any-file: "*.sh"
VTR Flow:
- vtr_flow
- changed-files:
- any-glob-to-any-file: vtr_flow

# Tag pull requests with the languages used to make it easy to see what is
# being used.
lang-hdl:
- "*.v"
- "*.sv"
- changed-files:
- any-glob-to-any-file: "**/*.v"
- any-glob-to-any-file: "**/*.sv"
lang-cpp:
- "*.c*"
- "*.h"
- changed-files:
- any-glob-to-any-file: "**/*.c*"
- any-glob-to-any-file: "**/*.h"
lang-perl:
- "*.pl"
- "*perl*"
- changed-files:
- any-glob-to-any-file: "**/*.pl"
- any-glob-to-any-file: "**/*perl*"
lang-python:
- "*.py"
- changed-files:
- any-glob-to-any-file: "**/*.py"
lang-shell:
- "*.sh"
- changed-files:
- any-glob-to-any-file: "**/*.sh"
lang-netlist:
- "*.blif"
- "*.eblif"
- "*.edif"
- "*.vqm"
- changed-files:
- any-glob-to-any-file: "**/*.blif"
- any-glob-to-any-file: "**/*.eblif"
- any-glob-to-any-file: "**/*.edif"
- any-glob-to-any-file: "**/*.vqm"
lang-make:
- "*.make"
- Makefile
- CMakeLists.txt
- changed-files:
- any-glob-to-any-file: "**/*.make"
- any-glob-to-any-file: "**/*Makefile"
- any-glob-to-any-file: "**/CMakeLists.txt"
3 changes: 2 additions & 1 deletion .github/scripts/hostsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ apt install -y \
gcc-9 \
wget \
openssl \
libssl-dev
libssl-dev \
libtbb-dev

# installing the latest version of cmake
apt install -y apt-transport-https ca-certificates gnupg
Expand Down
1 change: 1 addition & 0 deletions .github/scripts/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ sudo apt install -y \
libncurses5-dev \
libx11-dev \
libxft-dev \
libxml2-utils \
libxml++2.6-dev \
libreadline-dev \
tcllib \
Expand Down
67 changes: 67 additions & 0 deletions .github/scripts/install_noble_dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#!/usr/bin/env bash

sudo apt update

sudo apt install -y \
autoconf \
automake \
bash \
bison \
binutils \
binutils-gold \
build-essential \
capnproto \
exuberant-ctags \
curl \
doxygen \
flex \
fontconfig \
gdb \
git \
gperf \
libcairo2-dev \
libcapnp-dev \
libgtk-3-dev \
libevent-dev \
libfontconfig1-dev \
liblist-moreutils-perl \
libncurses5-dev \
libx11-dev \
libxft-dev \
libxml2-utils \
libxml++2.6-dev \
libreadline-dev \
tcllib \
tcl8.6-dev \
libffi-dev \
perl \
pkg-config \
texinfo \
time \
valgrind \
zip \
qtbase5-dev \
uuid-dev \
default-jdk \
g++-9 \
gcc-9 \
g++-10 \
gcc-10 \
g++-11 \
gcc-11 \
g++-12 \
gcc-12 \
g++-13 \
gcc-13 \
clang-14 \
clang-18 \
clang-format-14 \
libtbb-dev

pip install -r requirements.txt

git clone https://github.com/capnproto/capnproto-java.git $GITHUB_WORKSPACE/env/capnproto-java
pushd $GITHUB_WORKSPACE/env/capnproto-java
make
sudo make install
popd
30 changes: 27 additions & 3 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
name: Containers

on:
# We want to run the CI when anything is pushed to master.
# Since master is a protected branch this only happens when a PR is merged.
# This is a double check in case the PR was stale and had some issues.
push:
branches:
- master
paths-ignore: # Prevents from running if only docs are updated
- 'doc/**'
- '**/*README*'
- '**.md'
- '**.rst'
pull_request:
paths-ignore: # Prevents from running if only docs are updated
- 'doc/**'
- '**/*README*'
- '**.md'
- '**.rst'
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # weekly

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

jobs:

Image:
Expand All @@ -16,13 +38,15 @@ jobs:
steps:

- name: 🧰 Repository Checkout
uses: actions/checkout@v3

uses: actions/checkout@v4
with:
submodules: 'true'

- name: 🔧 Generate image name
id: generate
run: |
REPO='${{ github.repository }}'
echo "::set-output name=image::ghcr.io/${REPO,,}/ubuntu/focal/build"
echo "image=ghcr.io/${REPO,,}/ubuntu/focal/build" >> $GITHUB_OUTPUT
- name: ⛴️ Build container image
run: docker build -t ${{ steps.generate.outputs.image }} -f Dockerfile .
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
- uses: actions/checkout@v4
- uses: actions/labeler@master
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Loading

0 comments on commit 363291f

Please sign in to comment.