summaryrefslogtreecommitdiff
path: root/sci-libs/ipopt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-15 04:04:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-15 04:04:09 +0100
commit45392c898b8ba163e95028bd98896e77f0c73806 (patch)
treebf6b64dd472acc2960a5c24b26dd0ac036b47d0d /sci-libs/ipopt
parent2916cf6049cf9d3092021e247d56c580df6029a7 (diff)
gentoo auto-resync : 15:10:2024 - 04:04:09
Diffstat (limited to 'sci-libs/ipopt')
-rw-r--r--sci-libs/ipopt/Manifest4
-rw-r--r--sci-libs/ipopt/ipopt-3.14.4-r1.ebuild (renamed from sci-libs/ipopt/ipopt-3.14.4.ebuild)17
-rw-r--r--sci-libs/ipopt/metadata.xml2
3 files changed, 9 insertions, 14 deletions
diff --git a/sci-libs/ipopt/Manifest b/sci-libs/ipopt/Manifest
index 33108d3f8679..2b0f691831e9 100644
--- a/sci-libs/ipopt/Manifest
+++ b/sci-libs/ipopt/Manifest
@@ -1,3 +1,3 @@
DIST ipopt-3.14.4.tar.gz 1843885 BLAKE2B 83f6a983db282ced6e52237ff326c860a92df2c92dbd53db7581110d3003fd7b557a68453c74e48d780832d2c9c55d9eb4ea54e68f504c161952fce6bb81caaf SHA512 a27a08ae24c94da96efcfa236034cec79d79111d7dc9c028d808b412d5abb21495a0011f075a87db65b91ba69e191653552e7f99fe8da88c3b580d971eac3652
-EBUILD ipopt-3.14.4.ebuild 1739 BLAKE2B 34423fb9e7f814e03ddbefc5b4a69008f6de833e6826d98c21e8dd3ca89d018707f1cbf6d8eeb290a645cd6fcfc695990879e41f05eb4d563ab50075e627e4cb SHA512 defe9e435be58fd9b266bed01938dcfe54c8737b3e7a041b58eca30ca43a90638b014e4e3400a37434a7f4a4742dc5c140e62b7006b19a11bc24d50626e5735d
-MISC metadata.xml 967 BLAKE2B 8a3fc8addf0130148ddca1bcfb4732e1bf60b52d5de28e2ee6ce9b8e4352358424b39aa585ba177592b4a5744bf2f52e16ab393e2a80617333a48e385eb55a2d SHA512 aa538e824ce3cc926f28554dc268f6d109bebd382b35bb2db8aee75fa82cc81bf9171ace022aaf441602bf8b150fa7bf80ad04e4563d2c3b83e25d80d8780574
+EBUILD ipopt-3.14.4-r1.ebuild 1577 BLAKE2B bbac5ba69f715d051dd7ae8b5b970987a50cf65d83d54f884655683c600f4d85d539e21b3ada83447af3cdb203059584f2105a66b225234250d42eeda8afa224 SHA512 6605cf7c761c90447e257c39cb8bd66e732fa2342cbb99a9dbeb1f5f8b3a52ccd34bc89ddea3801087521030ca6550e144de4c1254a88ef3d5e520f05c448911
+MISC metadata.xml 1020 BLAKE2B f94f5ef3a89f359995a3299c9efff9cafe619f890f14933a963d451ac49aa7e841c466a38164950cb32651aae1a9ae492b3839698c2268272366b75d0979cb03 SHA512 1b180545de0a0156fd65f8fcb23f521a85cbfe8f03cc447dfcafd5cad1ffec3722c50760e7726b44e6c8a7f3caf2879b38bf42b63ee8a662dc482f878c4e7cdb
diff --git a/sci-libs/ipopt/ipopt-3.14.4.ebuild b/sci-libs/ipopt/ipopt-3.14.4-r1.ebuild
index 44a78114fdfa..9005696f3cee 100644
--- a/sci-libs/ipopt/ipopt-3.14.4.ebuild
+++ b/sci-libs/ipopt/ipopt-3.14.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,15 +15,15 @@ HOMEPAGE="https://github.com/coin-or/Ipopt"
SRC_URI="https://github.com/coin-or/Ipopt/archive/refs/tags/releases/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/Ipopt-releases-${PV}"
-LICENSE="EPL-1.0 hsl? ( HSL )"
+LICENSE="EPL-1.0"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="hsl +lapack mpi mumps static-libs test"
+IUSE="+asl +lapack mpi mumps static-libs test"
RESTRICT="!test? ( test )"
RDEPEND="
virtual/blas
- hsl? ( sci-libs/coinhsl:0= )
+ asl? ( sci-libs/coinasl:0= )
lapack? ( virtual/lapack )
mpi? ( virtual/mpi )
mumps? ( sci-libs/mumps:0=[mpi=] )"
@@ -41,6 +41,8 @@ src_prepare() {
src_configure() {
local myeconfargs=(
$(use_with doc dot)
+ $(use_with asl)
+ --without-hsl
)
if use lapack; then
@@ -55,13 +57,6 @@ src_configure() {
else
myeconfargs+=( --without-mumps )
fi
- if use hsl; then
- myeconfargs+=(
- --with-hsl-incdir="${EPREFIX}"/usr/include
- --with-hsl-lib="$($(tc-getPKG_CONFIG) --libs coinhsl)" )
- else
- myeconfargs+=( --without-hsl )
- fi
econf "${myeconfargs[@]}"
}
diff --git a/sci-libs/ipopt/metadata.xml b/sci-libs/ipopt/metadata.xml
index f5b474167afc..1b9661483cd4 100644
--- a/sci-libs/ipopt/metadata.xml
+++ b/sci-libs/ipopt/metadata.xml
@@ -15,7 +15,7 @@
for Operations Research).
</longdescription>
<use>
- <flag name="hsl">hsl</flag>
+ <flag name="asl">AMPL Solver Library support and build the 'ipopt' binary</flag>
<flag name="mumps">Enable <pkg>sci-libs/mumps</pkg> support</flag>
</use>
<upstream>