1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

cad/openroad: Update 2021_03_09 -> 2.0

This commit is contained in:
Yuri Victorovich 2021-07-23 00:49:29 -07:00
parent d3b5b9f5a0
commit 9456dd701b
7 changed files with 26 additions and 35 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= openroad
DISTVERSION= 2021_03_09
DISTVERSIONSUFFIX= _stable
PORTREVISION= 1
DISTVERSIONPREFIX= v
DISTVERSION= 2.0
PORTEPOCH= 1
CATEGORIES= cad
MAINTAINER= yuri@FreeBSD.org
@ -20,13 +20,13 @@ LIB_DEPENDS= libcudd.so:math/cudd \
libfmt.so:devel/libfmt \
libspdlog.so:devel/spdlog
USES= bison compiler:c++17-lang cmake eigen:3 qt:5 localbase:ldflags tcl:86 # the code asks for tcl-87, but build fails: https://github.com/The-OpenROAD-Project/OpenROAD/issues/508
USES= bison compiler:c++17-lang cmake eigen:3 qt:5 localbase:ldflags python:3.7+,build 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:181a9f2:The_OpenROAD_Project_OpenSTA/src/sta
GH_TUPLE= The-OpenROAD-Project:OpenSTA:be0d38e:The_OpenROAD_Project_OpenSTA/src/sta
CMAKE_OFF= BUILD_PYTHON FREEBSD_BUILD_TESTS
CMAKE_ON= BUILD_TCL
@ -34,7 +34,7 @@ CMAKE_ARGS= -DFREEBSD_TCL_VER=${TCL_VER:S/.//} -DFREEBSD_TCL_INCLUDEDIR=${TCL_IN
CXXFLAGS+= -I${LOCALBASE}/include/eigen3
BINARY_ALIAS= tclsh=${TCLSH}
BINARY_ALIAS= python3=${PYTHON_CMD} tclsh=${TCLSH}
PLIST_FILES= bin/openroad \
bin/sta

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1615434359
SHA256 (The-OpenROAD-Project-OpenROAD-2021_03_09_stable_GH0.tar.gz) = 0e872d1c607f7bc62d1516e93ae5f69d16d62771504be4a0d30e6016bc110233
SIZE (The-OpenROAD-Project-OpenROAD-2021_03_09_stable_GH0.tar.gz) = 175470490
SHA256 (The-OpenROAD-Project-OpenSTA-181a9f2_GH0.tar.gz) = da9764be47bd6e895a19fb48daeea1052e8aeee9778e940ccd2b55c6aaa9b7d6
SIZE (The-OpenROAD-Project-OpenSTA-181a9f2_GH0.tar.gz) = 4895949
TIMESTAMP = 1627018650
SHA256 (The-OpenROAD-Project-OpenROAD-v2.0_GH0.tar.gz) = 5926af338ba2adcda5e5e73b50feb9e4d98838aebf31fe91763dc74cf87cfbdc
SIZE (The-OpenROAD-Project-OpenROAD-v2.0_GH0.tar.gz) = 222297114
SHA256 (The-OpenROAD-Project-OpenSTA-be0d38e_GH0.tar.gz) = 301e8499ade5fd1a1db7c9565295f4b0fbffc70bd9a8ef439a5c48804480b34c
SIZE (The-OpenROAD-Project-OpenSTA-be0d38e_GH0.tar.gz) = 4898566

View File

@ -1,7 +1,7 @@
--- src/CMakeLists.txt.orig 2021-03-09 18:14:44 UTC
--- src/CMakeLists.txt.orig 2021-07-16 21:09:30 UTC
+++ src/CMakeLists.txt
@@ -57,7 +57,7 @@ if (TCL_READLINE_H)
message(STATUS "TCL readline header: ${TCL_READLINE_H}")
@@ -64,7 +64,7 @@ if (BUILD_TCLX AND TCLX_H)
message(STATUS "TclX header: ${TCLX_H}")
endif()
-find_package(SWIG 3.0 REQUIRED)

View File

@ -1,9 +1,11 @@
--- src/OpenDB/src/db/CMakeLists.txt.orig 2021-03-11 04:05:57 UTC
--- src/OpenDB/src/db/CMakeLists.txt.orig 2021-07-16 21:09:30 UTC
+++ src/OpenDB/src/db/CMakeLists.txt
@@ -138,5 +138,5 @@ target_link_libraries(opendb
@@ -141,7 +141,7 @@ target_link_libraries(opendb
zlib
zutil
utility
utl
- tcl
+ tcl${FREEBSD_TCL_VER}
)
messages(

View File

@ -1,11 +1,11 @@
--- src/OpenDB/src/swig/tcl/CMakeLists.txt.orig 2021-03-11 17:45:34 UTC
--- src/OpenDB/src/swig/tcl/CMakeLists.txt.orig 2021-07-16 21:09:30 UTC
+++ src/OpenDB/src/swig/tcl/CMakeLists.txt
@@ -15,7 +15,7 @@ target_link_libraries(opendbtcl
@@ -16,7 +16,7 @@ target_link_libraries(opendbtcl
PUBLIC
opendb
utility
utl
- tcl
+ tcl${FREEBSD_TCL_VER}
cdl
Boost::boost
)
opendb_swig_common
Boost::boost

View File

@ -1,11 +0,0 @@
--- src/gui/src/scriptWidget.cpp.orig 2021-03-09 18:14:44 UTC
+++ src/gui/src/scriptWidget.cpp
@@ -42,6 +42,8 @@
#include <QTimer>
#include <QVBoxLayout>
+#include <sys/errno.h> // for EINVAL
+
#include "openroad/OpenRoad.hh"
#include "spdlog/formatter.h"
#include "spdlog/sinks/base_sink.h"

View File

@ -1,5 +1,5 @@
--- src/flute3/etc/MakeDatVar.tcl.orig 2021-03-11 03:51:07 UTC
+++ src/flute3/etc/MakeDatVar.tcl
--- src/stt/etc/MakeDatVar.tcl.orig 2021-07-23 05:46:52 UTC
+++ src/stt/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"