pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
OpenROAD: camke build completes 100%, some boost issue is written in TODO
Module Name: pkgsrc-wip
Committed By: mayuresh <mayuresh%acm.org@localhost>
Pushed By: mayuresh
Date: Fri Sep 13 21:31:45 2024 +0530
Changeset: f789f5a16ea799507f9967b603fbaf9fd088e285
Modified Files:
OpenROAD/DESCR
OpenROAD/Makefile
OpenROAD/TODO
OpenROAD/distinfo
Log Message:
OpenROAD: camke build completes 100%, some boost issue is written in TODO
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f789f5a16ea799507f9967b603fbaf9fd088e285
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
OpenROAD/DESCR | 27 ++++-----------------------
OpenROAD/Makefile | 32 ++++++++++++++++----------------
OpenROAD/TODO | 15 +++++++++++++--
OpenROAD/distinfo | 13 +++----------
4 files changed, 36 insertions(+), 51 deletions(-)
diffs:
diff --git a/OpenROAD/DESCR b/OpenROAD/DESCR
index 39e3284d14..d91cf176a8 100644
--- a/OpenROAD/DESCR
+++ b/OpenROAD/DESCR
@@ -1,23 +1,4 @@
-TODO: Adjust the following lines from README.md
-
-# OpenROAD
-
-[![Build Status](https://jenkins.openroad.tools/buildStatus/icon?job=OpenROAD-Public%2Fmaster)](https://jenkins.openroad.tools/job/OpenROAD-Public/job/master/) [![Coverity Scan Status](https://scan.coverity.com/projects/the-openroad-project-openroad/badge.svg)](https://scan.coverity.com/projects/the-openroad-project-openroad) [![Documentation Status](https://readthedocs.org/projects/openroad/badge/?version=latest)](https://openroad.readthedocs.io/en/latest/?badge=latest)
-
-OpenROAD is an integrated chip physical design tool that takes a
-design from synthesized Verilog to routed layout.
-
-
-An outline of steps used to build a chip using OpenROAD are shown below.
-
-* Initialize floorplan - define the chip size and cell rows
-* Place pins (for designs without pads )
-* Place macro cells (RAMs, embedded macros)
-* Insert substrate tap cells
-* Insert power distribution network
-* Macro Placement of macro cells
-* Global placement of standard cells
-* Repair max slew, max capacitance, and max fanout violations and long wires
-* Clock tree synthesis
-* Optimize setup/hold timing
-...
+OpenROAD is the leading open-source, foundational application for semiconductor
+digital design. The OpenROAD flow delivers an Autonomous, No-Human-In-Loop
+(NHIL) flow, 24 hour turnaround from RTL-GDSII for rapid design exploration and
+physical design implementation.
diff --git a/OpenROAD/Makefile b/OpenROAD/Makefile
index 3065ddcad0..bea695b1f5 100644
--- a/OpenROAD/Makefile
+++ b/OpenROAD/Makefile
@@ -1,43 +1,43 @@
# $NetBSD$
-GITHUB_TAG= ${PKGVERSION_NOREV}
-DISTNAME= OpenROAD-24Q3
+GITHUB_TAG= 24Q3
+DISTNAME= ${GITHUB_TAG}
+PKGNAME= ${GITHUB_PROJECT}-${GITHUB_TAG}
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GITHUB:=The-OpenROAD-Project/}
GITHUB_PROJECT= OpenROAD
-#GITHUB_SUBMODULES+= The-OpenROAD-Project OpenSTA v2.2.0 src/sta
-GITHUB_SUBMODULES+= The-OpenROAD-Project abc ef5389d31526003c2ebd7e6d6d6fe3848a20f0a2 third-party/abc
-
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://github.com/The-OpenROAD-Project/OpenROAD/
COMMENT= ASIC physical design tool
LICENSE= modified-bsd
USE_LANGUAGES= c c++
-USE_TOOLS+= bison bash gmake doxygen swig3.0
+USE_TOOLS+= bison bash gmake
CXXFLAGS+= -I${PREFIX}/include/eigen3
-GCC_REQD+= 10
+CXXFLAGS+= -I${PREFIX}/include/sta
+CXXFLAGS+= -I${PREFIX}/include/abc
+CXXFLAGS+= -DABC_NAMESPACE=abc
+
+GCC_REQD+= 13
FORCE_CXX_STD= c++20
CMAKE_CONFIGURE_ARGS+= -DUSE_SYSTEM_OPENSTA=ON
-CMAKE_CONFIGURE_ARGS+= -DOPENSTA_HOME=${PREFIX}
-
-#DATADIR= ${PREFIX}/share/openroad
-#DOCSDIR= ${PREFIX}/share/doc/openroad
-#EXAMPLESDIR= ${PREFIX}/share/examples/openroad
-
-#INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 share/doc share/examples
+CMAKE_CONFIGURE_ARGS+= -DUSE_SYSTEM_BOOST=ON
+CMAKE_CONFIGURE_ARGS+= -DUSE_SYSTEM_ABC=ON
+CMAKE_CONFIGURE_ARGS+= -DENABLE_TESTS=OFF
+CMAKE_CONFIGURE_ARGS+= -DOPENSTA_HOME=${PREFIX}/share/sta
TOOL_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
-SUBST_SED.compiler= -e 's|g++|'${CXX:Q}'|g'
+LDFLAGS+= -lcudd
.include "../../lang/tcl/buildlink3.mk"
.include "../../lang/python/pyversion.mk"
.include "../../lang/python/tool.mk"
.include "../../wip/or-tools/buildlink3.mk"
+.include "../../wip/abc/buildlink3.mk"
.include "../../wip/OpenSTA/buildlink3.mk"
.include "../../wip/nauty/buildlink3.mk"
.include "../../wip/cudd/buildlink3.mk"
@@ -47,7 +47,7 @@ SUBST_SED.compiler= -e 's|g++|'${CXX:Q}'|g'
.include "../../devel/cmake/build.mk"
.include "../../devel/protobuf/buildlink3.mk"
.include "../../devel/re2/buildlink3.mk"
-.include "../../devel/swig3/buildlink3.mk"
+.include "../../devel/swig4/buildlink3.mk"
.include "../../devel/spdlog/buildlink3.mk"
.include "../../math/coinmp/buildlink3.mk"
.include "../../math/openblas/buildlink3.mk"
diff --git a/OpenROAD/TODO b/OpenROAD/TODO
index 878ae9a945..97d925b924 100644
--- a/OpenROAD/TODO
+++ b/OpenROAD/TODO
@@ -1,3 +1,14 @@
-cmake-pkgsrc-build/third-party/abc/CMakeFiles/abc.dir: requires removing -ldl
+cmake progress reaches 100% after which the following error occurs:
+
+In file included from /usr/pkg/include/boost/stacktrace/safe_dump_to.hpp:221,
+ from /usr/pkg/include/boost/stacktrace/frame.hpp:18,
+ from /usr/pkg/include/boost/stacktrace.hpp:15,
+ from /usr/pkgsrc/work/wip/OpenROAD/work/OpenROAD-24Q3/src/Main.cc:40:
+/usr/pkg/include/boost/stacktrace/detail/collect_unwind.ipp:33:2: error: #error "Boost.Stacktrace requires `_Unwind_Backtrace` function. Define `_GNU_SOURCE` macro or `BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED` if _Unwind_Backtrace is available without `_GNU_SOURCE`."
+ 33 | #error "Boost.Stacktrace requires `_Unwind_Backtrace` function. Define `_GNU_SOURCE` macro or `BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED` if _Unwind_Backtrace is available without `_GNU_SOURCE`."
+ | ^~~~~
+gmake[2]: *** [src/CMakeFiles/openroad.dir/build.make:132: src/CMakeFiles/openroad.dir/Main.cc.o] Error 1
+gmake[1]: *** [CMakeFiles/Makefile2:1770: src/CMakeFiles/openroad.dir/all] Error 2
+gmake: *** [Makefile:136: all] Error 2
+*** Error code 2
-The build goes through to 75% going by cmake. There are compilation errors of kind "OpenROAD marked 'override', but does not override" for some OpenSTA headers. Work in progress on this.
diff --git a/OpenROAD/distinfo b/OpenROAD/distinfo
index 9c5293c85d..4c9045d7cb 100644
--- a/OpenROAD/distinfo
+++ b/OpenROAD/distinfo
@@ -1,12 +1,5 @@
$NetBSD$
-BLAKE2s (OpenROAD-24Q3.tar.gz) = 22738849bd1a6018cd931c2459c14151a543ea99c40bd47c7bbb4490e3276f57
-SHA512 (OpenROAD-24Q3.tar.gz) = 63528cf446cf13e3f8df8e73818de1ce9d7b7f49a09ed7ec61fa15ede44e67e51a3d5768371b5dc41c7aab6b8731a17bff5bbb25da1c16bc5b5f8a2bb17ba0cc
-Size (OpenROAD-24Q3.tar.gz) = 282687009 bytes
-BLAKE2s (The-OpenROAD-Project-OpenSTA-v2.2.0.tar.gz) = b615d5a1d3294c0d73436b6e663597f8b959f7d02bdb29fc145644e7ead5b510
-SHA512 (The-OpenROAD-Project-OpenSTA-v2.2.0.tar.gz) = 130e1933f0a62e74ec64cee0b0aeb7fea4283e9c067b060752e7d27cca11095b0114923979197a5cdaafe98b5d6cc2d03a7a710b14f18ae0a0d79eb7d55eafdb
-Size (The-OpenROAD-Project-OpenSTA-v2.2.0.tar.gz) = 4873166 bytes
-BLAKE2s (The-OpenROAD-Project-abc-ef5389d31526003c2ebd7e6d6d6fe3848a20f0a2.tar.gz) = 43310fc362499837c45f47dac76be48c64c7679dc548a404b9d96336c6feb968
-SHA512 (The-OpenROAD-Project-abc-ef5389d31526003c2ebd7e6d6d6fe3848a20f0a2.tar.gz) = ce4129ab1bb965cd0d48491b5cf9ad9f47e1dffa6fcccab4e3d7d8ce76f5fe924d3cc432a0ce50f3fe36f0a2d6e777c555449ae6ba64bae179bcb7e1d4c6b589
-Size (The-OpenROAD-Project-abc-ef5389d31526003c2ebd7e6d6d6fe3848a20f0a2.tar.gz) = 6207247 bytes
-SHA1 (patch-src_sta_CMakeLists.txt) = fed560f3c8f34905e82b7b7ca1905e6b378116c5
+BLAKE2s (24Q3.tar.gz) = 22738849bd1a6018cd931c2459c14151a543ea99c40bd47c7bbb4490e3276f57
+SHA512 (24Q3.tar.gz) = 63528cf446cf13e3f8df8e73818de1ce9d7b7f49a09ed7ec61fa15ede44e67e51a3d5768371b5dc41c7aab6b8731a17bff5bbb25da1c16bc5b5f8a2bb17ba0cc
+Size (24Q3.tar.gz) = 282687009 bytes
Home |
Main Index |
Thread Index |
Old Index