mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
47 lines
1.8 KiB
Tcl
47 lines
1.8 KiB
Tcl
# -*- 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.1
|
|
|
|
name ceres-solver
|
|
version 2.2.0
|
|
revision 1
|
|
categories math
|
|
license BSD
|
|
maintainers nomaintainer
|
|
description Library for modeling and solving large, complicated optimization problems.
|
|
long_description Ceres Solver is an open source C++ library for modeling \
|
|
and solving large, complicated optimization problems. It \
|
|
can solve nonlinear least squares problems and general \
|
|
unconstrained optimization problems.
|
|
homepage http://ceres-solver.org
|
|
master_sites ${homepage}
|
|
|
|
checksums rmd160 8cf4b7e69089429a0e78d3f594bda85cb398f585 \
|
|
sha256 48b2302a7986ece172898477c3bcd6deb8fb5cf19b3327bc49969aad4cede82d \
|
|
size 7635532
|
|
|
|
compiler.cxx_standard 2017
|
|
|
|
# Avoid Xcode Clang 7/8: error: no viable conversion between unique_ptr types
|
|
compiler.blacklist-append \
|
|
{clang < 900}
|
|
|
|
depends_lib path:share/pkgconfig/eigen3.pc:eigen3 \
|
|
port:gflags \
|
|
port:google-glog \
|
|
port:metis \
|
|
port:SuiteSparse_config \
|
|
port:SuiteSparse_AMD \
|
|
port:SuiteSparse_CAMD \
|
|
port:SuiteSparse_COLAMD \
|
|
port:SuiteSparse_CCOLAMD \
|
|
port:SuiteSparse_CHOLMOD \
|
|
port:SuiteSparse_SPQR
|
|
|
|
configure.args-append -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF
|
|
|
|
livecheck.type regex
|
|
livecheck.url ${homepage}/installation.html
|
|
livecheck.regex ${name}-(\[0-9.\]+).tar.gz
|