ensmallen: add to MacPorts

This commit is contained in:
tenomoto
2021-03-07 14:10:44 +09:00
parent f7789e13b2
commit d48cf76949
+36
View File
@@ -0,0 +1,36 @@
# -*- 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
PortGroup cmake 1.0
PortGroup compilers 1.0
compilers.choose cc cxx
name ensmallen
version 2.16.1
categories math devel science
platforms darwin
license BSD
maintainers {takeshi @tenomoto} openmaintainer
description flexible C++ library for efficient numerical optimization
long_description \
${name} provides a simple set of abstractions \
for writing an objective function to optimize. \
It also provides a large set of standard and cutting-edge optimizers \
that can be used for virtually any numerical optimization task. \
These include full-batch gradient descent techniques, \
small-batch techniques, gradient-free optimizers, and constrained optimization.
homepage https://ensmallen.org
master_sites ${homepage}/files
checksums rmd160 546c4683d3eaf21d84866daade8f88724c90dcde \
sha256 e496c207c20816150a535f891172357f3c136ad8e73cbbc01a77112eb38b0c9a \
size 1265213
depends_lib port:armadillo
cmake.out_of_source yes
configure.args-append \
-DARMADILLO_INCLUDE_DIR=${prefix}/include \
-DARMADILLO_LIBRARY=${prefix}/lib/libarmadillo.dylib