Update tsp mac build script

#80
pull/87/head
Windell Oskay 2017-07-28 00:58:51 -07:00
rodzic a9f144fb78
commit 5facf2791d
1 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh
#
# 9/27/2010-A
# Download and build the Concorde TSP Solver for OS X
@ -32,8 +32,8 @@ SRCDIR=/usr/local/src/concorde
BINDIR=/usr/local/bin
#
# What to build (32 bit and/or 64 bit)
BUILD32=1
BUILD64=0
#BUILD32=0
BUILD64=1
#
# Because we like to watch the commands go by....
set -x
@ -58,8 +58,8 @@ if [ $BUILD64 -ne 0 ]; then
# 64bit libraries
mkdir -p $SRCDIR/qsopt64
cd $SRCDIR/qsopt64
curl -O http://www2.isye.gatech.edu/~wcook/qsopt/beta/codes/mac64/qsopt.a
curl -O http://www2.isye.gatech.edu/~wcook/qsopt/beta/codes/mac64/qsopt.h
curl -O http://www.math.uwaterloo.ca/~bico/qsopt/beta/codes/mac64/qsopt.a
curl -O http://www.math.uwaterloo.ca/~bico/qsopt/beta/codes/mac64/qsopt.h
# You don't actually need the qsopt executable
curl -O http://www2.isye.gatech.edu/~wcook/qsopt/beta/codes/mac64/qsopt
chmod a+x qsopt
@ -68,9 +68,9 @@ fi
# Now download the Concorde TSP solver package and buld it
#
cd $SRCDIR/..
curl -O http://www.tsp.gatech.edu/concorde/downloads/codes/src/co031219.tgz
curl -O http://www.math.uwaterloo.ca/tsp/concorde/downloads/codes/src/co031219.tgz
# will unpack to ./concorde
tar xvz < co031219.tgz
tar -xvf co031219.tgz
cd concorde
#
if [ $BUILD32 -ne 0 ]; then