Skip to content

Commit

Permalink
(math/nlopt) Updated 2.4.2 to 2.6.2
Browse files Browse the repository at this point in the history
# NLopt Release Notes

## NLopt 2.6.2

15 April 2020

* Fixed forced stop exception with dimension elimination ([#317])

* Fixed `get_initial_step` wrapping ([#319])

* Various build fixes ([#314], [#308], [#303], [#278])

## NLopt 2.6.1

13 April 2019

* Fix `nlopt_version` result for 2.6.x and update soname.

## NLopt 2.6

12 April 2019

* New `nlopt_set_upper_bound` and `nlopt_set_lower_bound` functions in the low-level C API to set one bound at a time ([#257]).

* There is no longer a separate `libnlopt_cxx` library: C++ algorithms (STOGO and AGS) are compiled and included by default ([#198]).

* Various build fixes ([#197], [#216], [#245], [#250], [#230], [#261], etc.), other fixes ([#242], [#258]).

## NLopt 2.5

26 July 2018

* 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 to `cmake` ([#49]), thanks to Julien Schueller

* Plugins updated for recent Octave and Guile versions.

* Various other build fixes and minor bug fixes.
  • Loading branch information
mef committed Sep 18, 2021
1 parent c03a6cd commit 85fc294
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 16 deletions.
12 changes: 6 additions & 6 deletions math/nlopt/Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# $NetBSD: Makefile,v 1.1 2015/11/28 07:33:38 wen Exp $
# $NetBSD: Makefile,v 1.2 2021/09/18 05:06:06 mef Exp $

DISTNAME= nlopt-2.4.2
VERSION= 2.6.2
DISTNAME= nlopt-${VERSION}
CATEGORIES= math
MASTER_SITES= http://ab-initio.mit.edu/nlopt/
MASTER_SITES= ${MASTER_SITE_GITHUB:=stevengj/}
GITHUB_TAG= v${VERSION}

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ab-initio.mit.edu/nlopt/
COMMENT= Nonlinear optimization library
LICENSE= gnu-lgpl-v2.1 OR mit

GNU_CONFIGURE= yes
USE_CMAKE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++

PKGCONFIG_OVERRIDE= lib/pkgconfig/nlopt.pc

.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
12 changes: 10 additions & 2 deletions math/nlopt/PLIST
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
@comment $NetBSD: PLIST,v 1.1 2015/11/28 07:33:38 wen Exp $
@comment $NetBSD: PLIST,v 1.2 2021/09/18 05:06:06 mef Exp $
include/nlopt.f
include/nlopt.h
include/nlopt.hpp
lib/libnlopt.la
lib/cmake/nlopt/NLoptConfig.cmake
lib/cmake/nlopt/NLoptConfigVersion.cmake
lib/cmake/nlopt/NLoptLibraryDepends-release.cmake
lib/cmake/nlopt/NLoptLibraryDepends.cmake
lib/libnlopt.so
lib/libnlopt.so.0
lib/libnlopt.so.0.10.0
lib/pkgconfig/nlopt.pc
man/man3/nlopt.3
man/man3/nlopt_minimize.3
man/man3/nlopt_minimize_constrained.3
6 changes: 3 additions & 3 deletions math/nlopt/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.2 2018/01/07 13:04:23 rillig Exp $
# $NetBSD: buildlink3.mk,v 1.3 2021/09/18 05:06:06 mef 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_API_DEPENDS.nlopt+= nlopt>=2.6.2
BUILDLINK_ABI_DEPENDS.nlopt+= nlopt>=2.6.2
BUILDLINK_PKGSRCDIR.nlopt?= ../../math/nlopt
.endif # NLOPT_BUILDLINK3_MK

Expand Down
10 changes: 5 additions & 5 deletions math/nlopt/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2017/03/23 17:06:55 joerg Exp $
$NetBSD: distinfo,v 1.3 2021/09/18 05:06:06 mef Exp $

SHA1 (nlopt-2.4.2.tar.gz) = 838c399d8fffd7aa56b20231e0d7bd3462ca0226
RMD160 (nlopt-2.4.2.tar.gz) = 851cdb65ce4de04007df1c038c566d0be8d9917b
SHA512 (nlopt-2.4.2.tar.gz) = 136aacc00a69f77e8a7ce5dc26a5f3f027bc8c01b97aa1f43919462e0a412154eabfb01be258e082dffe61f9b554bb2bfbb550a7b82c7c77c7b22874a64a9703
Size (nlopt-2.4.2.tar.gz) = 2361992 bytes
SHA1 (nlopt-2.6.2.tar.gz) = d7f7962e4e8cc014b734d591d8041a64d56250c3
RMD160 (nlopt-2.6.2.tar.gz) = 133b655d359ef9d5475324e077e28901a30bb757
SHA512 (nlopt-2.6.2.tar.gz) = 61e5c01140a57c0ad2a0acd82ad50dce1b5679dc281e55cbbc332e876b19a689013100617545a42b721d8c487df37d6ccd67859171243433fe29468f259b556b
Size (nlopt-2.6.2.tar.gz) = 2040229 bytes

0 comments on commit 85fc294

Please sign in to comment.