Skip to content

Commit 20b2041

Browse files
author
Dima Pasechnik
committed
instructions added
1 parent 53946b9 commit 20b2041

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1-
Integrating CSDP with Sage (and pycsdp)
1+
###Integrating CSDP with Sage (and pycsdp)
2+
3+
To create a working installation, you need recent autotools.
4+
Run
5+
autoreconf --install
6+
automake --add-missing --copy
7+
8+
and then
9+
10+
./configure
11+
make
12+
make install # (eventually)

spkg/install.sh

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1-
#! /bin/bash
21
#
32
# this will eventually become the spkg-install
43
#
5-
# 1) Compile Csdp static lib in lib/ subdirectory of Csdp distibution
6-
# and install it (i.e. libcsdp.a) into $SAGE_LOCAL/lib/
7-
export SAGE_LOCAL=/usr/local/src/sage/current/local
8-
PWD=`pwd`
9-
cd ../lib
4+
# run this under sage -sh, in the top directory of csdp
5+
./configure --prefix=$SAGE_LOCAL
6+
make
107
make install
11-
echo $SAGE_LOCAL
12-
echo $PWD
13-
cd $PWD
14-
#mkdir $SAGE_LOCAL/include/sdp/
15-
cp ../include/*.h $SAGE_LOCAL/include/sdp/

0 commit comments

Comments
 (0)