From 126f891c1bb12c32159f7fbf5615174f76dc3baf Mon Sep 17 00:00:00 2001 From: Sanjiv Mathur Date: Mon, 30 Aug 2021 17:56:11 +0000 Subject: [PATCH 1/2] Use berkeley ABC in yosys build Signed-off-by: Sanjiv Mathur --- build_openroad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_openroad.sh b/build_openroad.sh index 9fd4af5d4c..dcf0a82e5f 100755 --- a/build_openroad.sh +++ b/build_openroad.sh @@ -145,7 +145,7 @@ if [ "$build_method" == "DOCKER" ]; then # Local build elif [ "$build_method" == "LOCAL" ]; then - $NICE make install -C tools/yosys -j${PROC} PREFIX=$(pwd)/tools/install/yosys CONFIG=gcc + $NICE make install -C tools/yosys -j${PROC} PREFIX=$(pwd)/tools/install/yosys CONFIG=gcc ABCREV=62180f3 ABCURL=https://github.com/berkeley-abc/abc cmake -B tools/OpenROAD/build tools/OpenROAD -DCMAKE_INSTALL_PREFIX=tools/install/OpenROAD $NICE cmake --build tools/OpenROAD/build --target install -j${PROC} From f05a0ccc74f76144cb7fe2d3b67f052bfa3d25bf Mon Sep 17 00:00:00 2001 From: Sanjiv Mathur Date: Tue, 31 Aug 2021 04:35:28 +0000 Subject: [PATCH 2/2] New ABC version from berkeley github Signed-off-by: Sanjiv Mathur --- tools/yosys_util/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/yosys_util/Dockerfile b/tools/yosys_util/Dockerfile index 6d58b8ae81..17d35f24ad 100644 --- a/tools/yosys_util/Dockerfile +++ b/tools/yosys_util/Dockerfile @@ -1,4 +1,4 @@ FROM openroad/yosys-dev AS builder COPY . /yosys WORKDIR /yosys -RUN make PREFIX=/install CONFIG=gcc install -j$(nproc) +RUN make PREFIX=/install CONFIG=gcc ABCREV=62180f3 ABCURL=https://github.com/berkeley-abc/abc install -j$(nproc)