Commit bd3a296f authored by Guilhem Saurel's avatar Guilhem Saurel

[wip/py-qpoases] Initial import

parent 55e8f791
......@@ -86,6 +86,7 @@ SUBDIR+= py-mavlink
SUBDIR+= py-morse
SUBDIR+= py-mraa
SUBDIR+= py-parametric-curves
SUBDIR+= py-qpoases
SUBDIR+= py-sot-application-v3
SUBDIR+= py-sot-core-v3
SUBDIR+= py-sot-dynamic-pinocchio-v3
......
qpOASES is an open-source C++ implementation of the recently proposed
online active set strategy, which was inspired by important observations
from the field of parametric quadratic programming (QP). It has several
theoretical features that make it particularly suited for model predictive
control (MPC) applications. Further numerical modifications have made
qpOASES a reliable QP solver, even when tackling semi-definite, ill-posed or
degenerated QP problems. Moreover, several interfaces to third-party software
like Matlab or Simulink are provided that make qpOASES easy-to-use even for
users without knowledge of C/C++.
This package provides qpOASES' python bindings
# robotpkg Makefile for: wip/py-qpoases
# Created: Guilhem Saurel on Web, 15 Jan 2019
#
VERSION= 3.2.1
PKGNAME= ${PKGTAG.python-}qpoases-${VERSION}
DISTNAME= qpOASES-${VERSION}
EXTRACT_SUFX= .zip
CATEGORIES= optimization
MASTER_SITES= https://www.coin-or.org/download/source/qpOASES/
HOMEPAGE= https://projects.coin-or.org/qpOASES
COMMENT= C++ implementation of the online active set strategy (python bindings)
LICENSE= gnu-lgpl-v2.1
MAINTAINER= gepetto@laas.fr
WRKSRC= ${WRKDIR}/qpOASES-${VERSION}/interfaces/python
PYDISTUTILSPKG= yes
include ../../optimization/qpoases/depend.mk
include ../../mk/sysdep/py-numpy.mk
include ../../mk/sysdep/python.mk
include ../../mk/language/c.mk
include ../../mk/language/c++.mk
include ../../mk/robotpkg.mk
@comment Tue Jan 15 11:19:09 CET 2019
${PYTHON_SITELIB}/qpOASES_interface-0.0.0-py${PYTHON_VERSION}.egg-info
${PYTHON_SITELIB}/qpoases${PYTHON_SOABI}.so
# robotpkg depend.mk for: optimization/py-qpoases
# Created: Guilhem Saurel on Wed, 15 jan 2019
#
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
PY_QPOASES_DEPEND_MK:= ${PY_QPOASES_DEPEND_MK}+
ifeq (+,$(DEPEND_DEPTH))
DEPEND_PKG+= py-qpoases
endif
ifeq (+,$(PY_QPOASES_DEPEND_MK)) # --------------------------------------------
include ../../mk/sysdep/python.mk
PREFER.py-qpoases?= robotpkg
DEPEND_USE+= py-qpoases
DEPEND_ABI.py-qpoases?= ${PKGTAG.python-}-qpoases>=3.2
DEPEND_DIR.py-qpoases?= ../../wip/py-qpoases
SYSTEM_SEARCH.py-qpoases=\
'${PYTHON_SITELIB}/qpoases${PYTHON_SOABI}.so'
endif # PY_QPOASES_DEPEND_MK --------------------------------------------------
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}
SHA1 (qpOASES-3.2.1.zip) = ba8901eed6e3cabde99b78abb73da5e70351881f
RMD160 (qpOASES-3.2.1.zip) = 507e9c9dc011e2fb01e4a87cbc94e9b6853fab12
Size (qpOASES-3.2.1.zip) = 1195447 bytes
SHA1 (patch-aa) = 571da4ac064799aea51e6a12504f8a6e60bb5847
--- setup.py.orig 2017-04-03 12:20:42.000000000 +0200
+++ setup.py 2019-01-15 11:17:52.295839615 +0100
@@ -54,7 +54,7 @@
extra_params = extra_params.copy()
extra_params['libraries'] = ['qpOASES']
-extra_params['library_dirs'] = ['/usr/lib', os.path.join(BASEDIR, 'bin')]
+extra_params['library_dirs'] = [os.path.join(os.environ['PREFIX'], 'lib'), '/usr/lib', os.path.join(BASEDIR, 'bin')]
extra_params['language'] = 'c++'
if os.name == 'posix':
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment