pkgsrc/math/nlopt/buildlink3.mk
wen 9f5ccd11df Import nlopt-2.4.2 as math/nlopt.
NLopt is a free/open-source library for nonlinear optimization,
providing a common interface for a number of different free optimization
outines available online as well as original implementations of various
other algorithms.

Its features include:
- Callable from C, C++, Fortran, Matlab or GNU Octave, Python,
  GNU Guile, Julia, GNU R, Lua, and OCaml.
- A common interface for many different algorithms -- try a different
  algorithm just by changing one parameter.
- Support for large-scale optimization (some algorithms scalable to
  millions of parameters and thousands of constraints).
- Both global and local optimization algorithms.
- Algorithms using function values only (derivative-free) and also
  algorithms exploiting user-supplied gradients.
- Algorithms for unconstrained optimization, bound-constrained
  optimization, and general nonlinear inequality/equality constraints.

Reviewed by:	wiz@
2015-11-28 07:33:38 +00:00

13 lines
329 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1 2015/11/28 07:33:38 wen Exp $
BUILDLINK_TREE+= nlopt
.if !defined(NLOPT_BUILDLINK3_MK)
NLOPT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.nlopt+= nlopt>=2.4.2
BUILDLINK_ABI_DEPENDS.nlopt+= nlopt>=2.4.2
BUILDLINK_PKGSRCDIR.nlopt?= ../../math/nlopt
.endif # NLOPT_BUILDLINK3_MK
BUILDLINK_TREE+= -nlopt