# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup octave 1.0 octave.setup github PREDICT-EPFL piqp 0.5.0 v revision 1 license BSD maintainers {mps @Schamschula} openmaintainer description PIQP is a Proximal Interior Point Quadratic Programming solver. long_description {*}${description} github.tarball_from releases distfiles piqp-octave${extract.suffix} # stealth update to fix archive compression dist_subdir ${name}/${version}_${revision} checksums rmd160 3ad15466d2f4612873e1dcf4a4e15013e8152e6b \ sha256 49a9bf3c7c242b7fd7293f5fe234ed321595822ce3fc4189d794c122e07fe88b \ size 3447606 # Remove -march=native, we do not want this for distribution. # Also notice, that on PowerPC it is unsupported and -mtune=native is to be used. patchfiles-append patch-fix-build.diff # This should be dropped once bundled Eigen is updated past 3.4.0. # The bug is fixed in upstream. patchfiles-append patch-unbreak-eigen3.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/make_piqp.m ${worksrcpath}/src/piqp/interfaces/octave/make_piqp.m } compiler.cxx_standard \ 2014