pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
openroad renamed OpenROAD, per url2pkg nomenclature
Module Name: pkgsrc-wip
Committed By: mayuresh <mayuresh%acm.org@localhost>
Pushed By: mayuresh
Date: Sun Aug 25 10:34:14 2024 +0530
Changeset: cfe9c110b2a908b432fc720925d5b1c382a048a4
Added Files:
OpenROAD/DESCR
OpenROAD/Makefile
OpenROAD/PLIST
OpenROAD/TODO
OpenROAD/distinfo
Removed Files:
openroad/DESCR
openroad/Makefile
openroad/TODO
openroad/distinfo
openroad/patches/patch-CMakeLists.txt
openroad/patches/patch-src_odb_include_odb_dbTypes.h
openroad/patches/patch-src_stt_src_flt_etc_MakeDatVar.tcl
openroad/patches/patch-swig-tcl86
Log Message:
openroad renamed OpenROAD, per url2pkg nomenclature
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cfe9c110b2a908b432fc720925d5b1c382a048a4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
OpenROAD/DESCR | 23 ++++++
OpenROAD/Makefile | 49 ++++++++++++
OpenROAD/PLIST | 4 +
OpenROAD/TODO | 4 +
OpenROAD/distinfo | 8 ++
openroad/DESCR | 2 -
openroad/Makefile | 87 ----------------------
openroad/TODO | 6 --
openroad/distinfo | 9 ---
openroad/patches/patch-CMakeLists.txt | 14 ----
.../patches/patch-src_odb_include_odb_dbTypes.h | 13 ----
.../patch-src_stt_src_flt_etc_MakeDatVar.tcl | 13 ----
openroad/patches/patch-swig-tcl86 | 20 -----
13 files changed, 88 insertions(+), 164 deletions(-)
diffs:
diff --git a/OpenROAD/DESCR b/OpenROAD/DESCR
new file mode 100644
index 0000000000..39e3284d14
--- /dev/null
+++ b/OpenROAD/DESCR
@@ -0,0 +1,23 @@
+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
+...
diff --git a/OpenROAD/Makefile b/OpenROAD/Makefile
new file mode 100644
index 0000000000..9eb04215c8
--- /dev/null
+++ b/OpenROAD/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD$
+
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= OpenROAD-2.0
+CATEGORIES= cad
+MASTER_SITES= ${MASTER_SITE_GITHUB:=The-OpenROAD-Project/}
+GITHUB_PROJECT= OpenROAD
+GITHUB_SUBMODULES+= The-OpenROAD-Project OpenSTA 42b994d The_OpenROAD_Project_OpenSTA/src/sta
+
+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 cmake bash gmake
+USE_CMAKE= yes
+
+CXXFLAGS+= -I${PREFIX}/include/eigen3 \
+
+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
+
+DEPENDS+= base64-[0-9]*:../../converters/base64
+
+TOOL_DEPENDS+= lemon>=1.0:../../devel/lemon
+TOOL_DEPENDS+= swig4-[0-9]*:../../devel/swig4
+
+SUBST_SED.compiler= -e 's|g++|'${CXX:Q}'|g'
+
+UNRESOLVED_LIB_DEPS= libcoinasl.so:math/asl \
+ libcoinmumps.so:math/coin-or-mumps \
+ libcudd.so:math/cudd \
+ libnauty.so:math/nauty \
+ libortools.so:math/or-tools \
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/abseil/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../devel/protobuf/buildlink3.mk"
+.include "../../devel/re2/buildlink3.mk"
+.include "../../devel/spdlog/buildlink3.mk"
+.include "../../math/coinmp/buildlink3.mk"
+.include "../../math/openblas/buildlink3.mk"
+.include "../../textproc/fmtlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/OpenROAD/PLIST b/OpenROAD/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/OpenROAD/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/OpenROAD/TODO b/OpenROAD/TODO
new file mode 100644
index 0000000000..fc2b7de996
--- /dev/null
+++ b/OpenROAD/TODO
@@ -0,0 +1,4 @@
+This is a work in progress. A number of dependencies are missing and need to be
+built.
+
+See UNRESOLVED_LIB_DEPS in Makefile
diff --git a/OpenROAD/distinfo b/OpenROAD/distinfo
new file mode 100644
index 0000000000..50943339e1
--- /dev/null
+++ b/OpenROAD/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+BLAKE2s (OpenROAD-2.0.tar.gz) = 4cc2dcbbb1f4935850f9e9994a13fe635ef6db6caa631f3c9c2c97bc97462c83
+SHA512 (OpenROAD-2.0.tar.gz) = 02194e9daa04d89281a6ffff4bbdac0117764dc9032e265e5b7e64ba4cf63f4e0ae1590b217926d75d3e2f807d77aa31f7a31e037b4ee48f2c23fa1baca01621
+Size (OpenROAD-2.0.tar.gz) = 222297114 bytes
+BLAKE2s (The-OpenROAD-Project-OpenSTA-42b994d.tar.gz) = b4a146f09f678da71daaad52beedc9efdb79149748626ef79a5bce20ba95ccca
+SHA512 (The-OpenROAD-Project-OpenSTA-42b994d.tar.gz) = a1d628e6c5884cd27c9cfca91d878ac978f5a142378bc7cee9e332effa9aa5aadce2d3b7f1d1ca2064dc4e08820f71a276c0a75732765aef232b88bdc17671a6
+Size (The-OpenROAD-Project-OpenSTA-42b994d.tar.gz) = 7519111 bytes
diff --git a/openroad/DESCR b/openroad/DESCR
deleted file mode 100644
index 643c4f7ca2..0000000000
--- a/openroad/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-OpenROAD is a chip physical design tool. It uses the OpenDB database as a design
-database and representation. OpenSTA is used for static timing analysis.
diff --git a/openroad/Makefile b/openroad/Makefile
deleted file mode 100644
index 954ec91695..0000000000
--- a/openroad/Makefile
+++ /dev/null
@@ -1,87 +0,0 @@
-# $NetBSD$
-PORTNAME= openroad
-DISTVERSIONPREFIX= v
-DISTVERSION= 2.0-11595
-DISTVERSIONSUFFIX= -g31d7e3dc5
-PORTREVISION= 3
-PORTEPOCH= 1
-CATEGORIES= cad
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-COMMENT= ASIC physical design tool
-WWW= https://theopenroadproject.org/
-
-LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-BROKEN_i386= C++ issue on i386, should be resolved in the next update
-.if !exists(/usr/include/omp.h)
-BROKEN= requires OpenMP support that is missing on this architecture
-.endif
-
-BUILD_DEPENDS= base64:converters/base64 \
- bash:shells/bash \
- boost-libs>0:devel/boost-libs \
- coin-or-lemon>0:math/lemon \
- gmake:devel/gmake \
- swig:devel/swig
-DEPENDS= libabsl_flags_parse.so:devel/abseil \
- libCbc.so:math/cbc \
- libCgl.so:math/cgl \
- libClpSolver.so:math/clp \
- libcoinasl.so:math/asl \
- libcoinmumps.so:math/coin-or-mumps \
- libCoinUtils.so:math/coinutils \
- libcudd.so:math/cudd \
- libfmt.so:devel/libfmt \
- libnauty.so:math/nauty \
- libopenblas.so:math/openblas \
- libortools.so:math/or-tools \
- libOsi.so:math/osi \
- libprotobuf.so:devel/protobuf \
- libre2.so:devel/re2 \
- libspdlog.so:devel/spdlog
-
-USES= bison compiler:c++17-lang cmake eigen:3 qt:5 \
- localbase:ldflags pkgconfig python:build readline tcl:86 # the code asks for tcl-87, but build fails: https://github.com/The-OpenROAD-Project/OpenROAD/issues/508
-USE_QT= core gui widgets buildtools:build qmake:build
-
-USE_GITHUB= yes
-GH_ACCOUNT= The-OpenROAD-Project
-GH_PROJECT= OpenROAD
-GH_TUPLE= The-OpenROAD-Project:OpenSTA:42b994d:The_OpenROAD_Project_OpenSTA/src/sta \
- The-OpenROAD-Project:abc:95b3543:abc/third-party/abc
-
-CMAKE_OFF= BUILD_PYTHON \
- ENABLE_TESTS
-CMAKE_ON= BUILD_TCL
-CMAKE_ARGS= -DFREEBSD_TCL_VER=${TCL_VER:S/.//} -DFREEBSD_TCL_INCLUDEDIR=${TCL_INCLUDEDIR}
-
-CXXFLAGS+= -I${LOCALBASE}/include/eigen3 \
- -DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED
-
-BINARY_ALIAS= python3=${PYTHON_CMD} tclsh=${TCLSH} make=${GMAKE}
-
-PLIST_FILES= bin/openroad \
- bin/sta
-
-PORTSCOUT= limit:^[0-9]\. # prevent 2021_*
-
-post-patch: # override the TCL version to be the same as USES=tcl sets
- @${FIND} ${WRKSRC} -name FindTCL.cmake \
- | ${XARGS} ${REINPLACE_CMD} -e ' \
- s|set(TCL_POSSIBLE_NAMES |set(TCL_POSSIBLE_NAMES tcl$${FREEBSD_TCL_VER} |; \
- s|PATHS $${TCL_LIB_PARENT1}|PATHS $${FREEBSD_TCL_INCLUDEDIR} $${TCL_LIB_PARENT1}|'
-
-post-install: # unnecessarily installs bundled OpenSTA project: https://github.com/The-OpenROAD-Project/OpenROAD/issues/597
- ${RM} -r ${STAGEDIR}${PREFIX}/include/sta ${STAGEDIR}${PREFIX}/lib/libOpenSTA.a
-
-do-test: # some tests are known to fail
- @${MKDIR} ${WRKSRC}/build/src
- @[ -f ${WRKSRC}/build/src/openroad ] || ${LN} ${STAGEDIR}${PREFIX}/bin/openroad ${WRKSRC}/build/src/openroad
- @${ECHO} "==> Unit tests"
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} test/regression
- @${ECHO} "==> Flow tests"
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} test/regression flow
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/openroad/TODO b/openroad/TODO
deleted file mode 100644
index ca66ae1c5c..0000000000
--- a/openroad/TODO
+++ /dev/null
@@ -1,6 +0,0 @@
-wip/openroad projects : invite volunteers
-
-This has just been imported from FreeBSD ports using ports2pkg, though a lot of
-work is needed in adopting it
-
-Please email suggestions to pkgsrc mailing list
diff --git a/openroad/distinfo b/openroad/distinfo
deleted file mode 100644
index 2d2cf7b9f8..0000000000
--- a/openroad/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD$
-
-TIMESTAMP = 1703799603
-SHA256 (The-OpenROAD-Project-OpenROAD-v2.0-11595-g31d7e3dc5_GH0.tar.gz) = c2a16cb6fd6cbaf1378277eb2073f2f8471e42066f18ad81e769412d400f5b44
-SIZE (The-OpenROAD-Project-OpenROAD-v2.0-11595-g31d7e3dc5_GH0.tar.gz) = 319926448
-SHA256 (The-OpenROAD-Project-OpenSTA-42b994d_GH0.tar.gz) = 513875cc7efd01f79a9931f00d9a202d1d91863ea820cee3aaabca4c86b6db0a
-SIZE (The-OpenROAD-Project-OpenSTA-42b994d_GH0.tar.gz) = 7518125
-SHA256 (The-OpenROAD-Project-abc-95b3543_GH0.tar.gz) = 135fb146204124d879606f9f22ec1f598fc40c5da0a0067c1d5061a0e5e283eb
-SIZE (The-OpenROAD-Project-abc-95b3543_GH0.tar.gz) = 6020695
diff --git a/openroad/patches/patch-CMakeLists.txt b/openroad/patches/patch-CMakeLists.txt
deleted file mode 100644
index b591ee4198..0000000000
--- a/openroad/patches/patch-CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
---- CMakeLists.txt.orig 2022-02-09 14:58:23 UTC
-+++ CMakeLists.txt
-@@ -45,6 +45,9 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.10)
- cmake_policy(SET CMP0071 NEW)
- endif()
-
-+# Fix with FMT >= 9 - see https://github.com/The-OpenROAD-Project/OpenROAD/issues/2386
-+add_compile_definitions(FMT_DEPRECATED_OSTREAM)
-+
- # Interfers with Qt so off by default.
- option(LINK_TIME_OPTIMIZATION "Flag to control link time optimization: off by default" OFF)
-
diff --git a/openroad/patches/patch-src_odb_include_odb_dbTypes.h b/openroad/patches/patch-src_odb_include_odb_dbTypes.h
deleted file mode 100644
index da4d433d50..0000000000
--- a/openroad/patches/patch-src_odb_include_odb_dbTypes.h
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- src/odb/include/odb/dbTypes.h.orig 2022-02-10 04:05:30 UTC
-+++ src/odb/include/odb/dbTypes.h
-@@ -34,6 +34,8 @@
-
- #include "odb.h"
-
-+#include <sys/types.h> // int8_t
-+
- namespace odb {
-
- ///
diff --git a/openroad/patches/patch-src_stt_src_flt_etc_MakeDatVar.tcl b/openroad/patches/patch-src_stt_src_flt_etc_MakeDatVar.tcl
deleted file mode 100644
index 408fa9de05..0000000000
--- a/openroad/patches/patch-src_stt_src_flt_etc_MakeDatVar.tcl
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- src/stt/src/flt/etc/MakeDatVar.tcl.orig 2022-02-10 04:38:37 UTC
-+++ src/stt/src/flt/etc/MakeDatVar.tcl
-@@ -32,7 +32,7 @@ close $var_stream
- set b64_file "[file rootname $dat_file].b64"
- set b64_file2 "[file rootname $dat_file].tr"
-
--exec base64 -i $dat_file > $b64_file
-+exec base64 $dat_file > $b64_file
- # strip trailing \n from base64 file
- exec tr -d "\n" <$b64_file >$b64_file2
- exec cat < $b64_file2 >> $var_file
diff --git a/openroad/patches/patch-swig-tcl86 b/openroad/patches/patch-swig-tcl86
deleted file mode 100644
index 88c22723f8..0000000000
--- a/openroad/patches/patch-swig-tcl86
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD$
-
-Reference: https://github.com/swig/swig/issues/2887
- https://github.com/swig/swig/commit/b91ffa5631eb049293d3478744606148c9726521
-
---- src/gui/src/tclCmdInputWidget.h.orig 2023-12-27 07:04:34 UTC
-+++ src/gui/src/tclCmdInputWidget.h
-@@ -47,6 +47,12 @@
-
- #include "cmdInputWidget.h"
- #include "tclCmdHighlighter.h"
-+
-+#include <tcl.h>
-+#ifndef TCL_SIZE_MAX
-+typedef int Tcl_Size;
-+#endif
-+
- #include "tclSwig.h" // generated header
-
- namespace gui {
Home |
Main Index |
Thread Index |
Old Index