This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
windows-mingw-64bit-psopt-installer.sh
executable file
·65 lines (58 loc) · 2.14 KB
/
windows-mingw-64bit-psopt-installer.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash
echo ""
echo "windows-mingw-64bit-psopt-installer.sh -"
echo "PSOPT Installation Script for Windows MinGW-64"
echo ""
echo "Copyright (C) 2014-2015 Markus Sauermann"
echo ""
echo "Last verified successful installations: "
echo "Windows 7: 2015-02-17, Windows 8.1: 2015-10-03"
echo "If something does not work, file a bugreport here:"
echo "https://github.com/Sauermann/psopt-installer/issues"
echo ""
echo "This program comes with ABSOLUTELY NO WARRANTY."
echo "This is free software, and you are welcome to redistribute it"
echo "under certain conditions; see the filecontent for more information."
# This file is part of Psopt Installer.
#
# Psopt Installer is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# Psopt Installer is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Psopt Installer. If not, see
# <http://www.gnu.org/licenses/>.
echo ""
read -s -p "Press enter to start the installation in the current directory."
echo ""
echo ""
# Build Directory
export PSOPT_BUILD_DIR=$PWD
# Install Packages
./scripts/install-openblas-windows.sh
./scripts/install-scotch.sh
./scripts/install-mumps.sh
./scripts/install-ipopt.sh
./scripts/install-colpack-windows.sh
./scripts/install-adolc.sh
./scripts/install-dlfcn-windows.sh
./scripts/install-libf2c-windows.sh
./scripts/install-cxsparse.sh
./scripts/install-lusol.sh
./scripts/install-dmatrix-psopt.sh
./scripts/create-combined-static-library-windows.sh
./scripts/compile-psopt-examples.sh
./scripts/create-maindir-example.sh
# the upgrade of AdolC from 2.4.1 to 2.5.0 makes mix/max definition
# changes in libf2c necessary. But somehow this broke modern psopt
# interface.
#./scripts/install-modern-psopt-interface.sh
unset PSOPT_BUILD_DIR
echo ""
echo "installation finished"