Changeset 2a0a3cd in tol
- Timestamp:
- Dec 15, 2015, 10:23:27 AM (11 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- ada6d64
- Parents:
- f70f6bc
- Location:
- building
- Files:
-
- 1 added
- 5 edited
-
Linux/build.sh (modified) (2 diffs)
-
Linux/build_contrib.sh (modified) (3 diffs)
-
Linux/build_installer.sh (modified) (1 diff)
-
Linux/build_package.sh (modified) (1 diff)
-
Linux/produce_package.sh (modified) (3 diffs)
-
MinGW/produce_package.bat (added)
Legend:
- Unmodified
- Added
- Removed
-
building/Linux/build.sh
rf70f6bc r2a0a3cd 21 21 22 22 PROJECT_DIR=$BUILD_DIR/../../$project 23 if ! [ -d "$PROJECT_DIR" ]; then23 if ! [ -d "$PROJECT_DIR" ]; then 24 24 echo "(!) Cannot find folder: $PROJECT_DIR" 25 25 exit … … 62 62 if [ "$answer" = "y" ]; then 63 63 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$suffix64 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 65 65 else 66 66 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 19 19 if ! [ -d "$CONTRIB_DIR" ]; then 20 20 echo "(!) Cannot find the contrib $contrib." 21 echo -n "press enter to exit "22 read answer23 21 exit 24 22 fi … … 31 29 if !([ "$mode" = "release" ] || [ "$mode" = "debug" ]); then 32 30 echo "(!) Second argument should be: release, debug or should be avoided." 33 echo -n "press enter to exit "34 read answer35 31 exit 36 32 fi … … 78 74 sudo make install 79 75 fi 80 81 echo -n "press enter to continue "82 read answer -
building/Linux/build_installer.sh
rf70f6bc r2a0a3cd 10 10 11 11 TRUNK_DIR=$BUILD_DIR/../.. 12 if ! [ -d "$TRUNK_DIR" ]; then12 if ! [ -d "$TRUNK_DIR" ]; then 13 13 echo "(!) Cannot find folder: $TRUNK_DIR" 14 14 exit -
building/Linux/build_package.sh
rf70f6bc r2a0a3cd 17 17 18 18 PACKAGE_DIR=$BUILD_DIR/../../../OfficialTolArchiveNetwork/$package 19 if ! [ -f "$PACKAGE_DIR/CMakeLists.txt" ]; then19 if ! [ -f "$PACKAGE_DIR/CMakeLists.txt" ]; then 20 20 if [ -d "$PACKAGE_DIR" ]; then 21 21 echo "(!) Cannot find the CMakeLists.txt" -
building/Linux/produce_package.sh
rf70f6bc r2a0a3cd 1 1 #!/bin/bash 2 #********************************************************* 2 #************************************************************ 3 3 # La llamada al script recibe un argumento: 4 4 # ./produce_package.sh [|<package_name>] 5 #********************************************************* 5 #************************************************************ 6 6 # Durante el proceso se pregunta por cada una de las etapas. 7 #************************************************************ 7 8 8 9 BUILD_DIR=$PWD/$(dirname $0) … … 35 36 fi 36 37 else 37 echo " The package '$package' does not containt binary files."38 echo "/!\ The package $package has not a CMakeLists.txt." 38 39 fi 39 40 else 40 41 echo "(!) Cannot find the package $package." 41 echo -n "press enter to exit "42 read answer43 42 exit 44 43 fi … … 49 48 tolsh -c"Text Package=\"$package\"" ../produce_package.tol 50 49 fi 51 52 echo -n "press enter to continue "53 read answer
Note: See TracChangeset
for help on using the changeset viewer.
