You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
765 B
23 lines
765 B
# This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
PKG := nlopt
|
|
$(PKG)_WEBSITE := https://nlopt.readthedocs.io/en/latest/
|
|
$(PKG)_DESCR := NLopt
|
|
$(PKG)_IGNORE :=
|
|
$(PKG)_VERSION := 2.6.1
|
|
$(PKG)_CHECKSUM := 66d63a505187fb6f98642703bd0ef006fedcae2f9a6d1efa4f362ea919a02650
|
|
$(PKG)_GH_CONF := stevengj/nlopt/releases/tags,v
|
|
$(PKG)_DEPS := cc
|
|
|
|
define $(PKG)_BUILD
|
|
cd '$(BUILD_DIR)' && '$(TARGET)-cmake' '$(SOURCE_DIR)' \
|
|
-DBUILD_SHARED_LIBS=$(CMAKE_SHARED_BOOL) \
|
|
-DNLOPT_PYTHON=OFF \
|
|
-DNLOPT_OCTAVE=OFF \
|
|
-DNLOPT_MATLAB=OFF \
|
|
-DNLOPT_GUILE=OFF \
|
|
-DNLOPT_SWIG=OFF
|
|
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1
|
|
$(MAKE) -C '$(BUILD_DIR)' -j 1 install VERBOSE=1
|
|
endef
|