Port details |
- nlopt Nonlinear optimization library
- 2.9.0 math =3 2.8.0Version of this port present on the latest quarterly branch.
- Maintainer: rhurlin@FreeBSD.org
- Port Added: 2014-10-11 18:47:10
- Last Update: 2024-11-12 15:34:04
- Commit Hash: cdc0abb
- People watching this port, also watch:: wmweather+, qgis, R, mdbtools, mpb
- License: LGPL21 MIT
- WWW:
- https://nlopt.readthedocs.io/en/latest/
- Description:
- 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.
- Free/open-source software under the GNU LGPL
(and looser licenses for some portions of NLopt).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/math/nlopt/ && make install clean
- To add the package, run one of these commands:
- pkg install math/nlopt
- pkg install nlopt
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: nlopt
- Package flavors (<flavor>: <package>)
- full: nlopt
- minimal: nlopt-minimal
- distinfo:
- TIMESTAMP = 1731392424
SHA256 (stevengj-nlopt-v2.9.0_GH0.tar.gz) = 6e899e297485e457ec1bf84844de29921aeef674f9d5caf60277df45dca6ff76
SIZE (stevengj-nlopt-v2.9.0_GH0.tar.gz) = 2054092
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- swig : devel/swig
- py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
- cmake : devel/cmake-core
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
- python3.11 : lang/python311
- Library dependencies:
-
- libguile-3.0.so : lang/guile3
- libgc-threaded.so : devel/boehm-gc-threaded
- This port is required by:
- for Libraries
-
- astro/stellarium
- biology/bolt-lmm
- cad/PrusaSlicer
- devel/libnest2d-ultimaker
- devel/py-pynest2d
- math/R-cran-nloptr
- math/freefem++
Configuration Options:
- No options to configure
- Options name:
- math_nlopt
- USES:
- cmake:testing guile:3.0,alias localbase pkgconfig python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.9.0 12 Nov 2024 15:34:04 |
Rainer Hurling (rhurlin) |
math/nlopt: Update to 2.9.0
- New NLOPT_LUKSAN cmake option to build without Luksan LGPL code
- Dropped unused LD_LBFGS_NOCEDAL enum value
- Python 3.13 support
- Fixed COBYLA not returning the optimum
- Fixed SLSQP returning infeasible optimum
- Fixed STOGO not registering new optimum
- Various minor bugfixes
Changelog: https://github.com/stevengj/nlopt/compare/v2.8.0...v2.9.0
Reported by: portscout, Repology |
2.8.0 25 Aug 2024 13:19:20 |
Rainer Hurling (rhurlin) |
math/nlopt: Update to 2.8.0
- Switch from guile2 to guile3
- Pet portclippy
Since guile-config-3.0 crashes, nlopt avoids its use with some patches.
Changelog: https://github.com/stevengj/nlopt/releases/tag/v2.8.0
Reported by: portscout, Repology |
2.7.1_3 24 Jan 2024 19:32:20 |
Rainer Hurling (rhurlin) Author: Alexey Dokuchaev |
math/nlopt: Flavorize in full and minimize
- full: Complete installation as before [default]
- minimum: No NumPy and Guile2 support, mainly C++ |
2.7.1_2 30 Jul 2023 22:59:04 |
Robert Clausecker (fuz) Author: Andrew "RhodiumToad" Gierth |
*/*: adapt to new guile framework
- change all ports using guile to USES=guile
- flavorize guile-lib, guile-cairo, slib-guile
PR: 260960
Reported by: Martin Neubauer <m.ne@gmx.net>
Approved by: bofh
Differential Revision: https://reviews.freebsd.org/D40194 |
2.7.1_1 23 Apr 2023 09:09:58 |
Gerald Pfeifer (gerald) |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.7.1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.7.1 20 Jul 2022 14:22:24 |
Tobias C. Berner (tcberner) |
math: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Alessando Sagratini <ale_sagra@hotmail.com>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Amarendra Godbole <amarendra.godbole@gmail.com>
* Anders Nordby <anders@FreeBSD.org>
* Andreas Fehlner (fehlner@gmx.de)
* Andrew L. Neporada <andrew@chg.ru>
* Andrey <gugu@zoo.rambler.ru>
* Andrey Zakhvatov (Only the first 15 lines of the commit message are shown above ) |
2.7.1 21 Jun 2022 05:52:38 |
Rainer Hurling (rhurlin) |
math/nlopt: Use localbase to find gmp.h
CFLAGS is obsolete here, if localbase defined.
Reported by: Fernando Apesteguia <fernando.apesteguia@gmail.com> |
2.7.1 20 Jun 2022 19:37:08 |
Rainer Hurling (rhurlin) Author: Yuri Victorovich |
math/nlopt: Add test target
Add ctest. While here, pet portclippy.
PR: 264774 |
2.7.1 16 May 2022 06:49:43 |
Loïc Bartoletti (lbartoletti) |
devel/cmake: Update to 3.23.0
Update to 3.23.0.
Fix pkg-plist: using the default share/man location
Release Notes:
https://cmake.org/cmake/help/v3.23/release/3.23.html
PR: 262886
Exp-run by: antoine |
2.7.1 10 Dec 2021 19:43:50 |
Rainer Hurling (rhurlin) |
math/nlopt: Update to 2.7.1
Changelog: https://github.com/stevengj/nlopt/blob/master/NEWS.md#nlopt-271
Reported by: portscout, Repology
MFH: 2021Q4 |
2.7.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.7.0 19 Nov 2020 13:40:36 |
rhurlin |
math/nlopt: Update to 2.7.0
Minor release:
- New nlopt_set_param API for setting internal algorithm parameters
- Avoid library-symbol conflicts
Changelog: https://github.com/stevengj/nlopt/releases/tag/v2.7.0
Reported by: portscout
Approved by: arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D27276 |
2.6.2 10 Sep 2020 19:17:39 |
rhurlin |
Change the maintainer entry in rhurlin's ports
After I got a commit bit for ports, it is time now to change the maintainers
entry in all 'owned' ports.
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D26398 |
2.6.2 17 Jun 2020 18:17:45 |
sunpoet |
Move devel/swig30 to devel/swig and update to 4.0.1
- Do not silence installation message
- Update dependent ports:
- Fix build with swig 4.0.1
- Update *_DEPENDS
- Remove BINARY_ALIAS
Changes: http://www.swig.org/news.php
PR: 246613
Exp-run by: antoine |
2.6.2 25 Apr 2020 07:29:22 |
yuri |
math/nlopt: Update 2.6.1 -> 2.6.2
PR: 245893
Approved by: rhurlin@gwdg.de (maintainer) |
2.6.1_2 26 Jul 2019 20:46:57 |
gerald |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
2.6.1_1 27 Jun 2019 09:02:57 |
danfe |
Update Guile to version 2.2.5, modern stable version, and fix dependent
ports to build against it. Most changes are rather minor and mechanical
except for the devel/gdb (obtained via their bugtracker [1], courtesy of
Doug Evans). One port (science/meep) I had to mark BROKEN after fixing
it proved to be very tedious and actually unreliable. It is very old,
there are newer versions available so it should be fixed by updating.
One port (devel/libruin) had revealed a bug in the new Guile code (an
auxiliary script, really) that had to be worked-round; reference to the
problematic upstream commit is provided in the patch.
PR: 229613
Exp-run by: antoine
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=21104#c8 |
2.6.1 15 Apr 2019 11:35:08 |
swills |
math/nlopt: Update to version 2.6.1
PR: 237274
Submitted by: Rainer Hurling <rhurlin@gwdg.de> (maintainer) |
2.5.0_1 12 Dec 2018 01:35:36 |
gerald |
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590 |
2.5.0 09 Dec 2018 14:53:57 |
riggs |
Update to upstream version 2.5.0
Detailed maintainer log:
- Update from 2.4.2 to 2.5.0
- Change sources from MASTER_SITES to GitHub
- Update version of Python dependency
- Remove CONFIGURE
- Add CFLAGS to find gmp.h
- Remov INSTALL_TARGET
- Update WWW in pkg-descr
- Update pkg-plist
The new version brings some enhancements and changes:
- New AGS global solver (#194), thanks to Vladislav Sovrasov
- New nlopt_get_numevals function providing a built-in evaluation
counter (#160)
- New nlopt_get_errmsg function for more descriptive error messages
- Build system is converted from autotools to cmake (#49), thanks
to Julien Schueller
- Plugins updated for recent Octave and Guile versions
- Various other build fixes and minor bug fixes
PR: 233497
Submitted by: rhurlin@gwdg.de (maintainer) |
2.4.2_3 18 Mar 2018 05:35:19 |
linimon |
Mark as broken on armvX.
Approved by: portmgr (tier-2 blanket) |
2.4.2_3 10 Mar 2018 17:46:06 |
gerald |
Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079). |
2.4.2_2 19 Feb 2018 11:10:43 |
antoine |
Reduce dependency on the python2 metaport
PR: 225752
Submitted by: Yasuhiro KIMURA |
2.4.2_1 30 Nov 2017 15:50:34 |
mat |
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the (Only the first 15 lines of the commit message are shown above ) |
2.4.2_1 28 Oct 2016 17:13:24 |
jbeich |
math/py-numpy: track PORTEPOCH in consumers |
2.4.2_1 21 Oct 2016 15:21:13 |
mat |
Use USES=pathfix where applicable.
PR: 213195
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D8093 |
2.4.2_1 19 May 2016 10:44:12 |
amdmi3 |
- Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by: portmgr blanket |
2.4.2_1 01 Apr 2016 14:16:20 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight |
2.4.2_1 18 Apr 2015 15:14:58 |
tijl |
Convert to USES=autoreconf |
2.4.2_1 31 Dec 2014 15:49:47 |
rene |
math/nlopt: fix guile2 option after GNOME 3 update.
- use lang/guile2 instead of lang/guile
- use swig3.0 instead of swig2.0
- bump PORTREVISION
PR: 195952
Submitted by: maintainer (Rainer Hurling) |
2.4.2 11 Oct 2014 18:46:42 |
riggs |
- Initial import of math/nlopt
PR: 193262
Submitted by: rhurlin@gwdg.de (maintainer)
Reviewed by: koobs, riggs |