From df108c40182e86eb695e785fd703740f241558ba Mon Sep 17 00:00:00 2001 From: i0ntempest Date: Wed, 3 Dec 2025 19:03:09 +0800 Subject: [PATCH] bwbench: 3.0 --- benchmarks/bwbench/Portfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/benchmarks/bwbench/Portfile b/benchmarks/bwbench/Portfile index 61365c1cb0d..e4f6e2fe676 100644 --- a/benchmarks/bwbench/Portfile +++ b/benchmarks/bwbench/Portfile @@ -4,7 +4,7 @@ PortSystem 1.0 PortGroup github 1.0 PortGroup makefile 1.0 -github.setup RRZE-HPC TheBandwidthBenchmark 2.0 v +github.setup RRZE-HPC TheBandwidthBenchmark 3.0 v github.tarball_from archive name bwbench revision 0 @@ -16,17 +16,17 @@ description The ultimate memory bandwidth benchmark long_description ${description} - heavily inspired by John McCalpin's Stream benchmark and\ contains a collection of simple streaming kernels -checksums rmd160 7fd0054057f149c98555777ac98a9ac89170e930 \ - sha256 af01e1702fa6a2f4625fb757b71928432f52d2cd3bddee0e9c279ef617f3a6ee \ - size 15620 +checksums rmd160 975867b608d040d97f1c13323175ee68f02fc183 \ + sha256 cc6e073788c3b90c4796ee8604eb587d7bfb7986a816397a295c77fb894b086a \ + size 20902 post-patch { if {[string match *clang* ${configure.compiler}]} { - reinplace "s|TOOLCHAIN ?= ICX|TOOLCHAIN ?= CLANG|" config.mk + reinplace "s|TOOLCHAIN ?= .*|TOOLCHAIN = CLANG|" config.mk } elseif {[string match *gcc* ${configure.compiler}]} { - reinplace "s|TOOLCHAIN ?= ICX|TOOLCHAIN ?= GCC|" config.mk + reinplace "s|TOOLCHAIN ?= .*|TOOLCHAIN = GCC|" config.mk } - reinplace "s|ENABLE_OPENMP ?= true|ENABLE_OPENMP ?= false|" config.mk + reinplace "s|ENABLE_OPENMP ?= true|ENABLE_OPENMP = false|" config.mk # Remove compiler suffix in binary filename reinplace "s|bwbench-\$(TOOLCHAIN)|bwbench|" Makefile } @@ -42,7 +42,7 @@ variant openmp description {enable parallelism support using OpenMP} { compiler.openmp_version 4.5 compiler.blacklist-append {macports-clang-[0-9].*} post-patch { - reinplace "s|ENABLE_OPENMP ?= false|ENABLE_OPENMP ?= true|" config.mk + reinplace "s|ENABLE_OPENMP = false|ENABLE_OPENMP = true|" config.mk } }