pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
OpenSTA: An option to compile keeping tcl code out added
Module Name: pkgsrc-wip
Committed By: Mayuresh <mayuresh%acm.org@localhost>
Pushed By: mayuresh
Date: Sun Feb 16 20:36:28 2025 +0530
Changeset: 5cd6cc0f13cb4bfe93343e460a28831ed10f47fa
Modified Files:
OpenSTA/Makefile
OpenSTA/distinfo
Added Files:
OpenSTA/COMMIT_MSG
OpenSTA/options.mk
Log Message:
OpenSTA: An option to compile keeping tcl code out added
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5cd6cc0f13cb4bfe93343e460a28831ed10f47fa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
OpenSTA/COMMIT_MSG | 2 ++
OpenSTA/Makefile | 5 ++++-
OpenSTA/distinfo | 1 +
OpenSTA/options.mk | 14 ++++++++++++++
4 files changed, 21 insertions(+), 1 deletion(-)
diffs:
diff --git a/OpenSTA/COMMIT_MSG b/OpenSTA/COMMIT_MSG
new file mode 100644
index 0000000000..b849445edd
--- /dev/null
+++ b/OpenSTA/COMMIT_MSG
@@ -0,0 +1,2 @@
+cad/OpenSTA: Add OpenSTA version with commit 20925bb
+Packaged in wip by Mayuresh <mayuresh%acm.org@localhost>
diff --git a/OpenSTA/Makefile b/OpenSTA/Makefile
index 1c5a4c04ff..940fb31687 100644
--- a/OpenSTA/Makefile
+++ b/OpenSTA/Makefile
@@ -13,9 +13,12 @@ LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/OpenSTA-20925bb00965c1199c45aca0318c2baeb4042c5a
-GCC_REQD+= 13
FORCE_CXX_STD= c++20
+.include "options.mk"
+.include "../../mk/bsd.prefs.mk"
+
+
USE_LANGUAGES= c++
USE_TOOLS+= chmod cp bison find pax
diff --git a/OpenSTA/distinfo b/OpenSTA/distinfo
index e9d05214b3..58c246747e 100644
--- a/OpenSTA/distinfo
+++ b/OpenSTA/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
BLAKE2s (OpenSTA-20925bb-20925bb.tar.gz) = a717c47991b17212597195bf1fa55664461d3b703dc1bb1bc25d344b5ea797c7
SHA512 (OpenSTA-20925bb-20925bb.tar.gz) = 7e6fac1b09f6c7e982ad7967bd7060771eaf33a143f9e7a0ef4ac5ddd47123bed541dc01402ba49a41165b80de66ae7475f8537bc77bbd4e4b31d6cb474a467e
Size (OpenSTA-20925bb-20925bb.tar.gz) = 13372212 bytes
+SHA1 (patch-search_Sta.cc) = d86a4de6f799c73596e9ed51f4cc87d694195264
diff --git a/OpenSTA/options.mk b/OpenSTA/options.mk
new file mode 100644
index 0000000000..816f65e464
--- /dev/null
+++ b/OpenSTA/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+PKG_OPTIONS_VAR= PKG_OPTIONS.OpenSTA
+PKG_SUPPORTED_OPTIONS= notclreport debug
+
+.include "../../mk/bsd.options.mk"
+
+# If you are using OpenSTA as a library without tcl, to avoid running into issues with tcl, set this option
+.if !empty(PKG_OPTIONS:Mnotclreport)
+CXXFLAGS+= -DNOTCLREPORT
+.endif
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
+.endif
Home |
Main Index |
Thread Index |
Old Index