Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 886ee13

Browse files
committed
23680: package Osi
1 parent 037272c commit 886ee13

File tree

6 files changed

+63
-0
lines changed

6 files changed

+63
-0
lines changed

build/pkgs/osi/SPKG.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
= Osi =
2+
3+
== Description ==
4+
5+
Osi (Open solver interface) is a C++ library providing abstract classes
6+
to a generic linear programming solver (over floating point numbers).
7+
8+
Website: https://projects.coin-or.org/Osi
9+
10+
== License ==
11+
12+
Osi is licensed under the Eclipse Public License (EPL)
13+
14+
== Upstream Contact ==
15+
16+
* mailing list http://list.coin-or.org/mailman/listinfo/osi
17+
* bug report http://projects.coin-or.org/Osi/newticket

build/pkgs/osi/checksums.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
tarball=Osi-VERSION.tgz
2+
sha1=86dcc1f750313e79ab15102c90fdf3f56a0e3577
3+
md5=4c39e5ffe2634ad011499262f56fd56e
4+
cksum=73081898

build/pkgs/osi/dependencies

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
glpk cbc
2+
3+
----------
4+
All lines of this file are ignored except the first.
5+
It is copied by SAGE_ROOT/build/make/install into SAGE_ROOT/build/make/Makefile.

build/pkgs/osi/package-version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.107.9

build/pkgs/osi/spkg-install

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
###############################################################################
2+
#
3+
# FLINT Sage install script
4+
#
5+
###############################################################################
6+
7+
if [ "$SAGE_LOCAL" = "" ]; then
8+
echo >&2 "Error: SAGE_LOCAL undefined - exiting..."
9+
echo >&2 "Maybe run 'sage -sh'?"
10+
exit 1
11+
fi
12+
13+
cd src
14+
15+
echo "Configuring FLINT."
16+
./configure \
17+
--prefix="$SAGE_LOCAL" \
18+
--enable-gnu-packages
19+
if [ $? -ne 0 ]; then
20+
echo >&2 "Error: Failed to configure Osi."
21+
exit 1
22+
fi
23+
24+
echo "Building Osi"
25+
if [ $? -ne 0 ]; then
26+
echo >&2 "Error: Failed to build Osi."
27+
exit 1
28+
fi
29+
30+
echo "Installing Osi"
31+
$MAKE install
32+
if [ $? -ne 0 ]; then
33+
echo >&2 "Error: Failed to install Osi."
34+
exit 1
35+
fi

build/pkgs/osi/type

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
optional

0 commit comments

Comments
 (0)