Changeset 2a0a3cd in tol


Ignore:
Timestamp:
Dec 15, 2015, 10:23:27 AM (11 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
ada6d64
Parents:
f70f6bc
Message:

Refs #1880
Revisiones de los scripts

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

Location:
building
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • building/Linux/build.sh

    rf70f6bc r2a0a3cd  
    2121
    2222PROJECT_DIR=$BUILD_DIR/../../$project
    23 if ![ -d "$PROJECT_DIR" ]; then
     23if ! [ -d "$PROJECT_DIR" ]; then
    2424  echo "(!) Cannot find folder: $PROJECT_DIR"
    2525  exit
    … …  
    6262if [ "$answer" = "y" ]; then
    6363  if [ "$project" = "tol" ]; then
    64     cmake $PROJECT_DIR/. -DCMAKE_BUILD_TYPE=$mode -DCLAPACK_NAME=lapacke -DZIPARCHIVE_ROOT_DIR=/usr/local/ZipArchive$suffix -DZIPARCHIVE_AS_STATIC=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local/tol3.2$suffix
     64    cmake $PROJECT_DIR -DCMAKE_BUILD_TYPE=$mode -DCLAPACK_NAME=lapacke -DZIPARCHIVE_ROOT_DIR=/usr/local/ZipArchive$suffix -DZIPARCHIVE_AS_STATIC=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local/tol3.2$suffix
    6565  else
    6666    cmake $PROJECT_DIR -DCMAKE_BUILD_TYPE=$mode -DTOL_PREFIX_PATH=/usr/local/tol3.2$suffix -DCMAKE_INSTALL_PREFIX=/usr/local/tol3.2$suffix
  • building/Linux/build_contrib.sh

    rf70f6bc r2a0a3cd  
    1919if ! [ -d "$CONTRIB_DIR" ]; then
    2020  echo "(!) Cannot find the contrib $contrib."
    21   echo -n "press enter to exit "
    22   read answer
    2321  exit
    2422fi
    … …  
    3129if !([ "$mode" = "release" ] || [ "$mode" = "debug" ]); then
    3230  echo "(!) Second argument should be: release, debug or should be avoided."
    33   echo -n "press enter to exit "
    34   read answer 
    3531  exit
    3632fi
    … …  
    7874  sudo make install
    7975fi
    80 
    81 echo -n "press enter to continue "
    82 read answer
  • building/Linux/build_installer.sh

    rf70f6bc r2a0a3cd  
    1010
    1111TRUNK_DIR=$BUILD_DIR/../..
    12 if ![ -d "$TRUNK_DIR" ]; then
     12if ! [ -d "$TRUNK_DIR" ]; then
    1313  echo "(!) Cannot find folder: $TRUNK_DIR"
    1414  exit
  • building/Linux/build_package.sh

    rf70f6bc r2a0a3cd  
    1717
    1818PACKAGE_DIR=$BUILD_DIR/../../../OfficialTolArchiveNetwork/$package
    19 if ![ -f "$PACKAGE_DIR/CMakeLists.txt" ]; then
     19if ! [ -f "$PACKAGE_DIR/CMakeLists.txt" ]; then
    2020  if [ -d "$PACKAGE_DIR" ]; then
    2121    echo "(!) Cannot find the CMakeLists.txt"
  • building/Linux/produce_package.sh

    rf70f6bc r2a0a3cd  
    11#!/bin/bash
    2 #*********************************************************
     2#************************************************************
    33# La llamada al script recibe un argumento:
    44#   ./produce_package.sh [|<package_name>]
    5 #*********************************************************
     5#************************************************************
    66# Durante el proceso se pregunta por cada una de las etapas.
     7#************************************************************
    78
    89BUILD_DIR=$PWD/$(dirname $0)
    … …  
    3536    fi
    3637  else
    37     echo "The package '$package' does not containt binary files."
     38    echo "/!\ The package $package has not a CMakeLists.txt."
    3839  fi
    3940else
    4041  echo "(!) Cannot find the package $package."
    41   echo -n "press enter to exit "
    42   read answer
    4342  exit
    4443fi
    … …  
    4948  tolsh -c"Text Package=\"$package\"" ../produce_package.tol
    5049fi
    51 
    52 echo -n "press enter to continue "
    53 read answer
Note: See TracChangeset for help on using the changeset viewer.