From nobody Thu Jun 6 08:49:06 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vvyg647Qdz5M4vp; Thu, 06 Jun 2024 08:49:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vvyg62yLfz4T8k; Thu, 6 Jun 2024 08:49:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717663746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MwyJNcXj88QPDBYtjixWVIotEJzd0k0tj5IH8bSO7gA=; b=fNqKmbxwwvMFeQCvQx95/kep3ynbruKhxTmBQXqwFYM0uLPLJUypbAHRkxRyid6rzIfUaf iJ34AIEcPyCEJ9gK6PhRrvnDAbinnLqXFwD/FKgZn0CIogx1apQ9X34iAaGuYzAkK61gH2 emxkM8lB3crxdLq///qGO1iqxUJyQlpEyvDQIdnUgNAMXMAdh7jf0BSYBHvUTg7/5eIXcI 4wmJi2Kwhnq5e2z4Opt+bTGl80BB/Vt7H9nH5AXzdPIb6IZXpOBBI+3rhsy3BqR+8J24Xp mtygYk/aI9JeH3HGWswy1m8hwfNLe3tAoFGqt5EngFEOwnnIUKUMD6YkPvKWSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717663746; a=rsa-sha256; cv=none; b=huU6x7EsI4S7yiu56JImxqAhLLDNXp2wdPrzfQN+Okw0Bbwr4u0rUaLBALVA+wcUGqxJLs GWNKgNzXkcftV6oSGq3HEJKKz/uWDYcdRG5mLIL0iuRKGXLCjleiZXMcSa2iu50lndK0kj zS5BRlLcW4EdlJhImJCimVMp/HkCzECha9zceBXauVKQ7BBtP5TAEHHzt6kk/gPjwZ++eo DovxMgrHkMxYBFcLlPAqaWmWM8uIVLbh8K3hLkBmyHL6zaFDhMUFDP1D+4Fg9da0rsTi0f sFDL3k3Q+d/zsYiTQpBz6xrLkEb1HviG/F8tJwksPtUVVDNP9TZ+LpP/ptRmgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717663746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MwyJNcXj88QPDBYtjixWVIotEJzd0k0tj5IH8bSO7gA=; b=mh7ZpDgae78cJDdh+OXkEfalk1dxopS+d3koohdydp9WHV5U1QjhFWPebXtpBNifR/z/j/ PI/rT4cwCYZKv0xNXpm5smb1uY2wsV5KsUOmB7sE6Y1Fpz04oxCbV7a7iuIa03sRi9l44z 0eTgF3VCrO5NYcuGKVdlyBcrdqBSAsw0y592MLpndWlcpjCWPCJYhqEG4tnTdCOsFGypS2 YZoVB/++ap87Rhd4zS8I5MR/WM+KlO13iTfRnclm3ukKCaUluujJgXRJGGuq/12+ADRJvD fRiobGFaPK1BBqbHpiMp/V9QzsSqUjGy3bkphJ4ZcXXm4U/GPwPp4J6r6wQ2XA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vvyg62YXwzfmp; Thu, 6 Jun 2024 08:49:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4568n6if002887; Thu, 6 Jun 2024 08:49:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4568n6FI002884; Thu, 6 Jun 2024 08:49:06 GMT (envelope-from git) Date: Thu, 6 Jun 2024 08:49:06 GMT Message-Id: <202406060849.4568n6FI002884@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 917337a00901 - main - math/boolector: Fix tests (except one hanging test) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 917337a0090162ff81663ef364b3c2cf68f65561 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=917337a0090162ff81663ef364b3c2cf68f65561 commit 917337a0090162ff81663ef364b3c2cf68f65561 Author: Yuri Victorovich AuthorDate: 2024-06-06 05:12:09 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-06 08:48:58 +0000 math/boolector: Fix tests (except one hanging test) --- math/boolector/Makefile | 8 ++++++-- math/boolector/files/patch-CMakeLists.txt | 13 +++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/math/boolector/Makefile b/math/boolector/Makefile index 0d69f8ae44fe..6050ef0b1202 100644 --- a/math/boolector/Makefile +++ b/math/boolector/Makefile @@ -19,17 +19,21 @@ LIB_DEPENDS= libbtor2parser.so:math/btor2tools \ libgmp.so:math/gmp TEST_DEPENDS= bash:shells/bash -USES= cmake:noninja,testing compiler:c++11-lang cpe python:test # ninja fails to build tests +USES= cmake:noninja,testing compiler:c++11-lang cpe python:test shebangfix CPE_VENDOR= boolector_project USE_GITHUB= yes GH_ACCOUNT= Boolector +SHEBANG_GLOB= *.sh + CMAKE_ON= BUILD_SHARED_LIBS \ USE_GMP CMAKE_OFF= TESTING -CMAKE_TESTING_ON= TESTING # tests fail to comile, see https://github.com/Boolector/boolector/issues/216 +CMAKE_TESTING_ON= TESTING # 1 test hangs, see https://github.com/Boolector/boolector/issues/227 CMAKE_ARGS= -DCaDiCaL_INCLUDE_DIR=${LOCALBASE}/include +BINARY_ALIAS= python=${PYTHON_CMD} python3=${PYTHON_CMD} + .include diff --git a/math/boolector/files/patch-CMakeLists.txt b/math/boolector/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..c36c496feea3 --- /dev/null +++ b/math/boolector/files/patch-CMakeLists.txt @@ -0,0 +1,13 @@ +- workaround for https://github.com/Boolector/boolector/issues/226 + +--- CMakeLists.txt.orig 2024-06-06 01:55:51 UTC ++++ CMakeLists.txt +@@ -196,7 +196,7 @@ add_required_c_flag("-std=gnu99") + # btorconfig.h and they are else not yet added to CMAKE_C(XX)_FLAGS at + # file generation time (configure_file). + add_required_c_flag("-std=gnu99") +-add_required_cxx_flag("-std=gnu++11") ++add_required_cxx_flag("-std=gnu++14") + + add_check_c_cxx_flag("-W") + add_check_c_cxx_flag("-Wall")