Re: [UPDATE] math/z3 to 4.8.16
Frederic Cambus wrote: > Hi ports@, > > Here is a diff to update z3 to 4.8.16. > > Some functions have been removed from the library, so a major bump > is needed. > > Comments? OK? ok op@ I somehow managed to boostrap F* with OCaml using the updated z3. It's still half broken (not the parts that deal with z3) and the other half requires ugly hacks to work. But it verified the hello world so z3 is fine :) > Index: Makefile > === > RCS file: /cvs/ports/math/z3/Makefile,v > retrieving revision 1.25 > diff -u -p -r1.25 Makefile > --- Makefile 11 Mar 2022 19:36:33 - 1.25 > +++ Makefile 3 May 2022 15:16:12 - > @@ -1,6 +1,6 @@ > COMMENT =Z3 theorem prover > > -VERSION =4.8.9 > +VERSION =4.8.16 > > GH_ACCOUNT = Z3Prover > GH_PROJECT = z3 > @@ -8,9 +8,8 @@ GH_TAGNAME = ${GH_PROJECT}-${VERSION} > > DISTNAME = ${GH_TAGNAME} > PKGNAME =${DISTNAME:L} > -REVISION = 0 > > -SHARED_LIBS =z3 2.2 # 4.8 > +SHARED_LIBS =z3 3.0 # 4.8 > > CATEGORIES = math > > Index: distinfo > === > RCS file: /cvs/ports/math/z3/distinfo,v > retrieving revision 1.9 > diff -u -p -r1.9 distinfo > --- distinfo 18 Sep 2020 07:52:58 - 1.9 > +++ distinfo 3 May 2022 15:16:12 - > @@ -1,2 +1,2 @@ > -SHA256 (z3-4.8.9.tar.gz) = yf0EubM750//qsPsK8LDINGkzDLjlSA8VRJrEqFP8/Q= > -SIZE (z3-4.8.9.tar.gz) = 4624159 > +SHA256 (z3-4.8.16.tar.gz) = dfleCfPzX+90blcdXsiKTvuifxvI8aDvERcWdIbsPcY= > +SIZE (z3-4.8.16.tar.gz) = 5223980 > Index: patches/patch-scripts_mk_util_py > === > RCS file: /cvs/ports/math/z3/patches/patch-scripts_mk_util_py,v > retrieving revision 1.7 > diff -u -p -r1.7 patch-scripts_mk_util_py > --- patches/patch-scripts_mk_util_py 11 Mar 2022 19:36:33 - 1.7 > +++ patches/patch-scripts_mk_util_py 3 May 2022 15:16:12 - > @@ -1,7 +1,7 @@ > Index: scripts/mk_util.py > --- scripts/mk_util.py.orig > +++ scripts/mk_util.py > -@@ -2478,7 +2478,6 @@ def mk_config(): > +@@ -2573,7 +2573,6 @@ def mk_config(): > EXAMP_DEBUG_FLAG = '-g' > CPPFLAGS = '%s -DZ3DEBUG -D_DEBUG' % CPPFLAGS > else: > @@ -9,7 +9,7 @@ Index: scripts/mk_util.py > if GPROF: > CXXFLAGS += '-fomit-frame-pointer' > CPPFLAGS = '%s -DNDEBUG -D_EXTERNAL_RELEASE' % CPPFLAGS > -@@ -2491,7 +2490,7 @@ def mk_config(): > +@@ -2586,7 +2585,7 @@ def mk_config(): > elif sysname == 'Linux': > CXXFLAGS = '%s -D_LINUX_' % CXXFLAGS > OS_DEFINES = '-D_LINUX_' > @@ -18,7 +18,7 @@ Index: scripts/mk_util.py > SLIBFLAGS = '-shared' > SLIBEXTRAFLAGS = '%s -Wl,-soname,libz3.so' % SLIBEXTRAFLAGS > elif sysname == 'GNU': > -@@ -2528,9 +2527,9 @@ def mk_config(): > +@@ -2629,9 +2628,9 @@ def mk_config(): > LIB_EXT= '.lib' > else: > raise MKException('Unsupported platform: %s' % sysname)
[UPDATE] math/z3 to 4.8.16
Hi ports@, Here is a diff to update z3 to 4.8.16. Some functions have been removed from the library, so a major bump is needed. Comments? OK? Index: Makefile === RCS file: /cvs/ports/math/z3/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- Makefile11 Mar 2022 19:36:33 - 1.25 +++ Makefile3 May 2022 15:16:12 - @@ -1,6 +1,6 @@ COMMENT = Z3 theorem prover -VERSION = 4.8.9 +VERSION = 4.8.16 GH_ACCOUNT = Z3Prover GH_PROJECT = z3 @@ -8,9 +8,8 @@ GH_TAGNAME =${GH_PROJECT}-${VERSION} DISTNAME = ${GH_TAGNAME} PKGNAME = ${DISTNAME:L} -REVISION = 0 -SHARED_LIBS = z3 2.2 # 4.8 +SHARED_LIBS = z3 3.0 # 4.8 CATEGORIES = math Index: distinfo === RCS file: /cvs/ports/math/z3/distinfo,v retrieving revision 1.9 diff -u -p -r1.9 distinfo --- distinfo18 Sep 2020 07:52:58 - 1.9 +++ distinfo3 May 2022 15:16:12 - @@ -1,2 +1,2 @@ -SHA256 (z3-4.8.9.tar.gz) = yf0EubM750//qsPsK8LDINGkzDLjlSA8VRJrEqFP8/Q= -SIZE (z3-4.8.9.tar.gz) = 4624159 +SHA256 (z3-4.8.16.tar.gz) = dfleCfPzX+90blcdXsiKTvuifxvI8aDvERcWdIbsPcY= +SIZE (z3-4.8.16.tar.gz) = 5223980 Index: patches/patch-scripts_mk_util_py === RCS file: /cvs/ports/math/z3/patches/patch-scripts_mk_util_py,v retrieving revision 1.7 diff -u -p -r1.7 patch-scripts_mk_util_py --- patches/patch-scripts_mk_util_py11 Mar 2022 19:36:33 - 1.7 +++ patches/patch-scripts_mk_util_py3 May 2022 15:16:12 - @@ -1,7 +1,7 @@ Index: scripts/mk_util.py --- scripts/mk_util.py.orig +++ scripts/mk_util.py -@@ -2478,7 +2478,6 @@ def mk_config(): +@@ -2573,7 +2573,6 @@ def mk_config(): EXAMP_DEBUG_FLAG = '-g' CPPFLAGS = '%s -DZ3DEBUG -D_DEBUG' % CPPFLAGS else: @@ -9,7 +9,7 @@ Index: scripts/mk_util.py if GPROF: CXXFLAGS += '-fomit-frame-pointer' CPPFLAGS = '%s -DNDEBUG -D_EXTERNAL_RELEASE' % CPPFLAGS -@@ -2491,7 +2490,7 @@ def mk_config(): +@@ -2586,7 +2585,7 @@ def mk_config(): elif sysname == 'Linux': CXXFLAGS = '%s -D_LINUX_' % CXXFLAGS OS_DEFINES = '-D_LINUX_' @@ -18,7 +18,7 @@ Index: scripts/mk_util.py SLIBFLAGS = '-shared' SLIBEXTRAFLAGS = '%s -Wl,-soname,libz3.so' % SLIBEXTRAFLAGS elif sysname == 'GNU': -@@ -2528,9 +2527,9 @@ def mk_config(): +@@ -2629,9 +2628,9 @@ def mk_config(): LIB_EXT= '.lib' else: raise MKException('Unsupported platform: %s' % sysname)
Re: [Update] math/z3 : Update to 4.8.6
On Wed Oct 16, 2019 at 02:59:32AM +, wen heping wrote: > Hi,ports@: > >Here is a patch for math/z3 to update to 4.8.6. >It build well and run well on amd64-current system. >It defines NO_TEST and no other ports depend on it. > > Comments? OK? > wen OK rsadowski@ > Index: Makefile > === > RCS file: /cvs/ports/math/z3/Makefile,v > retrieving revision 1.17 > diff -u -p -r1.17 Makefile > --- Makefile 12 Jul 2019 20:47:47 - 1.17 > +++ Makefile 16 Oct 2019 02:55:38 - > @@ -2,15 +2,14 @@ > > COMMENT =Z3 theorem prover > > -VERSION =4.8.5 > +VERSION =4.8.6 > > GH_ACCOUNT = Z3Prover > GH_PROJECT = z3 > -GH_TAGNAME = ${GH_PROJECT:U}-${VERSION} > +GH_TAGNAME = ${GH_PROJECT}-${VERSION} > > DISTNAME = ${GH_TAGNAME} > PKGNAME =${DISTNAME:L} > -REVISION = 0 > > SHARED_LIBS =z3 2.0 # 4.8 > > Index: distinfo > === > RCS file: /cvs/ports/math/z3/distinfo,v > retrieving revision 1.6 > diff -u -p -r1.6 distinfo > --- distinfo 5 Jun 2019 05:44:54 - 1.6 > +++ distinfo 16 Oct 2019 02:55:38 - > @@ -1,2 +1,2 @@ > -SHA256 (Z3-4.8.5.tar.gz) = To4jKIfd+mQ622ow3NN0PLL6ZZFzX70wK0n3AozcA2M= > -SIZE (Z3-4.8.5.tar.gz) = 4177051 > +SHA256 (z3-4.8.6.tar.gz) = N5IvpQhRcMrWUESY2XWPtjxh1ctbaGicEabF6E8DEbM= > +SIZE (z3-4.8.6.tar.gz) = 4328752 > Index: patches/patch-scripts_mk_util_py > === > RCS file: /cvs/ports/math/z3/patches/patch-scripts_mk_util_py,v > retrieving revision 1.3 > diff -u -p -r1.3 patch-scripts_mk_util_py > --- patches/patch-scripts_mk_util_py 3 Mar 2019 09:16:17 - 1.3 > +++ patches/patch-scripts_mk_util_py 16 Oct 2019 02:55:38 - > @@ -1,18 +1,9 @@ > -$OpenBSD: patch-scripts_mk_util_py,v 1.3 2019/03/03 09:16:17 rsadowski Exp $ > +$OpenBSD$ > > Index: scripts/mk_util.py > --- scripts/mk_util.py.orig > +++ scripts/mk_util.py > -@@ -50,7 +50,7 @@ C_COMPILERS=['gcc', 'clang'] > - CSC_COMPILERS=['csc', 'mcs'] > - JAVAC=None > - JAR=None > --PYTHON_PACKAGE_DIR=distutils.sysconfig.get_python_lib() > -+PYTHON_PACKAGE_DIR=distutils.sysconfig.get_python_lib(prefix=getenv("LOCALBASE", > None)) > - BUILD_DIR='build' > - REV_BUILD_DIR='..' > - SRC_DIR='src' > -@@ -2801,7 +2801,6 @@ def mk_config(): > +@@ -2538,7 +2538,6 @@ def mk_config(): > EXAMP_DEBUG_FLAG = '-g' > CPPFLAGS = '%s -DZ3DEBUG -D_DEBUG' % CPPFLAGS > else: > @@ -20,16 +11,16 @@ Index: scripts/mk_util.py > if GPROF: > CXXFLAGS += '-fomit-frame-pointer' > CPPFLAGS = '%s -DNDEBUG -D_EXTERNAL_RELEASE' % CPPFLAGS > -@@ -2836,7 +2835,7 @@ def mk_config(): > - elif sysname == 'OpenBSD': > - CXXFLAGS = '%s -D_OPENBSD_' % CXXFLAGS > - OS_DEFINES = '-D_OPENBSD_' > +@@ -2551,7 +2550,7 @@ def mk_config(): > + elif sysname == 'Linux': > + CXXFLAGS = '%s -D_LINUX_' % CXXFLAGS > + OS_DEFINES = '-D_LINUX_' > -SO_EXT = '.so' > +SO_EXT = '.so.${LIBz3_VERSION}' > SLIBFLAGS = '-shared' > - elif sysname.startswith('CYGWIN'): > - CXXFLAGS = '%s -D_CYGWIN' % CXXFLAGS > -@@ -2852,9 +2851,9 @@ def mk_config(): > + SLIBEXTRAFLAGS = '%s -Wl,-soname,libz3.so' % SLIBEXTRAFLAGS > + elif sysname == 'FreeBSD': > +@@ -2583,9 +2582,9 @@ def mk_config(): > LIB_EXT= '.lib' > else: > raise MKException('Unsupported platform: %s' % sysname) > Index: pkg/PLIST > === > RCS file: /cvs/ports/math/z3/pkg/PLIST,v > retrieving revision 1.5 > diff -u -p -r1.5 PLIST > --- pkg/PLIST 3 Mar 2019 09:16:17 - 1.5 > +++ pkg/PLIST 16 Oct 2019 02:55:38 - > @@ -17,6 +17,7 @@ include/z3_version.h > lib/cmake/ > lib/cmake/z3/ > lib/cmake/z3/Z3Config.cmake > +lib/cmake/z3/Z3ConfigVersion.cmake > lib/cmake/z3/Z3Targets${MODCMAKE_BUILD_SUFFIX} > lib/cmake/z3/Z3Targets.cmake > @lib lib/libz3.so.${LIBz3_VERSION}
[Update] math/z3 : Update to 4.8.6
Hi,ports@: Here is a patch for math/z3 to update to 4.8.6. It build well and run well on amd64-current system. It defines NO_TEST and no other ports depend on it. Comments? OK? wen Index: Makefile === RCS file: /cvs/ports/math/z3/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- Makefile12 Jul 2019 20:47:47 - 1.17 +++ Makefile16 Oct 2019 02:55:38 - @@ -2,15 +2,14 @@ COMMENT = Z3 theorem prover -VERSION = 4.8.5 +VERSION = 4.8.6 GH_ACCOUNT = Z3Prover GH_PROJECT = z3 -GH_TAGNAME = ${GH_PROJECT:U}-${VERSION} +GH_TAGNAME = ${GH_PROJECT}-${VERSION} DISTNAME = ${GH_TAGNAME} PKGNAME = ${DISTNAME:L} -REVISION = 0 SHARED_LIBS = z3 2.0 # 4.8 Index: distinfo === RCS file: /cvs/ports/math/z3/distinfo,v retrieving revision 1.6 diff -u -p -r1.6 distinfo --- distinfo5 Jun 2019 05:44:54 - 1.6 +++ distinfo16 Oct 2019 02:55:38 - @@ -1,2 +1,2 @@ -SHA256 (Z3-4.8.5.tar.gz) = To4jKIfd+mQ622ow3NN0PLL6ZZFzX70wK0n3AozcA2M= -SIZE (Z3-4.8.5.tar.gz) = 4177051 +SHA256 (z3-4.8.6.tar.gz) = N5IvpQhRcMrWUESY2XWPtjxh1ctbaGicEabF6E8DEbM= +SIZE (z3-4.8.6.tar.gz) = 4328752 Index: patches/patch-scripts_mk_util_py === RCS file: /cvs/ports/math/z3/patches/patch-scripts_mk_util_py,v retrieving revision 1.3 diff -u -p -r1.3 patch-scripts_mk_util_py --- patches/patch-scripts_mk_util_py3 Mar 2019 09:16:17 - 1.3 +++ patches/patch-scripts_mk_util_py16 Oct 2019 02:55:38 - @@ -1,18 +1,9 @@ -$OpenBSD: patch-scripts_mk_util_py,v 1.3 2019/03/03 09:16:17 rsadowski Exp $ +$OpenBSD$ Index: scripts/mk_util.py --- scripts/mk_util.py.orig +++ scripts/mk_util.py -@@ -50,7 +50,7 @@ C_COMPILERS=['gcc', 'clang'] - CSC_COMPILERS=['csc', 'mcs'] - JAVAC=None - JAR=None --PYTHON_PACKAGE_DIR=distutils.sysconfig.get_python_lib() -+PYTHON_PACKAGE_DIR=distutils.sysconfig.get_python_lib(prefix=getenv("LOCALBASE", None)) - BUILD_DIR='build' - REV_BUILD_DIR='..' - SRC_DIR='src' -@@ -2801,7 +2801,6 @@ def mk_config(): +@@ -2538,7 +2538,6 @@ def mk_config(): EXAMP_DEBUG_FLAG = '-g' CPPFLAGS = '%s -DZ3DEBUG -D_DEBUG' % CPPFLAGS else: @@ -20,16 +11,16 @@ Index: scripts/mk_util.py if GPROF: CXXFLAGS += '-fomit-frame-pointer' CPPFLAGS = '%s -DNDEBUG -D_EXTERNAL_RELEASE' % CPPFLAGS -@@ -2836,7 +2835,7 @@ def mk_config(): - elif sysname == 'OpenBSD': - CXXFLAGS = '%s -D_OPENBSD_' % CXXFLAGS - OS_DEFINES = '-D_OPENBSD_' +@@ -2551,7 +2550,7 @@ def mk_config(): + elif sysname == 'Linux': + CXXFLAGS = '%s -D_LINUX_' % CXXFLAGS + OS_DEFINES = '-D_LINUX_' -SO_EXT = '.so' +SO_EXT = '.so.${LIBz3_VERSION}' SLIBFLAGS = '-shared' - elif sysname.startswith('CYGWIN'): - CXXFLAGS = '%s -D_CYGWIN' % CXXFLAGS -@@ -2852,9 +2851,9 @@ def mk_config(): + SLIBEXTRAFLAGS = '%s -Wl,-soname,libz3.so' % SLIBEXTRAFLAGS + elif sysname == 'FreeBSD': +@@ -2583,9 +2582,9 @@ def mk_config(): LIB_EXT= '.lib' else: raise MKException('Unsupported platform: %s' % sysname) Index: pkg/PLIST === RCS file: /cvs/ports/math/z3/pkg/PLIST,v retrieving revision 1.5 diff -u -p -r1.5 PLIST --- pkg/PLIST 3 Mar 2019 09:16:17 - 1.5 +++ pkg/PLIST 16 Oct 2019 02:55:38 - @@ -17,6 +17,7 @@ include/z3_version.h lib/cmake/ lib/cmake/z3/ lib/cmake/z3/Z3Config.cmake +lib/cmake/z3/Z3ConfigVersion.cmake lib/cmake/z3/Z3Targets${MODCMAKE_BUILD_SUFFIX} lib/cmake/z3/Z3Targets.cmake @lib lib/libz3.so.${LIBz3_VERSION}
UPDATE: math/z3 to disable OpenMP
This simple patch switches OpenMP off. Question though: as given, Makefile does not require some python packages (py-setuptools, py-pip) to run z3 under python. Should that be fixed? Index: Makefile === RCS file: /cvs/ports/math/z3/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- Makefile28 Apr 2019 20:51:42 - 1.13 +++ Makefile13 Jun 2019 21:12:23 - @@ -4,7 +4,7 @@ COMMENT = Z3 theorem prover VERSION = 4.8.4 DISTNAME = z3-${VERSION} -REVISION = 1 +REVISION = 2 GH_ACCOUNT = Z3Prover GH_PROJECT = z3 @@ -30,6 +30,7 @@ CONFIGURE_ARGS += -DENABLE_EXAMPLE_TARGE -DINCLUDE_GIT_HASH=OFF \ -DINCLUDE_GIT_DESCRIBE=OFF \ -DBUILD_PYTHON_BINDINGS=ON \ + -DUSE_OPENMP=OFF \ -DUSE_LIB_GMP=OFF WRKDIST = ${WRKDIR}/z3-${DISTNAME}
Re: [UPDATE] math/z3
On 2019/06/05 16:10, Remi Pointel wrote: > > The GH_* stuff in this is broken. If GH_ACCOUNT and GH_PROJECT are > > present there should always be GH_TAGNAME or GH_COMMIT. > > Exactly, attached is the diff using GH_TAGNAME. > > I need to set DISTNAME because by default "DISTNAME = > ${GH_PROJECT}-${GH_TAGNAME:C/^v//}" and PKGNAME because the upper Z of the > tag of this release. > > Ok? > > Cheers, > > Remi. > Index: Makefile > === > RCS file: /cvs/ports/math/z3/Makefile,v > retrieving revision 1.14 > diff -u -p -u -p -r1.14 Makefile > --- Makefile 5 Jun 2019 05:44:54 - 1.14 > +++ Makefile 5 Jun 2019 13:58:28 - > @@ -3,11 +3,13 @@ > COMMENT =Z3 theorem prover > > VERSION =4.8.5 > -DISTNAME = Z3-${VERSION} > -PKGNAME =${DISTNAME:L} > > GH_ACCOUNT = Z3Prover > GH_PROJECT = z3 > +GH_TAGNAME = ${GH_PROJECT:U}-${VERSION} > + > +DISTNAME = ${GH_TAGNAME} > +PKGNAME =${DISTNAME:L} > > SHARED_LIBS =z3 2.0 # 4.8 > Thanks, OK.
Re: [UPDATE] math/z3
The GH_* stuff in this is broken. If GH_ACCOUNT and GH_PROJECT are present there should always be GH_TAGNAME or GH_COMMIT. Exactly, attached is the diff using GH_TAGNAME. I need to set DISTNAME because by default "DISTNAME = ${GH_PROJECT}-${GH_TAGNAME:C/^v//}" and PKGNAME because the upper Z of the tag of this release. Ok? Cheers, Remi. Index: Makefile === RCS file: /cvs/ports/math/z3/Makefile,v retrieving revision 1.14 diff -u -p -u -p -r1.14 Makefile --- Makefile 5 Jun 2019 05:44:54 - 1.14 +++ Makefile 5 Jun 2019 13:58:28 - @@ -3,11 +3,13 @@ COMMENT = Z3 theorem prover VERSION = 4.8.5 -DISTNAME = Z3-${VERSION} -PKGNAME = ${DISTNAME:L} GH_ACCOUNT = Z3Prover GH_PROJECT = z3 +GH_TAGNAME = ${GH_PROJECT:U}-${VERSION} + +DISTNAME = ${GH_TAGNAME} +PKGNAME = ${DISTNAME:L} SHARED_LIBS = z3 2.0 # 4.8
Re: [UPDATE] math/z3
On 2019/06/04 14:45, Remi Pointel wrote: > Hi, > > this diff updates z3 to latest release. > > Ok? > > Cheers, > > Remi. > Index: Makefile > === > RCS file: /cvs/ports/math/z3/Makefile,v > retrieving revision 1.13 > diff -u -p -u -p -r1.13 Makefile > --- Makefile 28 Apr 2019 20:51:42 - 1.13 > +++ Makefile 4 Jun 2019 12:45:10 - > @@ -2,14 +2,14 @@ > > COMMENT =Z3 theorem prover > > -VERSION =4.8.4 > -DISTNAME = z3-${VERSION} > -REVISION = 1 > +VERSION =4.8.5 > +DISTNAME = Z3-${VERSION} > +PKGNAME =${DISTNAME:L} > > GH_ACCOUNT = Z3Prover > GH_PROJECT = z3 The GH_* stuff in this is broken. If GH_ACCOUNT and GH_PROJECT are present there should always be GH_TAGNAME or GH_COMMIT.
Re: [UPDATE] math/z3
On Tue, Jun 04, 2019 at 02:45:46PM +0200, Remi Pointel wrote: > this diff updates z3 to latest release. Brief summay of what changed or why you bumped the major? Or a link?
[UPDATE] math/z3
Hi, this diff updates z3 to latest release. Ok? Cheers, Remi. Index: Makefile === RCS file: /cvs/ports/math/z3/Makefile,v retrieving revision 1.13 diff -u -p -u -p -r1.13 Makefile --- Makefile 28 Apr 2019 20:51:42 - 1.13 +++ Makefile 4 Jun 2019 12:45:10 - @@ -2,14 +2,14 @@ COMMENT = Z3 theorem prover -VERSION = 4.8.4 -DISTNAME = z3-${VERSION} -REVISION = 1 +VERSION = 4.8.5 +DISTNAME = Z3-${VERSION} +PKGNAME = ${DISTNAME:L} GH_ACCOUNT = Z3Prover GH_PROJECT = z3 -SHARED_LIBS = z3 1.0 +SHARED_LIBS = z3 2.0 # 4.8 CATEGORIES = math Index: distinfo === RCS file: /cvs/ports/math/z3/distinfo,v retrieving revision 1.5 diff -u -p -u -p -r1.5 distinfo --- distinfo 3 Mar 2019 09:16:17 - 1.5 +++ distinfo 4 Jun 2019 12:45:10 - @@ -1,2 +1,2 @@ -SHA256 (z3-4.8.4.tar.gz) = Whj+YWwqMLVuWy9bnwP0Bc3yQ1cRUX/3CwdqATlu9gE= -SIZE (z3-4.8.4.tar.gz) = 4117081 +SHA256 (Z3-4.8.5.tar.gz) = To4jKIfd+mQ622ow3NN0PLL6ZZFzX70wK0n3AozcA2M= +SIZE (Z3-4.8.5.tar.gz) = 4177051
Re: [UPDATE] math/z3
On Sat Jan 19, 2019 at 10:56:35AM +0100, Remi Pointel wrote: > Hi, > > this is the diff to update z3 to latest release. > > Ok? > > Cheers, > > Remi. Maybe it's a good idea to move to cmake as build system? Perhaps consumers more happy with the cmake targets!? RS Index: Makefile === RCS file: /cvs/ports/math/z3/Makefile,v retrieving revision 1.10 diff -u -p -u -p -r1.10 Makefile --- Makefile15 Dec 2018 12:43:40 - 1.10 +++ Makefile19 Jan 2019 11:55:21 - @@ -2,7 +2,7 @@ COMMENT = Z3 theorem prover -VERSION = 4.8.3 +VERSION = 4.8.4 DISTNAME = z3-${VERSION} GH_ACCOUNT = Z3Prover @@ -17,19 +17,19 @@ WANTLIB += c m pthread ${COMPILER_LIBCXX # MIT PERMIT_PACKAGE_CDROM = Yes -CONFIGURE_STYLE = simple - -CONFIGURE_ARGS += --prefix=${PREFIX} \ - --python - # c++11 COMPILER = base-clang ports-gcc -MODULES = lang/python +MODULES = devel/cmake \ + lang/python + +CONFIGURE_ARGS += -DENABLE_EXAMPLE_TARGETS=ON \ + -DINCLUDE_GIT_HASH=OFF \ + -DINCLUDE_GIT_DESCRIBE=OFF \ + -DBUILD_PYTHON_BINDINGS=ON \ + -DUSE_LIB_GMP=OFF WRKDIST = ${WRKDIR}/z3-${DISTNAME} -WRKCONF = ${WRKSRC} -WRKBUILD = ${WRKSRC}/build pre-configure: ${SUBST_CMD} ${WRKSRC}/scripts/mk_util.py Index: distinfo === RCS file: /cvs/ports/math/z3/distinfo,v retrieving revision 1.4 diff -u -p -u -p -r1.4 distinfo --- distinfo15 Dec 2018 12:43:40 - 1.4 +++ distinfo19 Jan 2019 11:55:21 - @@ -1,2 +1,2 @@ -SHA256 (z3-4.8.3.tar.gz) = IWILaMNzzeoNOyzyQCC+Ts+yLt3GYpZj9unOMc/ceN4= -SIZE (z3-4.8.3.tar.gz) = 4119116 +SHA256 (z3-4.8.4.tar.gz) = Whj+YWwqMLVuWy9bnwP0Bc3yQ1cRUX/3CwdqATlu9gE= +SIZE (z3-4.8.4.tar.gz) = 4117081 Index: patches/patch-cmake_cxx_compiler_flags_overrides_cmake === RCS file: patches/patch-cmake_cxx_compiler_flags_overrides_cmake diff -N patches/patch-cmake_cxx_compiler_flags_overrides_cmake --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-cmake_cxx_compiler_flags_overrides_cmake 19 Jan 2019 11:55:21 - @@ -0,0 +1,13 @@ +$OpenBSD$ + +Index: cmake/cxx_compiler_flags_overrides.cmake +--- cmake/cxx_compiler_flags_overrides.cmake.orig cmake/cxx_compiler_flags_overrides.cmake +@@ -9,6 +9,6 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") OR (" + set(CMAKE_CXX_FLAGS_INIT "") + set(CMAKE_CXX_FLAGS_DEBUG_INIT "-g -O0") + set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") +- set(CMAKE_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") ++ set(CMAKE_CXX_FLAGS_RELEASE_INIT "-DNDEBUG") + set(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG") + endif() Index: patches/patch-scripts_mk_util_py === RCS file: /cvs/ports/math/z3/patches/patch-scripts_mk_util_py,v retrieving revision 1.2 diff -u -p -u -p -r1.2 patch-scripts_mk_util_py --- patches/patch-scripts_mk_util_py24 Nov 2018 00:57:15 - 1.2 +++ patches/patch-scripts_mk_util_py19 Jan 2019 11:55:21 - @@ -3,7 +3,7 @@ $OpenBSD: patch-scripts_mk_util_py,v 1.2 Index: scripts/mk_util.py --- scripts/mk_util.py.orig +++ scripts/mk_util.py -@@ -49,7 +49,7 @@ C_COMPILERS=['gcc', 'clang'] +@@ -50,7 +50,7 @@ C_COMPILERS=['gcc', 'clang'] CSC_COMPILERS=['csc', 'mcs'] JAVAC=None JAR=None @@ -12,7 +12,7 @@ Index: scripts/mk_util.py BUILD_DIR='build' REV_BUILD_DIR='..' SRC_DIR='src' -@@ -2494,7 +2494,6 @@ def mk_config(): +@@ -2801,7 +2801,6 @@ def mk_config(): EXAMP_DEBUG_FLAG = '-g' CPPFLAGS = '%s -DZ3DEBUG -D_DEBUG' % CPPFLAGS else: @@ -20,7 +20,7 @@ Index: scripts/mk_util.py if GPROF: CXXFLAGS += '-fomit-frame-pointer' CPPFLAGS = '%s -DNDEBUG -D_EXTERNAL_RELEASE' % CPPFLAGS -@@ -2528,7 +2527,7 @@ def mk_config(): +@@ -2836,7 +2835,7 @@ def mk_config(): elif sysname == 'OpenBSD': CXXFLAGS = '%s -D_OPENBSD_' % CXXFLAGS OS_DEFINES = '-D_OPENBSD_' @@ -29,7 +29,7 @@ Index: scripts/mk_util.py SLIBFLAGS = '-shared' elif sysname.startswith('CYGWIN'): CXXFLAGS = '%s -D_CYGWIN' % CXXFLAGS -@@ -2544,9 +2543,9 @@ def mk_config(): +@@ -2852,9 +2851,9 @@ def mk_config(): LIB_EXT= '.lib' else: raise MKException('Unsupported platform: %s' % sysname) @@ -38,6 +38,6 @@ Index: scripts/mk_util.py if is64(): -if not sysname.startswith('CYGWIN') and not sysname.startswith('MSYS') and not sysname.startswith('MINGW'): -CXXFLAGS = '%s -fPIC' % CXXFLAGS - CPPFLAGS = '%s -D_AMD64_'
[UPDATE] math/z3
Hi, this is the diff to update z3 to latest release. Ok? Cheers, Remi. Index: Makefile === RCS file: /cvs/ports/math/z3/Makefile,v retrieving revision 1.10 diff -u -p -u -p -r1.10 Makefile --- Makefile 15 Dec 2018 12:43:40 - 1.10 +++ Makefile 19 Jan 2019 09:55:04 - @@ -2,7 +2,7 @@ COMMENT = Z3 theorem prover -VERSION = 4.8.3 +VERSION = 4.8.4 DISTNAME = z3-${VERSION} GH_ACCOUNT = Z3Prover Index: distinfo === RCS file: /cvs/ports/math/z3/distinfo,v retrieving revision 1.4 diff -u -p -u -p -r1.4 distinfo --- distinfo 15 Dec 2018 12:43:40 - 1.4 +++ distinfo 19 Jan 2019 09:55:04 - @@ -1,2 +1,2 @@ -SHA256 (z3-4.8.3.tar.gz) = IWILaMNzzeoNOyzyQCC+Ts+yLt3GYpZj9unOMc/ceN4= -SIZE (z3-4.8.3.tar.gz) = 4119116 +SHA256 (z3-4.8.4.tar.gz) = Whj+YWwqMLVuWy9bnwP0Bc3yQ1cRUX/3CwdqATlu9gE= +SIZE (z3-4.8.4.tar.gz) = 4117081 Index: patches/patch-scripts_mk_util_py === RCS file: /cvs/ports/math/z3/patches/patch-scripts_mk_util_py,v retrieving revision 1.2 diff -u -p -u -p -r1.2 patch-scripts_mk_util_py --- patches/patch-scripts_mk_util_py 24 Nov 2018 00:57:15 - 1.2 +++ patches/patch-scripts_mk_util_py 19 Jan 2019 09:55:04 - @@ -3,7 +3,7 @@ $OpenBSD: patch-scripts_mk_util_py,v 1.2 Index: scripts/mk_util.py --- scripts/mk_util.py.orig +++ scripts/mk_util.py -@@ -49,7 +49,7 @@ C_COMPILERS=['gcc', 'clang'] +@@ -50,7 +50,7 @@ C_COMPILERS=['gcc', 'clang'] CSC_COMPILERS=['csc', 'mcs'] JAVAC=None JAR=None @@ -12,7 +12,7 @@ Index: scripts/mk_util.py BUILD_DIR='build' REV_BUILD_DIR='..' SRC_DIR='src' -@@ -2494,7 +2494,6 @@ def mk_config(): +@@ -2801,7 +2801,6 @@ def mk_config(): EXAMP_DEBUG_FLAG = '-g' CPPFLAGS = '%s -DZ3DEBUG -D_DEBUG' % CPPFLAGS else: @@ -20,7 +20,7 @@ Index: scripts/mk_util.py if GPROF: CXXFLAGS += '-fomit-frame-pointer' CPPFLAGS = '%s -DNDEBUG -D_EXTERNAL_RELEASE' % CPPFLAGS -@@ -2528,7 +2527,7 @@ def mk_config(): +@@ -2836,7 +2835,7 @@ def mk_config(): elif sysname == 'OpenBSD': CXXFLAGS = '%s -D_OPENBSD_' % CXXFLAGS OS_DEFINES = '-D_OPENBSD_' @@ -29,7 +29,7 @@ Index: scripts/mk_util.py SLIBFLAGS = '-shared' elif sysname.startswith('CYGWIN'): CXXFLAGS = '%s -D_CYGWIN' % CXXFLAGS -@@ -2544,9 +2543,9 @@ def mk_config(): +@@ -2852,9 +2851,9 @@ def mk_config(): LIB_EXT= '.lib' else: raise MKException('Unsupported platform: %s' % sysname) @@ -38,6 +38,6 @@ Index: scripts/mk_util.py if is64(): -if not sysname.startswith('CYGWIN') and not sysname.startswith('MSYS') and not sysname.startswith('MINGW'): -CXXFLAGS = '%s -fPIC' % CXXFLAGS - CPPFLAGS = '%s -D_AMD64_' % CPPFLAGS if sysname == 'Linux': CPPFLAGS = '%s -D_USE_THREAD_LOCAL' % CPPFLAGS + elif not LINUX_X64:
Re: [UPDATE] math/z3
OK În 14 decembrie 2018 15:02:35 EET, Remi Pointel a scris: >Hi, > >this diff updates z3 to latest release. > >Ok? > >Cheers, > >Remi.
[UPDATE] math/z3
Hi, this diff updates z3 to latest release. Ok? Cheers, Remi. Index: Makefile === RCS file: /cvs/ports/math/z3/Makefile,v retrieving revision 1.9 diff -u -p -u -p -r1.9 Makefile --- Makefile 24 Nov 2018 00:57:15 - 1.9 +++ Makefile 14 Dec 2018 13:01:40 - @@ -2,14 +2,13 @@ COMMENT = Z3 theorem prover -VERSION = 4.7.1 +VERSION = 4.8.3 DISTNAME = z3-${VERSION} -REVISION = 1 GH_ACCOUNT = Z3Prover GH_PROJECT = z3 -SHARED_LIBS = z3 0.0 +SHARED_LIBS = z3 1.0 CATEGORIES = math Index: distinfo === RCS file: /cvs/ports/math/z3/distinfo,v retrieving revision 1.3 diff -u -p -u -p -r1.3 distinfo --- distinfo 18 Jun 2018 08:15:11 - 1.3 +++ distinfo 14 Dec 2018 13:01:40 - @@ -1,2 +1,2 @@ -SHA256 (z3-4.7.1.tar.gz) = o1Pj2gDNr/0lgFLMFAbvyFRgaFUiKrS/1WecWK9cEcc= -SIZE (z3-4.7.1.tar.gz) = 4015416 +SHA256 (z3-4.8.3.tar.gz) = IWILaMNzzeoNOyzyQCC+Ts+yLt3GYpZj9unOMc/ceN4= +SIZE (z3-4.8.3.tar.gz) = 4119116 Index: pkg/PLIST === RCS file: /cvs/ports/math/z3/pkg/PLIST,v retrieving revision 1.3 diff -u -p -u -p -r1.3 PLIST --- pkg/PLIST 15 Sep 2018 13:27:29 - 1.3 +++ pkg/PLIST 14 Dec 2018 13:01:40 - @@ -7,13 +7,13 @@ include/z3_api.h include/z3_ast_containers.h include/z3_fixedpoint.h include/z3_fpa.h -include/z3_interp.h include/z3_macros.h include/z3_optimization.h include/z3_polynomial.h include/z3_rcf.h include/z3_spacer.h include/z3_v1.h +include/z3_version.h @lib lib/libz3.so.${LIBz3_VERSION} lib/python${MODPY_VERSION}/site-packages/z3/ lib/python${MODPY_VERSION}/site-packages/z3/__init__.py
[UPDATE] math/z3
Hi, attached is a diff to update z3 to latest release. Ok? Cheers, Remi. Index: Makefile === RCS file: /cvs/ports/math/z3/Makefile,v retrieving revision 1.5 diff -u -p -u -p -r1.5 Makefile --- Makefile 10 Apr 2018 08:17:38 - 1.5 +++ Makefile 18 Jun 2018 05:49:07 - @@ -2,7 +2,7 @@ COMMENT = z3 theorem prover -VERSION = 4.6.0 +VERSION = 4.7.1 DISTNAME = z3-${VERSION} GH_ACCOUNT = Z3Prover Index: distinfo === RCS file: /cvs/ports/math/z3/distinfo,v retrieving revision 1.2 diff -u -p -u -p -r1.2 distinfo --- distinfo 10 Apr 2018 08:17:38 - 1.2 +++ distinfo 18 Jun 2018 05:49:07 - @@ -1,2 +1,2 @@ -SHA256 (z3-4.6.0.tar.gz) = UR2jHR+YXPDHmy3gW9pOBXNxulGXadFUb/ceEwT+U8k= -SIZE (z3-4.6.0.tar.gz) = 3987830 +SHA256 (z3-4.7.1.tar.gz) = o1Pj2gDNr/0lgFLMFAbvyFRgaFUiKrS/1WecWK9cEcc= +SIZE (z3-4.7.1.tar.gz) = 4015416
Re: update: math/z3
Le 10-04-2018 06:26, Matthew Martin a écrit : Update z3; builds here with clang 6. Enable tests while here. - Matthew Martin Hi, thanks it's commited. Cheers, Remi.
update: math/z3
Update z3; builds here with clang 6. Enable tests while here. - Matthew Martin diff --git Makefile Makefile index 6fe70abc40a..b32659d5940 100644 --- Makefile +++ Makefile @@ -2,9 +2,8 @@ COMMENT = z3 theorem prover -VERSION = 4.5.0 +VERSION = 4.6.0 DISTNAME = z3-${VERSION} -REVISION = 0 GH_ACCOUNT = Z3Prover GH_PROJECT = z3 @@ -25,11 +24,12 @@ MODULES = lang/python WRKDIST = ${WRKDIR}/z3-${DISTNAME} -NO_TEST = Yes - do-build: cd ${WRKSRC}/build && make +do-test: + cd ${WRKSRC}/build && make test + do-install: cd ${WRKSRC}/build && make install DESTDIR="" diff --git distinfo distinfo index 367c197e8d9..78a13056b2b 100644 --- distinfo +++ distinfo @@ -1,2 +1,2 @@ -SHA256 (z3-4.5.0.tar.gz) = rq4dI5xeBqwYO+fdhTd1uEaY2xJlyyJY5ZGKKDctSgw= -SIZE (z3-4.5.0.tar.gz) = 3573695 +SHA256 (z3-4.6.0.tar.gz) = UR2jHR+YXPDHmy3gW9pOBXNxulGXadFUb/ceEwT+U8k= +SIZE (z3-4.6.0.tar.gz) = 3987830 diff --git pkg/PLIST pkg/PLIST index 0d452ebdc7f..ad83b890997 100644 --- pkg/PLIST +++ pkg/PLIST @@ -12,6 +12,7 @@ include/z3_macros.h include/z3_optimization.h include/z3_polynomial.h include/z3_rcf.h +include/z3_spacer.h include/z3_v1.h lib/libz3.so lib/python${MODPY_VERSION}/site-packages/z3/