notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
nlopt Nonlinear optimization library
2.9.0 math on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.8.0Version of this port present on the latest quarterly branch.
Maintainer: rhurlin@FreeBSD.org search for ports maintained by this maintainer
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).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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:
  • nlopt>0:math/nlopt
Conflicts:
CONFLICTS_INSTALL:
  • nlopt-minimal
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):
nlopt
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.8.02.8.0------
FreeBSD:13:quarterly2.8.02.8.0------
FreeBSD:14:latest2.8.02.9.0------
FreeBSD:14:quarterly2.8.02.8.0------
FreeBSD:15:latest2.8.02.8.0n/a-n/a--2.7.1_3
 

nlopt-minimal
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.8.02.8.0--2.8.0---
FreeBSD:13:quarterly2.8.02.8.0--2.8.0---
FreeBSD:14:latest2.8.02.9.0--2.9.0---
FreeBSD:14:quarterly2.8.02.8.0--2.8.0---
FreeBSD:15:latest2.8.02.8.0n/a-n/a2.7.1_32.7.1_32.7.1_3
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. swig : devel/swig
  2. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  3. cmake : devel/cmake-core
  4. ninja : devel/ninja
  5. pkgconf>=1.3.0_1 : devel/pkgconf
  6. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  2. python3.11 : lang/python311
Library dependencies:
  1. libguile-3.0.so : lang/guile3
  2. libgc-threaded.so : devel/boehm-gc-threaded
This port is required by:
for Libraries
  1. astro/stellarium
  2. biology/bolt-lmm
  3. cad/PrusaSlicer
  4. devel/libnest2d-ultimaker
  5. devel/py-pynest2d
  6. math/R-cran-nloptr
  7. math/freefem++
Expand this list (16 items / 9 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. math/libmesh
  3. math/openturns
  4. misc/dartsim
  5. science/dakota
  6. science/libctl
  7. science/mpb
  8. science/octopus
  9. science/pagmo2
  10. science/py-pygmo2
  11. Collapse this list.

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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/stevengj/nlopt/tar.gz/v2.9.0?dummy=/
Collapse this list.

Number of commits found: 33

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.9.0
12 Nov 2024 15:34:04
commit hash: cdc0abb2c29b44034ff3b6ec96213e8b93240752commit hash: cdc0abb2c29b44034ff3b6ec96213e8b93240752commit hash: cdc0abb2c29b44034ff3b6ec96213e8b93240752commit hash: cdc0abb2c29b44034ff3b6ec96213e8b93240752 files touched by this commit
Rainer Hurling (rhurlin) search for other commits by this committer
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
commit hash: b17b4e025cbce6e71c8a3451070a0eba738db6c1commit hash: b17b4e025cbce6e71c8a3451070a0eba738db6c1commit hash: b17b4e025cbce6e71c8a3451070a0eba738db6c1commit hash: b17b4e025cbce6e71c8a3451070a0eba738db6c1 files touched by this commit
Rainer Hurling (rhurlin) search for other commits by this committer
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
commit hash: 7c6de6cb9652c5af4852ace681208646b93ed716commit hash: 7c6de6cb9652c5af4852ace681208646b93ed716commit hash: 7c6de6cb9652c5af4852ace681208646b93ed716commit hash: 7c6de6cb9652c5af4852ace681208646b93ed716 files touched by this commit
Rainer Hurling (rhurlin) search for other commits by this committer
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
commit hash: 7edcfaeb079e3285b299ef619ab9d09d46c447a2commit hash: 7edcfaeb079e3285b299ef619ab9d09d46c447a2commit hash: 7edcfaeb079e3285b299ef619ab9d09d46c447a2commit hash: 7edcfaeb079e3285b299ef619ab9d09d46c447a2 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
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
commit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5b files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
*: Bump PORTREVISIONs for math/mpc update to 1.3.1
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
2.7.1
20 Jul 2022 14:22:24
commit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5da files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
2.7.1
21 Jun 2022 05:52:38
commit hash: c15a34ceda7d6e218b2193266554bcf1af6d9270commit hash: c15a34ceda7d6e218b2193266554bcf1af6d9270commit hash: c15a34ceda7d6e218b2193266554bcf1af6d9270commit hash: c15a34ceda7d6e218b2193266554bcf1af6d9270 files touched by this commit
Rainer Hurling (rhurlin) search for other commits by this committer
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
commit hash: 78307862462c10acac3fefabf1fdbff1c6b0563ecommit hash: 78307862462c10acac3fefabf1fdbff1c6b0563ecommit hash: 78307862462c10acac3fefabf1fdbff1c6b0563ecommit hash: 78307862462c10acac3fefabf1fdbff1c6b0563e files touched by this commit
Rainer Hurling (rhurlin) search for other commits by this committer
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
commit hash: 2d34c2bfeaa82867acfa7d73bec9644b2acecbb1commit hash: 2d34c2bfeaa82867acfa7d73bec9644b2acecbb1commit hash: 2d34c2bfeaa82867acfa7d73bec9644b2acecbb1commit hash: 2d34c2bfeaa82867acfa7d73bec9644b2acecbb1 files touched by this commit
Loïc Bartoletti (lbartoletti) search for other commits by this committer
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
commit hash: 82a75635e9b74615f1dc23af560ce8b5340a6621commit hash: 82a75635e9b74615f1dc23af560ce8b5340a6621commit hash: 82a75635e9b74615f1dc23af560ce8b5340a6621commit hash: 82a75635e9b74615f1dc23af560ce8b5340a6621 files touched by this commit
Rainer Hurling (rhurlin) search for other commits by this committer
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
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.7.0
19 Nov 2020 13:40:36
Revision:555702Original commit files touched by this commit
rhurlin search for other commits by this committer
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
Revision:548221Original commit files touched by this commit
rhurlin search for other commits by this committer
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
Revision:539491Original commit files touched by this commit
sunpoet search for other commits by this committer
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
Revision:532916Original commit files touched by this commit
yuri search for other commits by this committer
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
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:505200Original commit files touched by this commit
danfe search for other commits by this committer
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
Revision:499016Original commit files touched by this commit
swills search for other commits by this committer
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
Revision:487272Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:487051Original commit files touched by this commit
riggs search for other commits by this committer
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
Revision:464873Original commit files touched by this commit
linimon search for other commits by this committer
Mark as broken on armvX.

Approved by:	portmgr (tier-2 blanket)
2.4.2_3
10 Mar 2018 17:46:06
Revision:464084Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:462307Original commit files touched by this commit
antoine search for other commits by this committer
Reduce dependency on the python2 metaport

PR:		225752
Submitted by:	Yasuhiro KIMURA
2.4.2_1
30 Nov 2017 15:50:34
Revision:455210Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
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 View all of this commit message)
2.4.2_1
28 Oct 2016 17:13:24
Revision:424866Original commit files touched by this commit
jbeich search for other commits by this committer
math/py-numpy: track PORTEPOCH in consumers
2.4.2_1
21 Oct 2016 15:21:13
Revision:424427Original commit files touched by this commit
mat search for other commits by this committer
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
Revision:415499Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
2.4.2_1
01 Apr 2016 14:16:20
Revision:412348Original commit files touched by this commit
mat search for other commits by this committer
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
Revision:384229Original commit files touched by this commit
tijl search for other commits by this committer
Convert to USES=autoreconf
2.4.2_1
31 Dec 2014 15:49:47
Revision:375896Original commit files touched by this commit
rene search for other commits by this committer
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
Revision:370660Original commit files touched by this commit
riggs search for other commits by this committer
- Initial import of math/nlopt

PR:		193262
Submitted by:	rhurlin@gwdg.de (maintainer)
Reviewed by:	koobs, riggs

Number of commits found: 33