-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
FROM quay.io/pypa/manylinux2014_x86_64 | ||
|
||
RUN yum install -y wget ninja-build | ||
RUN yum install -y \ | ||
wget ninja-build autoconf bc bison flex flex-devel perl \ | ||
python3 python3-devel | ||
|
||
COPY get-verilator.sh /tmp | ||
RUN cd /tmp && bash get-verilator.sh | ||
|
||
COPY get-capnp.sh /tmp | ||
RUN cd /tmp && bash get-capnp.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env bash | ||
##===- utils/get-verilator.sh - Install Verilator ------------*- Script -*-===## | ||
# | ||
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
# See https://llvm.org/LICENSE.txt for license information. | ||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
# | ||
##===----------------------------------------------------------------------===## | ||
|
||
set -e | ||
|
||
mkdir -p "$(dirname "$BASH_SOURCE[0]")/../ext" | ||
EXT_DIR=$(cd "$(dirname "$BASH_SOURCE[0]")/../ext" && pwd) | ||
VERILATOR_VER=4.110 | ||
|
||
echo $EXT_DIR | ||
cd $EXT_DIR | ||
|
||
wget https://github.com/verilator/verilator/archive/v$VERILATOR_VER.tar.gz | ||
tar -zxf v$VERILATOR_VER.tar.gz | ||
cd verilator-$VERILATOR_VER | ||
autoconf | ||
./configure | ||
make -j$(nproc) | ||
make install | ||
cd .. | ||
rm -r verilator-$VERILATOR_VER v$VERILATOR_VER.tar.gz |