pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

OpenSTA: Adopted tag that works with OpenROAD, install hacks removed



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Fri Sep 13 21:04:17 2024 +0530
Changeset:	5c8dde5d9ea421f6614921f600de86185aa94fe4

Modified Files:
	OpenSTA/Makefile
	OpenSTA/PLIST
	OpenSTA/buildlink3.mk
	OpenSTA/distinfo
Removed Files:
	OpenSTA/TODO

Log Message:
OpenSTA: Adopted tag that works with OpenROAD, install hacks removed

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5c8dde5d9ea421f6614921f600de86185aa94fe4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 OpenSTA/Makefile      |  22 ++++++----
 OpenSTA/PLIST         | 109 ++++++++++++++++++++++++++++++++++++++++++++++++--
 OpenSTA/TODO          |   8 ----
 OpenSTA/buildlink3.mk |   5 +--
 OpenSTA/distinfo      |   6 +--
 5 files changed, 124 insertions(+), 26 deletions(-)

diffs:
diff --git a/OpenSTA/Makefile b/OpenSTA/Makefile
index 4bbe7f8d8f..5b21609d22 100644
--- a/OpenSTA/Makefile
+++ b/OpenSTA/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
-GITHUB_TAG=	2dcf169d9fe8a03aac659f9a214dd6dad6cefecf
-DISTNAME=	OpenSTA-2.5.0
+GITHUB_TAG=	20925bb
+DISTNAME=	OpenSTA-20925bb
 CATEGORIES=	cad devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=The-OpenROAD-Project/}
 
@@ -10,21 +10,27 @@ HOMEPAGE=	https://github.com/The-OpenROAD-Project/OpenSTA/
 COMMENT=	Gate level static timing verifier
 LICENSE=	gnu-gpl-v3
 
-WRKSRC=	${WRKDIR}/OpenSTA-${GITHUB_TAG}
+WRKSRC=	${WRKDIR}/OpenSTA-20925bb00965c1199c45aca0318c2baeb4042c5a
 
 GCC_REQD+=	13
 FORCE_CXX_STD=	c++20
 
 USE_LANGUAGES=	c++
+USE_TOOLS+=	chmod cp bison find pax
 
-USE_TOOLS+= chmod cp bison
-
-INSTALLATION_DIRS+=	etc
+INSTALLDIRS=	etc tcl spice dcalc liberty parasitics power sdf graph network sdf search util sdc
+SHAREDIR=	${DESTDIR}${PREFIX}/share/sta
+INCLUDEDIR=	${DESTDIR}${PREFIX}/include/sta
 
 post-install:
-	${CP} -r ${WRKSRC}/etc/ ${DESTDIR}${PREFIX}
-	${CHMOD} +x ${DESTDIR}${PREFIX}/etc/TclEncode.tcl
+.for idir in ${INSTALLDIRS}
+	cd ${WRKSRC} && ${FIND} ${idir} -name \*.hh -exec ${PAX} -rw {} ${INCLUDEDIR} \;
+	cd ${WRKSRC} && ${FIND} ${idir} -name \*.tcl -exec ${PAX} -rw {} ${SHAREDIR} \;
+	cd ${WRKSRC} && ${FIND} ${idir} -name \*.i -exec ${PAX} -rw {} ${SHAREDIR} \;
+.endfor
+
 
+.include "../../math/eigen3/buildlink3.mk"
 .include "../../devel/swig3/buildlink3.mk"
 .include "../../wip/cudd/buildlink3.mk"
 .include "../../lang/tcl/buildlink3.mk"
diff --git a/OpenSTA/PLIST b/OpenSTA/PLIST
index 5a1ce2251d..e7e98ce3b4 100644
--- a/OpenSTA/PLIST
+++ b/OpenSTA/PLIST
@@ -1,9 +1,10 @@
 @comment $NetBSD$
 bin/sta
-etc/TclEncode.tcl
 include/sta/ArcDelayCalc.hh
 include/sta/ArrayTable.hh
+include/sta/Bdd.hh
 include/sta/Bfs.hh
+include/sta/CircuitSim.hh
 include/sta/ClkNetwork.hh
 include/sta/Clock.hh
 include/sta/ClockGatingCheck.hh
@@ -55,7 +56,6 @@ include/sta/Mutex.hh
 include/sta/Network.hh
 include/sta/NetworkClass.hh
 include/sta/NetworkCmp.hh
-include/sta/NullParasitics.hh
 include/sta/ObjectId.hh
 include/sta/ObjectTable.hh
 include/sta/Parasitics.hh
@@ -115,7 +115,110 @@ include/sta/VertexId.hh
 include/sta/VertexVisitor.hh
 include/sta/VisitPathEnds.hh
 include/sta/Wireload.hh
-include/sta/WritePathSpice.hh
 include/sta/WriteSdc.hh
 include/sta/Zlib.hh
+include/sta/dcalc/ArcDcalcWaveforms.hh
+include/sta/dcalc/Arnoldi.hh
+include/sta/dcalc/ArnoldiDelayCalc.hh
+include/sta/dcalc/ArnoldiReduce.hh
+include/sta/dcalc/CcsCeffDelayCalc.hh
+include/sta/dcalc/DelayCalcBase.hh
+include/sta/dcalc/DmpCeff.hh
+include/sta/dcalc/DmpDelayCalc.hh
+include/sta/dcalc/FindRoot.hh
+include/sta/dcalc/LumpedCapDelayCalc.hh
+include/sta/dcalc/NetCaps.hh
+include/sta/dcalc/ParallelDelayCalc.hh
+include/sta/dcalc/PrimaDelayCalc.hh
+include/sta/dcalc/UnitDelayCalc.hh
+include/sta/liberty/LibertyBuilder.hh
+include/sta/liberty/LibertyExpr.hh
+include/sta/liberty/LibertyExprPvt.hh
+include/sta/liberty/LibertyParser.hh
+include/sta/liberty/LibertyReader.hh
+include/sta/liberty/LibertyReaderPvt.hh
+include/sta/parasitics/ConcreteParasitics.hh
+include/sta/parasitics/ConcreteParasiticsPvt.hh
+include/sta/parasitics/EstimateParasitics.hh
+include/sta/parasitics/ReduceParasitics.hh
+include/sta/parasitics/ReportParasiticAnnotation.hh
+include/sta/parasitics/SpefNamespace.hh
+include/sta/parasitics/SpefReader.hh
+include/sta/parasitics/SpefReaderPvt.hh
+include/sta/power/Power.hh
+include/sta/power/ReadVcdActivities.hh
+include/sta/power/Vcd.hh
+include/sta/power/VcdReader.hh
+include/sta/sdc/WriteSdcPvt.hh
+include/sta/sdf/ReportAnnotation.hh
+include/sta/sdf/SdfReader.hh
+include/sta/sdf/SdfReaderPvt.hh
+include/sta/sdf/SdfWriter.hh
+include/sta/search/CheckCapacitanceLimits.hh
+include/sta/search/CheckFanoutLimits.hh
+include/sta/search/CheckMaxSkews.hh
+include/sta/search/CheckMinPeriods.hh
+include/sta/search/CheckMinPulseWidths.hh
+include/sta/search/CheckSlewLimits.hh
+include/sta/search/CheckTiming.hh
+include/sta/search/ClkDelays.hh
+include/sta/search/ClkInfo.hh
+include/sta/search/ClkLatency.hh
+include/sta/search/ClkSkew.hh
+include/sta/search/Crpr.hh
+include/sta/search/FindRegister.hh
+include/sta/search/GatedClk.hh
+include/sta/search/Genclks.hh
+include/sta/search/Latches.hh
+include/sta/search/Levelize.hh
+include/sta/search/MakeTimingModel.hh
+include/sta/search/MakeTimingModelPvt.hh
+include/sta/search/PathEnum.hh
+include/sta/search/PathEnumed.hh
+include/sta/search/ReportPath.hh
+include/sta/search/Sim.hh
+include/sta/search/Tag.hh
+include/sta/search/TagGroup.hh
+include/sta/search/VisitPathGroupVertices.hh
+include/sta/search/WorstSlack.hh
+include/sta/spice/WritePathSpice.hh
+include/sta/spice/WriteSpice.hh
+include/sta/spice/Xyce.hh
+include/sta/util/FlexDisableRegister.hh
 lib/libOpenSTA.a
+share/sta/dcalc/DelayCalc.i
+share/sta/dcalc/DelayCalc.tcl
+share/sta/etc/FindMessages.tcl
+share/sta/etc/TclEncode.tcl
+share/sta/graph/Graph.i
+share/sta/graph/Graph.tcl
+share/sta/liberty/Liberty.i
+share/sta/liberty/Liberty.tcl
+share/sta/network/Link.tcl
+share/sta/network/Network.i
+share/sta/network/Network.tcl
+share/sta/network/NetworkEdit.i
+share/sta/network/NetworkEdit.tcl
+share/sta/parasitics/Parasitics.i
+share/sta/parasitics/Parasitics.tcl
+share/sta/power/Power.i
+share/sta/power/Power.tcl
+share/sta/sdc/Sdc.i
+share/sta/sdc/Sdc.tcl
+share/sta/sdf/Sdf.i
+share/sta/sdf/Sdf.tcl
+share/sta/search/Search.i
+share/sta/search/Search.tcl
+share/sta/spice/WriteSpice.i
+share/sta/spice/WriteSpice.tcl
+share/sta/tcl/CmdArgs.tcl
+share/sta/tcl/CmdUtil.tcl
+share/sta/tcl/Exception.i
+share/sta/tcl/Init.tcl
+share/sta/tcl/Property.tcl
+share/sta/tcl/Splash.tcl
+share/sta/tcl/Sta.tcl
+share/sta/tcl/StaTclTypes.i
+share/sta/tcl/Util.tcl
+share/sta/tcl/Variables.tcl
+share/sta/util/Util.i
diff --git a/OpenSTA/TODO b/OpenSTA/TODO
deleted file mode 100644
index 3ac9ddcf15..0000000000
--- a/OpenSTA/TODO
+++ /dev/null
@@ -1,8 +0,0 @@
-Following comments from Thomas need to be acted on:
-
-This is not according to pkgsrc standards:
-- use ${INSTALL_SCRIPT} instead of the cp and chmod
-- executable scripts should not be in etc but in bin or sbin or libexec
-- if it really is intended as a modifyable and executable script, it
-  should be installed in ${PREFIX}/share/examples/OpenSTA/ and copied
-  into ${PKGSYSCONFDIR} with the CONF_FILES mechanics.
diff --git a/OpenSTA/buildlink3.mk b/OpenSTA/buildlink3.mk
index a79d740010..57a559decf 100644
--- a/OpenSTA/buildlink3.mk
+++ b/OpenSTA/buildlink3.mk
@@ -5,12 +5,9 @@ BUILDLINK_TREE+=	OpenSTA
 .if !defined(OPENSTA_BUILDLINK3_MK)
 OPENSTA_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.OpenSTA+=	OpenSTA>=2.2.0
+BUILDLINK_API_DEPENDS.OpenSTA+=	OpenSTA>=20925bb
 BUILDLINK_PKGSRCDIR.OpenSTA?=	../../wip/OpenSTA
 
-BUILDLINK_FILES.or-tools+=	etc/SwigCleanup.tcl
-BUILDLINK_FILES.or-tools+=	etc/TclEncode.tcl
-
 .endif	# OPENSTA_BUILDLINK3_MK
 
 BUILDLINK_TREE+=	-OpenSTA
diff --git a/OpenSTA/distinfo b/OpenSTA/distinfo
index 828584c076..e9d05214b3 100644
--- a/OpenSTA/distinfo
+++ b/OpenSTA/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (OpenSTA-2.5.0-2dcf169d9fe8a03aac659f9a214dd6dad6cefecf.tar.gz) = 09d22dd938de4086ec8a16d555979304a5732f51f5ee6dc4d18c89108f599fd1
-SHA512 (OpenSTA-2.5.0-2dcf169d9fe8a03aac659f9a214dd6dad6cefecf.tar.gz) = de1bf7ec6a561698ccbb078bc24f222209cfcdcda2dde82b8c048b48eea9290635dfbec35de897ec3ea25ba4f45c202ed9f60b8a0810621d34c06bb35e2a31c0
-Size (OpenSTA-2.5.0-2dcf169d9fe8a03aac659f9a214dd6dad6cefecf.tar.gz) = 7510689 bytes
+BLAKE2s (OpenSTA-20925bb-20925bb.tar.gz) = a717c47991b17212597195bf1fa55664461d3b703dc1bb1bc25d344b5ea797c7
+SHA512 (OpenSTA-20925bb-20925bb.tar.gz) = 7e6fac1b09f6c7e982ad7967bd7060771eaf33a143f9e7a0ef4ac5ddd47123bed541dc01402ba49a41165b80de66ae7475f8537bc77bbd4e4b31d6cb474a467e
+Size (OpenSTA-20925bb-20925bb.tar.gz) = 13372212 bytes


Home | Main Index | Thread Index | Old Index