<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/929c9fe9eeb07d4f45e306617151f944438f0855">https://github.com/macports/macports-ports/commit/929c9fe9eeb07d4f45e306617151f944438f0855</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 929c9fe9eeb alps: Use bundled boost
</span>929c9fe9eeb is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 929c9fe9eeb07d4f45e306617151f944438f0855
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Oct 5 19:32:27 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> alps: Use bundled boost
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/60825
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> And don't change CMAKE_SYSTEM_PREFIX_PATH. Not sure why that's been in
</span><span style='display:block; white-space:pre;color:#404040;'> the port since it was added in 874356358aa9ecfa7bfa228885d7dde9fb681e06.
</span>---
science/alps/Portfile | 38 ++++++++++++++------------------------
1 file changed, 14 insertions(+), 24 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/alps/Portfile b/science/alps/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 60729321a21..a6ccbcfb668 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/alps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/alps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,13 +1,16 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cmake 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup conflicts_build 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span> PortGroup compilers 1.0
name alps
version 2.3.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 40a04447f7c6d26aff0124a3b0f879aedc981ed9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a40963811a05ad874e9f02747c532a4873095b94e183ecd31869199f58be1f65 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 127625225
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories science
platforms darwin
license Restrictive
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,43 +27,33 @@ long_description The ALPS project (Algorithms and Libraries for Physics S
</span>
homepage http://alps.comp-phys.org/
master_sites ${homepage}static/software/releases
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${name}-${version}-src
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 1fee73ada0aa7e9851801f6d6caffe75d60d485d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 e64208d1e5acdd6f569277413c4867e1fa366cf4a224570eacbf1e9939fca2d2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${name}-${version}-src-with-boost
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:hdf5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:boost \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:boost-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:hdf5
</span>
compilers.choose cc cxx
compilers.setup
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compilers.enforce_c boost
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> patchfiles-append patch-applications-dmft-qmc-CMakeLists.txt.diff
if {([c_variant_isset] && [clang_variant_isset] && ${configure.cxx_stdlib} eq "libc++") || (![c_variant_isset] && [string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} eq "libc++")} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DCMAKE_CXX_FLAGS=\"-std=c++11\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -std=c++11
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-delete -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append -DCMAKE_SYSTEM_PREFIX_PATH=\"/usr\;${prefix}\" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DALPS_BUILD_TESTS=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DALPS_BUILD_TESTS=OFF \
</span> -DALPS_INCLUDE_TUTORIALS=OFF \
-DALPS_BOOST_LIBRARY_NAME=alps-boost \
-DALPS_BUILD_APPLICATIONS=OFF \
-DALPS_ENABLE_MPI=OFF \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBoost_ROOT_DIR:PATH=${worksrcpath}/boost \
</span> -DHDF5_dl_LIBRARY_DEBUG=NO \
-DHDF5_hdf5_LIBRARY_DEBUG=NO \
-DHDF5_hdf5_hl_LIBRARY_DEBUG=NO \
-DHDF5_m_LIBRARY_DEBUG=NO \
-DHDF5_z_LIBRARY_DEBUG=NO
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# make sure this comes after further options that the cmake portgroup adds, to specify directory correctly,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# overwrite the default setting to worksrcpath.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.post_args ./alps
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake.source_dir ${worksrcpath}/alps
</span>
use_parallel_build yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -78,7 +71,6 @@ variant openmpi conflicts mpich description "Add MPI parallelization using OpenM
</span> set mpi_port openmpi-${c_variant}
set mpi_suffix ${c_variant}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants boost openmpi {}
</span> depends_lib-append port:${mpi_port}
compilers.enforce_c ${mpi_port}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -95,7 +87,6 @@ variant mpich conflicts openmpi description "Add MPI parallelization using MPICH
</span> set mpi_port mpich-${c_variant}
set mpi_suffix ${c_variant}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants boost mpich {}
</span> depends_lib-append port:${mpi_port}
compilers.enforce_c ${mpi_port}
configure.args-delete -DALPS_ENABLE_MPI=OFF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -104,7 +95,6 @@ variant mpich conflicts openmpi description "Add MPI parallelization using MPICH
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# python 3 requires Boost 1.63 which is not yet in Macport
</span> set pythons_suffixes {27}
set pythons_ports {}
foreach s ${pythons_suffixes} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -124,7 +114,7 @@ foreach s ${pythons_suffixes} {
</span> patchfiles-append patch-config-FindPython.cmake.diff
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace \"s|@PYTHON@|python[regsub {(.)(.+)} ${s} {\1.\2}]|g\" ${worksrcpath}/alps/config/FindPython.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \"s|@PYTHON@|python[regsub {(.)(.+)} ${s} {\1.\2}]|g\" ${cmake.source_dir}/config/FindPython.cmake
</span> }
"
}
</pre><pre style='margin:0'>
</pre>