<pre style='margin:0'>
Takeshi Enomoto (tenomoto) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d48cf76949328e01b4c80d2c4881ba2032013a1a">https://github.com/macports/macports-ports/commit/d48cf76949328e01b4c80d2c4881ba2032013a1a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d48cf76949328e01b4c80d2c4881ba2032013a1a
</span>Author: tenomoto <takeshi@macports.org>
AuthorDate: Sun Mar 7 14:10:44 2021 +0900
<span style='display:block; white-space:pre;color:#404040;'> ensmallen: add to MacPorts
</span>---
math/ensmallen/Portfile | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/ensmallen/Portfile b/math/ensmallen/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..64ef04ad4b0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/ensmallen/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,36 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compilers 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compilers.choose cc cxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name ensmallen
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.16.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories math devel science
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {takeshi @tenomoto} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description flexible C++ library for efficient numerical optimization
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${name} provides a simple set of abstractions \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for writing an objective function to optimize. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ It also provides a large set of standard and cutting-edge optimizers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ that can be used for virtually any numerical optimization task. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ These include full-batch gradient descent techniques, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ small-batch techniques, gradient-free optimizers, and constrained optimization.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://ensmallen.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}/files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 546c4683d3eaf21d84866daade8f88724c90dcde \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e496c207c20816150a535f891172357f3c136ad8e73cbbc01a77112eb38b0c9a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1265213
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:armadillo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake.out_of_source yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DARMADILLO_INCLUDE_DIR=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DARMADILLO_LIBRARY=${prefix}/lib/libarmadillo.dylib
</span></pre><pre style='margin:0'>
</pre>