From nobody Wed Jul 12 04:20:13 2023 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 4R14KB02v9z4mhCp; Wed, 12 Jul 2023 04:20:14 +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 4R14K94ClZz3G2H; Wed, 12 Jul 2023 04:20:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689135613; 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=NDX5ZzYsE12gQenddlwJb5SWIF2tpoAmsQUf7WjzIzc=; b=H7kGqlRfGbrurP2Y955euzwEFxtROWJKvCKsN5eQTXPHNpC2Q7K+K0aqeCYj+f2bATEnfd vdQLDIowFntjhDbMSLO3ubgPnmMKCSaHBaT1ks5H6MAHiddODCaff3vOvrWs8tOW+n1SfJ G3oz6nLqQoIhzlz37j/+abX6jQbu9+pKYWb+6Vbvtfftgf+AcwI7acsoUhTSgTeMSjteiX TyuBnVsx9oybXTRkq/Ui+NCMTz8keP/pKYZowEMGI/7bPGXZrXa+F0FM+qh7snOvIpT2h0 h2zgXUGB7YiYSYSSh9rlNb3+UC+AWgzfdzAxUlGiJdbjCaICOimPqDD/MfqNEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689135613; 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=NDX5ZzYsE12gQenddlwJb5SWIF2tpoAmsQUf7WjzIzc=; b=k5d01W7rG00VT3YFCwjHegJGUNb8AdCUQSTljI+NxaUN/K68xINa1Mti60U0+B42aKTSxN xpCnXkFqsFZFpy+s9okrIQUPPSVZEDEB4NRQtM3Aay5l7RMCkj8ElLS94z446cG3VyV2rc FPifzT4C+Wi5gmYnil6yXKNW6s0NbebdZkWNoi0udKeiNhAod8S6x484blp7JyXjj/iHv4 CAJa/o8m9QPedu61RkcziATE87DaOIoANQsyPl+t0Ablaj+WjiZERPaNtSwGuSIoPKetsJ CfNamukAUCP3DeTDbLdZYxcfj2Vuk6hsN18cSW1G4K0rD6kps2S+Dj8ShGI8pQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689135613; a=rsa-sha256; cv=none; b=s9CogR4d8kPmWnuHGzUo4kF2Bs2SHbo82VIktrHKbFzXspHK4zH0BuTUKDJ34Fge72piH+ M5kcNM/RcsvDi6np9XUsZGDMj/L4jo+vGMicfjsBVgjtHsvUtFt9UFy/eiOnItnEsFPzez G7nHJwL5NQyyntNQVA9BS6OI9okWYPmlqTZryRckz4p21HK2Zte/zdwWFqThI01qG23iqb FcJan6RJs39AnP5cpAh3gMLic6vqdpZGYFDEtvaZmVT1IkmoAeteJj/wMgzUIZr4E4SSHe 1yWZRkX8YToNM/9xVC07v4aanypNHB5EwIF7oypZYzT/f7QphJn4j6Q8oBN88g== 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 4R14K93FrKzv11; Wed, 12 Jul 2023 04:20:13 +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 36C4KD1S022995; Wed, 12 Jul 2023 04:20:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36C4KDg3022989; Wed, 12 Jul 2023 04:20:13 GMT (envelope-from git) Date: Wed, 12 Jul 2023 04:20:13 GMT Message-Id: <202307120420.36C4KDg3022989@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: df9b162e1d1f - main - =?utf-8?Q?science/dwave-preprocessing:=20Update=200.5.4=20=E2=86=92=200.6.2?= 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: 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: df9b162e1d1f8030c02b32fae9359a4d0ee014d2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=df9b162e1d1f8030c02b32fae9359a4d0ee014d2 commit df9b162e1d1f8030c02b32fae9359a4d0ee014d2 Author: Yuri Victorovich AuthorDate: 2023-07-12 04:14:01 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-12 04:14:01 +0000 science/dwave-preprocessing: Update 0.5.4 → 0.6.2 Reported by: portscout --- science/dwave-preprocessing/Makefile | 2 +- science/dwave-preprocessing/distinfo | 6 ++-- ...ch-dwave_preprocessing_include_dwave_presolve.h | 11 ------- .../files/patch-testscpp_Makefile | 37 ++++++++-------------- .../patch-testscpp_tests_test__roof__duality.cpp | 12 +++---- 5 files changed, 23 insertions(+), 45 deletions(-) diff --git a/science/dwave-preprocessing/Makefile b/science/dwave-preprocessing/Makefile index 59b943e612d6..72d49e260fb0 100644 --- a/science/dwave-preprocessing/Makefile +++ b/science/dwave-preprocessing/Makefile @@ -1,5 +1,5 @@ PORTNAME= dwave-preprocessing -DISTVERSION= 0.5.4 +DISTVERSION= 0.6.2 CATEGORIES= science # quantum-computing MAINTAINER= yuri@FreeBSD.org diff --git a/science/dwave-preprocessing/distinfo b/science/dwave-preprocessing/distinfo index 3856873fccd3..c37a7fdd4f11 100644 --- a/science/dwave-preprocessing/distinfo +++ b/science/dwave-preprocessing/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1687113085 -SHA256 (dwavesystems-dwave-preprocessing-0.5.4_GH0.tar.gz) = 864ec18a8f14a83f0439d3cb6a9006c0d9577012f2cab14b622dc715bac17b24 -SIZE (dwavesystems-dwave-preprocessing-0.5.4_GH0.tar.gz) = 104138 +TIMESTAMP = 1689134786 +SHA256 (dwavesystems-dwave-preprocessing-0.6.2_GH0.tar.gz) = e73f9fcb9210351f02d3982cd497b7fcd2eb935275ba1f2ef798fb87805ef699 +SIZE (dwavesystems-dwave-preprocessing-0.6.2_GH0.tar.gz) = 125568 diff --git a/science/dwave-preprocessing/files/patch-dwave_preprocessing_include_dwave_presolve.h b/science/dwave-preprocessing/files/patch-dwave_preprocessing_include_dwave_presolve.h deleted file mode 100644 index 729aad02ae68..000000000000 --- a/science/dwave-preprocessing/files/patch-dwave_preprocessing_include_dwave_presolve.h +++ /dev/null @@ -1,11 +0,0 @@ ---- dwave/preprocessing/include/dwave/presolve.h.orig 2023-06-18 18:36:53 UTC -+++ dwave/preprocessing/include/dwave/presolve.h -@@ -19,7 +19,7 @@ - #include - #include - --#include "spdlog/spdlog.h" -+#include - #include "dimod/constrained_quadratic_model.h" - - namespace dwave { diff --git a/science/dwave-preprocessing/files/patch-testscpp_Makefile b/science/dwave-preprocessing/files/patch-testscpp_Makefile index e8c4e6997413..4abca62bdf8c 100644 --- a/science/dwave-preprocessing/files/patch-testscpp_Makefile +++ b/science/dwave-preprocessing/files/patch-testscpp_Makefile @@ -1,32 +1,21 @@ ---- testscpp/Makefile.orig 2022-12-19 19:58:20 UTC +--- testscpp/Makefile.orig 2023-07-06 22:19:16 UTC +++ testscpp/Makefile -@@ -1,10 +1,10 @@ +@@ -1,15 +1,15 @@ ROOT := .. - SRC := $(ROOT)/dwave/preprocessing/ - CATCH2 := $(ROOT)/testscpp/Catch2/single_include/ + INCLUDE := $(ROOT)/dwave/preprocessing/include + SRC := $(ROOT)/dwave/preprocessing/src -DIMOD := $(shell python -c 'import dimod; print(dimod.get_include())') +#DIMOD := $(shell python -c 'import dimod; print(dimod.get_include())') + CATCH2 := $(ROOT)/testscpp/Catch2/single_include/ SPDLOG := $(ROOT)/extern/spdlog/include/ - INCLUDES := -I $(SRC)/include/ -I $(DIMOD) -I $(CATCH2) -I $(SPDLOG) --FLAGS := -std=c++17 -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-deprecated-declarations -fcompare-debug-second -O3 -+FLAGS := ${CXXFLAGS} -std=c++17 -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-deprecated-declarations - - all: update test_main test_main_parallel tests tests_parallel - -@@ -15,12 +15,12 @@ tests_parallel: test_main_parallel.out - ./test_main_parallel +-FLAGS := -std=c++17 -Wall -Wno-unknown-pragmas -fcompare-debug-second -O3 ++FLAGS := ${CXXFLAGS} -std=c++17 -Wall -Wno-unknown-pragmas - test_main: test_main.cpp -- g++ $(FLAGS) -c test_main.cpp -- g++ $(FLAGS) test_main.o tests/*.cpp -o test_main $(INCLUDES) -+ ${CXX} $(FLAGS) -c test_main.cpp -+ ${CXX} $(FLAGS) ${LDFLAGS} test_main.o tests/*.cpp -o test_main $(INCLUDES) + all: update tests - test_main_parallel: test_main.cpp -- g++ $(FLAGS) -fopenmp -c test_main.cpp -o test_main_parallel.o -- g++ $(FLAGS) -fopenmp test_main_parallel.o tests/*.cpp -o test_main_parallel $(INCLUDES) -+ ${CXX} $(FLAGS) -fopenmp -c test_main.cpp -o test_main_parallel.o -+ ${CXX} $(FLAGS) ${LDFLAGS} -fopenmp test_main_parallel.o tests/*.cpp -o test_main_parallel $(INCLUDES) + test_main.o: +- $(CXX) test_main.cpp -c ++ $(CXX) $(FLAGS) test_main.cpp -c - update: - git submodule init + # Developer note: we could make this more generic, but because the package structure + # is not at all consistent and because we have so few test files I think it's clearer to diff --git a/science/dwave-preprocessing/files/patch-testscpp_tests_test__roof__duality.cpp b/science/dwave-preprocessing/files/patch-testscpp_tests_test__roof__duality.cpp index e679ab3df1c0..33d657fdb02c 100644 --- a/science/dwave-preprocessing/files/patch-testscpp_tests_test__roof__duality.cpp +++ b/science/dwave-preprocessing/files/patch-testscpp_tests_test__roof__duality.cpp @@ -1,11 +1,11 @@ ---- testscpp/tests/test_roof_duality.cpp.orig 2022-12-19 19:58:20 UTC +--- testscpp/tests/test_roof_duality.cpp.orig 2023-07-06 22:19:16 UTC +++ testscpp/tests/test_roof_duality.cpp -@@ -12,7 +12,7 @@ - // See the License for the specific language governing permissions and - // limitations under the License. +@@ -14,7 +14,7 @@ --#include "catch2/catch.hpp" -+#include #include +-#include "catch2/catch.hpp" ++#include #include "dwave-preprocessing/fix_variables.hpp" + + namespace fix_variables_ {