source: tol/building/Linux_32/build_tol_release.sh @ 860054e

1941-docker-image-to-testdevel
Last change on this file since 860054e was 9580ec3, checked in by Pedro Gea <pgea@…>, 11 years ago

Refs #1880
Scripts de compilación para Linux32

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@6903 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100755
File size: 732 bytes
Line 
1#!/bin/bash
2TOL_DIR=$(dirname $0)/../../tol
3cd $TOL_DIR
4CMAKE_DIR=BUILD_CMAKE/m32/release
5
6echo -n "mkdir? (y/n) "
7read answer
8if [ "$answer" = "y" ]
9then
10  if [ -d "$CMAKE_DIR" ]; then
11    rm -r "$CMAKE_DIR"
12  fi
13  mkdir -p "$CMAKE_DIR"
14fi
15
16cd $CMAKE_DIR
17
18echo -n "cmake? (y/n) "
19read answer
20if [ "$answer" = "y" ]
21then
22  cmake ../../.. -DCMAKE_BUILD_TYPE=Release -DCLAPACK_NAME=lapacke -DZIPARCHIVE_ROOT_DIR=/usr/local/ZipArchive -DZIPARCHIVE_AS_STATIC=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local/tol3.2-release
23fi
24
25echo -n "make? (y/n) "
26read answer
27if [ "$answer" = "y" ]
28then
29  make
30fi
31
32echo -n "install? (y/n) "
33read answer
34if [ "$answer" = "y" ]
35then
36  sudo make install
37fi
38
39echo -n "press enter to exit "
40read answer
41
42
43
44
45
46
47
48
49
50
51
Note: See TracBrowser for help on using the repository browser.