diff --git a/.github/scripts/install_dependencies.sh b/.github/scripts/install_dependencies.sh index 531334e4c16..6c10e73960e 100755 --- a/.github/scripts/install_dependencies.sh +++ b/.github/scripts/install_dependencies.sh @@ -43,15 +43,19 @@ sudo apt install -y \ qtbase5-dev \ uuid-dev \ default-jdk \ - clang \ - clang-format-12 \ g++-9 \ gcc-9 \ g++-10 \ gcc-10 \ g++-11 \ gcc-11 \ + g++-12 \ + gcc-12 \ + clang-11 \ clang-12 \ + clang-13 \ + clang-14 \ + clang-format-14 \ libtbb12 pip install -r requirements.txt diff --git a/.github/workflows/build_dependency_ubuntu-22.04.sh b/.github/workflows/build_dependency_ubuntu-22.04.sh deleted file mode 100755 index ec162f53b56..00000000000 --- a/.github/workflows/build_dependency_ubuntu-22.04.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/env bash - -# The package list is designed for Ubuntu 20.04 LTS -add-apt-repository -y ppa:ubuntu-toolchain-r/test -apt-get update -apt-get install -y \ - autoconf \ - automake \ - bison \ - ccache \ - cmake \ - exuberant-ctags \ - curl \ - doxygen \ - flex \ - fontconfig \ - gdb \ - git \ - gperf \ - iverilog \ - libc6-dev \ - libcairo2-dev \ - libevent-dev \ - libffi-dev \ - libfontconfig1-dev \ - liblist-moreutils-perl \ - libncurses5-dev \ - libreadline-dev \ - libreadline8 \ - libx11-dev \ - libxft-dev \ - libxml++2.6-dev \ - make \ - perl \ - pkg-config \ - python3 \ - python3-setuptools \ - python3-lxml \ - python3-pip \ - qtbase5-dev \ - tcllib \ - tcl8.6-dev \ - texinfo \ - time \ - valgrind \ - wget \ - zip \ - swig \ - expect \ - g++-9 \ - gcc-9 \ - g++-10 \ - gcc-10 \ - g++-11 \ - gcc-11 \ - clang \ - clang-12 \ - clang-format-12 \ - libxml2-utils diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e978676bf3..2b3eae608ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -363,7 +363,11 @@ jobs: - { name: 'GCC 9 (Ubuntu Jammy - 22.04)', eval: 'CC=gcc-9 && CXX=g++-9', } - { name: 'GCC 10 (Ubuntu Jammy - 22.04)', eval: 'CC=gcc-10 && CXX=g++-10', } - { name: 'GCC 11 (Ubuntu Jammy - 22.04)', eval: 'CC=gcc-11 && CXX=g++-11', } + - { name: 'GCC 12 (Ubuntu Jammy - 22.04)', eval: 'CC=gcc-12 && CXX=g++-12', } + - { name: 'Clang 11 (Ubuntu Jammy - 22.04)', eval: 'CC=clang-11 && CXX=clang++-11', } - { name: 'Clang 12 (Ubuntu Jammy - 22.04)', eval: 'CC=clang-12 && CXX=clang++-12', } + - { name: 'Clang 13 (Ubuntu Jammy - 22.04)', eval: 'CC=clang-13 && CXX=clang++-13', } + - { name: 'Clang 14 (Ubuntu Jammy - 22.04)', eval: 'CC=clang-14 && CXX=clang++-14', } name: 'B: ${{ matrix.name }}' steps: diff --git a/libs/librrgraph/src/base/rr_graph_storage.cpp b/libs/librrgraph/src/base/rr_graph_storage.cpp index 5ea8964eb73..94ca29b7636 100644 --- a/libs/librrgraph/src/base/rr_graph_storage.cpp +++ b/libs/librrgraph/src/base/rr_graph_storage.cpp @@ -120,7 +120,7 @@ struct edge_swapper { std::swap(a.storage_->edge_src_node_[a_edge], a.storage_->edge_src_node_[b_edge]); std::swap(a.storage_->edge_dest_node_[a_edge], a.storage_->edge_dest_node_[b_edge]); std::swap(a.storage_->edge_switch_[a_edge], a.storage_->edge_switch_[b_edge]); - std::swap(a.storage_->edge_remapped_[a_edge], a.storage_->edge_remapped_[b_edge]); + std::vector::swap(a.storage_->edge_remapped_[a_edge], a.storage_->edge_remapped_[b_edge]); } friend void swap(edge_swapper& a, edge_swapper& b) { diff --git a/libs/libvtrutil/src/vtr_geometry.h b/libs/libvtrutil/src/vtr_geometry.h index 059fa8d2d0b..3685c308653 100644 --- a/libs/libvtrutil/src/vtr_geometry.h +++ b/libs/libvtrutil/src/vtr_geometry.h @@ -71,10 +71,10 @@ class Point { T y() const; ///@brief == operator - friend bool operator==<>(Point lhs, Point rhs); + friend bool operator== <>(Point lhs, Point rhs); ///@brief != operator - friend bool operator!=<>(Point lhs, Point rhs); + friend bool operator!= <>(Point lhs, Point rhs); ///@brief < operator friend bool operator< <>(Point lhs, Point rhs); @@ -172,10 +172,10 @@ class Rect { bool empty() const; ///@brief == operator - friend bool operator==<>(const Rect& lhs, const Rect& rhs); + friend bool operator== <>(const Rect& lhs, const Rect& rhs); ///@brief != operator - friend bool operator!=<>(const Rect& lhs, const Rect& rhs); + friend bool operator!= <>(const Rect& lhs, const Rect& rhs); public: //Mutators ///@brief set xmin to a point @@ -296,10 +296,10 @@ class RectUnion { * * Note: does not check whether the representations they are equivalent */ - friend bool operator==<>(const RectUnion& lhs, const RectUnion& rhs); + friend bool operator== <>(const RectUnion& lhs, const RectUnion& rhs); ///@brief != operator - friend bool operator!=<>(const RectUnion& lhs, const RectUnion& rhs); + friend bool operator!= <>(const RectUnion& lhs, const RectUnion& rhs); private: // Note that a union of rectanges may have holes and may not be contiguous diff --git a/libs/libvtrutil/src/vtr_strong_id.h b/libs/libvtrutil/src/vtr_strong_id.h index 2a10218a983..1ce922ab5da 100644 --- a/libs/libvtrutil/src/vtr_strong_id.h +++ b/libs/libvtrutil/src/vtr_strong_id.h @@ -202,9 +202,9 @@ class StrongId { * Note that since these are templated functions we provide an empty set of template parameters * after the function name (i.e. <>) */ - friend bool operator==<>(const StrongId& lhs, const StrongId& rhs); + friend bool operator== <>(const StrongId& lhs, const StrongId& rhs); ///@brief != operator - friend bool operator!=<>(const StrongId& lhs, const StrongId& rhs); + friend bool operator!= <>(const StrongId& lhs, const StrongId& rhs); ///@brief < operator friend bool operator< <>(const StrongId& lhs, const StrongId& rhs);