forked from parallaxsw/OpenSTA
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'parallaxsw:master' into main
- Loading branch information
Showing
5 changed files
with
30 additions
and
15 deletions.
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
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,23 +1,33 @@ | ||
FROM ubuntu:18.04 | ||
FROM ubuntu:22.04 | ||
LABEL author="James Cherry" | ||
LABEL maintainer="James Cherry <[email protected]>" | ||
|
||
# Install basics | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update && \ | ||
apt-get install -y wget cmake gcc tcl-dev tcl-tclreadline libeigen3-dev swig bison flex | ||
apt-get install -y \ | ||
wget \ | ||
cmake \ | ||
gcc \ | ||
tcl-dev \ | ||
tcl-tclreadline \ | ||
libeigen3-dev \ | ||
swig \ | ||
bison \ | ||
flex \ | ||
automake \ | ||
autotools-dev | ||
|
||
# Download CUDD | ||
RUN wget https://raw.githubusercontent.com/davidkebo/cudd/main/cudd_versions/cudd-3.0.0.tar.gz && \ | ||
tar -xvf cudd-3.0.0.tar.gz && \ | ||
rm cudd-3.0.0.tar.gz | ||
|
||
# Install CUDD | ||
# Build CUDD | ||
RUN cd cudd-3.0.0 && \ | ||
mkdir ../cudd && \ | ||
./configure && \ | ||
make -j`nproc` && \ | ||
make install | ||
make -j`nproc` | ||
|
||
# Copy files and install OpenSTA | ||
RUN mkdir OpenSTA | ||
|
@@ -26,7 +36,7 @@ RUN cd OpenSTA && \ | |
rm -rf build && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake .. && \ | ||
cmake -DCUDD_DIR=../cudd-3.0.0 .. && \ | ||
make -j`nproc` | ||
|
||
# Run sta on entry | ||
|
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
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
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