<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/97a9a3326c5edb9e0b03ae84271506e2969e72a0">https://github.com/macports/macports-ports/commit/97a9a3326c5edb9e0b03ae84271506e2969e72a0</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 97a9a3326c5 dbcsr: update to 2.6.0, fix the port
</span>97a9a3326c5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 97a9a3326c5edb9e0b03ae84271506e2969e72a0
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Sat Jan 13 23:46:07 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> dbcsr: update to 2.6.0, fix the port
</span>---
math/dbcsr/Portfile | 44 ++++++++++++++++++++++++++------------------
1 file changed, 26 insertions(+), 18 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/dbcsr/Portfile b/math/dbcsr/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 734385a4242..8113db9f4ef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/dbcsr/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/dbcsr/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,8 +7,8 @@ PortGroup github 1.0
</span> PortGroup linear_algebra 1.0
PortGroup mpi 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup cp2k dbcsr 2.5.0 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup cp2k dbcsr 2.6.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories math
license GPL-2
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,9 +18,9 @@ long_description DBCSR is a library designed to efficiently perform \
</span> It is MPI and OpenMP parallel and can exploit Nvidia and AMD GPUs \
via CUDA and HIP.
homepage https://cp2k.github.io/dbcsr
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 a93fc551066433958e76a6ad5378afa1a6b974bc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 91fda9b2502e5d0a2a6cdd5a73ef096253cc7e75bd01ba5189a4726ad86aef08 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2640119
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 63e902419c60974400ca6764f576369267654e44 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c67b02ff9abc7c1f529af446a9f01f3ef9e5b0574f220259128da8d5ca7e9dc6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2964461
</span> github.tarball_from releases
cmake.generator Ninja
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,14 +30,11 @@ depends_build-append \
</span> port:py${py_ver_nodot}-fypp \
port:python${py_ver_nodot}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.arch} eq "powerpc"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mpi.setup require require_fortran \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# We need gcc with this port. See upstream on the compiler choice:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/cp2k/dbcsr/issues/740#issuecomment-1858000876
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+mpi.setup require require_fortran \
</span> -gcc44 -gcc45 -gcc46 -gcc47 -gcc48 -gcc49 -gcc5 -gcc6 \
-clang -fortran
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mpi.setup require require_fortran \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -gcc44 -gcc45 -gcc46 -gcc47 -gcc48 -gcc49 -gcc5 -gcc6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span>
compiler.cxx_standard 2014
compiler.openmp_version 4.5
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -79,11 +76,12 @@ configure.args-append \
</span> -DPython_EXECUTABLE=${prefix}/bin/python${py_ver} \
-DFYPP_EXECUTABLE=${prefix}/bin/fypp-${py_ver} \
-DUSE_MPI=ON \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DUSE_MPI_F08=ON \
</span> -DUSE_OPENMP=ON \
-DUSE_SMM=blas \
-DWITH_C_API=ON \
-DWITH_CUDA_PROFILING=OFF \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DBUILD_TESTING=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_TESTING=OFF \
</span> -DTEST_OMP_THREADS=2 \
-DTEST_MPI_RANKS=4 \
-DWITH_EXAMPLES=OFF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -94,10 +92,20 @@ if {${os.platform} eq "darwin" && ${os.major} < 11} {
</span> -DTEST_MPI_RANKS=4 -DTEST_MPI_RANKS=2
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-test {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # test infrastructure uses /bin/ps, which is forbidden by sandboxing
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- append portsandbox_profile " (allow process-exec (literal \"/bin/ps\") (with no-profile))"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant tests description "Enable testing" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pre_args-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DDBUILD_TESTING=OFF DBUILD_TESTING=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # test infrastructure uses /bin/ps, which is forbidden by sandboxing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ append portsandbox_profile " (allow process-exec (literal \"/bin/ps\") (with no-profile))"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.cmd ctest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd ctest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>