Skip to content

Commit bca45cf

Browse files
committed
Update Dockerfile.ubuntu_18.04 and remove filesystem dependence completely in Main.cc
1 parent 81c6837 commit bca45cf

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Dockerfile.ubuntu_18.04

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,32 @@ FROM ubuntu:18.04
22
LABEL author="James Cherry"
33
LABEL maintainer="James Cherry <[email protected]>"
44

5-
# install basics
5+
# Install basics
66
ARG DEBIAN_FRONTEND=noninteractive
77
RUN apt-get update && \
8-
apt-get install -y wget apt-utils git cmake gcc tcl-dev swig bison flex
8+
apt-get install -y wget cmake gcc tcl-dev tcl-tclreadline libeigen3-dev swig bison flex
99

10-
# download CUDD
11-
RUN wget https://www.davidkebo.com/source/cudd_versions/cudd-3.0.0.tar.gz && \
10+
# Download CUDD
11+
RUN wget https://raw.githubusercontent.com/davidkebo/cudd/main/cudd_versions/cudd-3.0.0.tar.gz && \
1212
tar -xvf cudd-3.0.0.tar.gz && \
1313
rm cudd-3.0.0.tar.gz
1414

15-
# install CUDD
15+
# Install CUDD
1616
RUN cd cudd-3.0.0 && \
1717
mkdir ../cudd && \
18-
./configure --prefix=$HOME/cudd && \
19-
make && \
18+
./configure && \
19+
make -j`nproc` && \
2020
make install
2121

22-
# copy files and install OpenSTA
22+
# Copy files and install OpenSTA
2323
RUN mkdir OpenSTA
2424
COPY . OpenSTA
2525
RUN cd OpenSTA && \
26+
rm -rf build && \
2627
mkdir build && \
2728
cd build && \
28-
cmake .. -DCUDD=$HOME/cudd && \
29-
make
29+
cmake .. && \
30+
make -j`nproc`
3031

3132
# Run sta on entry
3233
ENTRYPOINT ["OpenSTA/app/sta"]

app/Main.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
#include <stdio.h>
2121
#include <cstdlib> // exit
22-
#include <filesystem>
2322
#include <tcl.h>
2423
#if TCL_READLINE
2524
#include <tclreadline.h>

0 commit comments

Comments
 (0)