source: tol/building/Linux_32/build_tol_release.sh @ b567d4c

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

Refs #1880
Scripts de compilación de paquetes para Linux32
Otros cambios

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

  • Property mode set to 100755
File size: 736 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" ]; then
9  if [ -d "$CMAKE_DIR" ]; then
10    rm -r "$CMAKE_DIR"
11  fi
12  mkdir -p "$CMAKE_DIR"
13fi
14
15cd $CMAKE_DIR
16
17echo -n "cmake? (y/n) "
18read answer
19if [ "$answer" = "y" ]; then
20  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
21fi
22
23echo -n "make? (y/n) "
24read answer
25if [ "$answer" = "y" ]; then
26  make
27fi
28
29echo -n "install? (y/n) "
30read answer
31if [ "$answer" = "y" ]; then
32  sudo make install
33fi
34
35echo -n "press enter to exit "
36read answer
37
38
39
40
41
42
43
44
45
46
47
Note: See TracBrowser for help on using the repository browser.