Update docker base image to Ubuntu 24.04 (#6147)
This commit is contained in:
parent
e0c3b42262
commit
92970bd9a0
|
@ -29,7 +29,7 @@ jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
3
Changes
3
Changes
|
@ -37,7 +37,7 @@ Verilator 5.037 devel
|
||||||
* Improve hierarchical scheduling visualization in V3ExecGraph (#6009). [Bartłomiej Chmiel, Antmicro Ltd.]
|
* Improve hierarchical scheduling visualization in V3ExecGraph (#6009). [Bartłomiej Chmiel, Antmicro Ltd.]
|
||||||
* Improve DPI temporary 'for' loop performance (#6079). [Bartłomiej Chmiel, Antmicro Ltd.]
|
* Improve DPI temporary 'for' loop performance (#6079). [Bartłomiej Chmiel, Antmicro Ltd.]
|
||||||
* Improve memory usage for SenTrees in V3OrderProcessDomains (#6112). [Geza Lore]
|
* Improve memory usage for SenTrees in V3OrderProcessDomains (#6112). [Geza Lore]
|
||||||
* Improve docker image size (#6139). [Tobias Rosenkranz, bitaggregat GmbH.]
|
* Improve docker image size (#6139). [Tobias Rosenkranz, bitaggregat GmbH]
|
||||||
* Optimize DFG De Morgan patterns (#6090). [Geza Lore]
|
* Optimize DFG De Morgan patterns (#6090). [Geza Lore]
|
||||||
* Optimize DFG variable elimination (#6091). [Geza Lore]
|
* Optimize DFG variable elimination (#6091). [Geza Lore]
|
||||||
* Optimize DFG PUSH_SEL_THROUGH_CONCAT pattern (#6092). [Geza Lore]
|
* Optimize DFG PUSH_SEL_THROUGH_CONCAT pattern (#6092). [Geza Lore]
|
||||||
|
@ -87,6 +87,7 @@ Verilator 5.037 devel
|
||||||
* Fix method calls without parenthesis (#6127). [Alex Solomatnikov]
|
* Fix method calls without parenthesis (#6127). [Alex Solomatnikov]
|
||||||
* Fix `pre_randomize`/`post_randomize` when no randomize (#6128). [Alex Solomatnikov]
|
* Fix `pre_randomize`/`post_randomize` when no randomize (#6128). [Alex Solomatnikov]
|
||||||
* Fix interface array connections with non-zero low declaration index.
|
* Fix interface array connections with non-zero low declaration index.
|
||||||
|
* Update docker base image (#6147). [Tobias Rosenkranz, bitaggregat GmbH]
|
||||||
|
|
||||||
|
|
||||||
Verilator 5.036 2025-04-27
|
Verilator 5.036 2025-04-27
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# Version 2.0.
|
# Version 2.0.
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:24.04
|
||||||
|
|
||||||
# Create the user
|
# Create the user
|
||||||
RUN groupadd verilator \
|
RUN groupadd verilator \
|
||||||
|
@ -36,12 +36,14 @@ RUN apt-get update \
|
||||||
help2man \
|
help2man \
|
||||||
libfl2 \
|
libfl2 \
|
||||||
libfl-dev \
|
libfl-dev \
|
||||||
|
libclang-rt-18-dev \
|
||||||
libgoogle-perftools-dev \
|
libgoogle-perftools-dev \
|
||||||
libsystemc \
|
libsystemc \
|
||||||
libsystemc-dev \
|
libsystemc-dev \
|
||||||
numactl \
|
numactl \
|
||||||
perl \
|
perl \
|
||||||
python3 \
|
python3 \
|
||||||
|
python3-distro \
|
||||||
wget \
|
wget \
|
||||||
z3 \
|
z3 \
|
||||||
zlib1g \
|
zlib1g \
|
||||||
|
|
|
@ -13,7 +13,7 @@ Verilator build. It uses the following parameters:
|
||||||
|
|
||||||
- Source revision (default: master)
|
- Source revision (default: master)
|
||||||
|
|
||||||
- Compiler (GCC 10.3.0, clang 10.0.0, default: 10.3.0)
|
- Compiler (GCC 13.3.0, clang 18.1.3, default: 13.3.0)
|
||||||
|
|
||||||
The container is published as ``verilator/verilator-buildenv`` on `docker
|
The container is published as ``verilator/verilator-buildenv`` on `docker
|
||||||
hub
|
hub
|
||||||
|
@ -31,18 +31,18 @@ To also run tests:
|
||||||
|
|
||||||
docker run -ti verilator/verilator-buildenv test
|
docker run -ti verilator/verilator-buildenv test
|
||||||
|
|
||||||
To change the compiler:
|
To change the compiler use the `-e` switch to pass environment variables:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
docker run -ti -e CC=clang-10 -e CXX=clang++-10 verilator/verilator-buildenv test
|
docker run -ti -e CC=clang-18 -e CXX=clang++-18 verilator/verilator-buildenv test
|
||||||
|
|
||||||
The tests that involve gdb are not working due to security restrictions.
|
The tests, that involve numactl are not working due to security restrictions.
|
||||||
To run those too:
|
To run those too, add the CAP_SYS_NICE capability during the start of the container:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
docker run -ti -e CC=clang-10 -e CXX=clang++-10 --cap-add=SYS_PTRACE --security-opt seccomp=unconfined verilator/verilator-buildenv test
|
docker run -ti --cap-add=CAP_SYS_NICE verilator/verilator-buildenv test
|
||||||
|
|
||||||
Rather then building using a remote git repository you may prefer to use a
|
Rather then building using a remote git repository you may prefer to use a
|
||||||
working copy on the local filesystem. Mount the local working copy path as
|
working copy on the local filesystem. Mount the local working copy path as
|
||||||
|
@ -52,7 +52,7 @@ top of a repository:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
docker run -ti -v ${PWD}:/tmp/repo -e REPO=/tmp/repo -e REV=`git rev-parse --short HEAD` --cap-add=SYS_PTRACE --security-opt seccomp=unconfined verilator/verilator-buildenv test
|
docker run -ti -v ${PWD}:/tmp/repo -e REPO=/tmp/repo -e REV=`git rev-parse --short HEAD` verilator/verilator-buildenv test
|
||||||
|
|
||||||
|
|
||||||
Rebuilding
|
Rebuilding
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# Version 2.0.
|
# Version 2.0.
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:24.04
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& DEBIAN_FRONTEND=noninteractive \
|
&& DEBIAN_FRONTEND=noninteractive \
|
||||||
|
|
Loading…
Reference in New Issue