Merge lp:~sradhara/charms/trusty/ibm-xl-fortran/ibm-xl-fortranfix into lp:~ibmcharmers/charms/trusty/ibm-xl-fortran/devel

Proposed by sunitha
Status: Merged
Merged at revision: 47
Proposed branch: lp:~sradhara/charms/trusty/ibm-xl-fortran/ibm-xl-fortranfix
Merge into: lp:~ibmcharmers/charms/trusty/ibm-xl-fortran/devel
Diff against target: 68 lines (+11/-16)
3 files modified
config.yaml (+9/-14)
hooks/config-changed (+1/-1)
hooks/stop (+1/-1)
To merge this branch: bzr merge lp:~sradhara/charms/trusty/ibm-xl-fortran/ibm-xl-fortranfix
Reviewer Review Type Date Requested Status
vsr Approve
Review via email: mp+269181@code.launchpad.net
To post a comment you must log in.
47. By sunitha

IBM XL FORTRAN final code check in

Revision history for this message
vsr (vsasi) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'config.yaml'
--- config.yaml 2015-08-26 09:41:37 +0000
+++ config.yaml 2015-08-27 04:21:04 +0000
@@ -5,29 +5,24 @@
5 description: |5 description: |
6 Download url for XL Fortran packages6 Download url for XL Fortran packages
7 xlfortran_package_name:7 xlfortran_package_name:
8 type: string8 type: string
9 default: "" 9 default: ""
10 description: |10 description: |
11 XL Fortran package name11 XL Fortran package name
12 accept-ibm-xlfortran-license:12 accept-ibm-xlfortran-license:
13 type: boolean13 type: boolean
14 default: False14 default: False
15 description: |15 description: |
16 The IBM XL FORTRAN software can only be used by16 The IBM XL FORTRAN software can only be used by
17 accepting the terms and conditions for IBM XL FORTRAN License.17 accepting the terms and conditions for IBM XL FORTRAN License.
18 Setting this option to True 18 Setting this option to True
19 indicates that you have read and accepted the IBM XL FORTRAN terms and 19 indicates that you have read and accepted the IBM XL FORTRAN terms and
20 conditions found in the license file. The details about accessing20 conditions found in the license file. The details about accessing
21 the license(s) can be found in the README. 21 the license(s) can be found in the README.
22 fortran_path_name:
23 type: string
24 default: "/opt/ibm"
25 description: |
26 Target installation directory for the IBM XL FORTRAN
27 sha_fortran:22 sha_fortran:
28 type: string23 type: string
29 default: ""24 default: ""
30 description: |25 description: |
31 Checksum value to check integrity of IBM XL Fortran. The Charm uses26 Checksum value to check integrity of IBM XL Fortran. The Charm uses
32 sha1sum to check the integrity. For example, run the command:27 sha1sum to check the integrity. For example, run the command:
33 <sha1sum IBM_XL_FORTRAN_V15.1.2.0_LINUX_EVAL.tar.gz | cut -d " " -f1>28 <sha1sum IBM_XL_FORTRAN_V15.1.2.0_LINUX_EVAL.tar.gz | cut -d " " -f1>
3429
=== modified file 'hooks/config-changed'
--- hooks/config-changed 2015-08-26 08:27:30 +0000
+++ hooks/config-changed 2015-08-27 04:21:04 +0000
@@ -2,7 +2,7 @@
2# config-changed occurs everytime a new configuration value is updated (juju set)2# config-changed occurs everytime a new configuration value is updated (juju set)
3set -e3set -e
4ARCHIVE_DIR=$CHARM_DIR/files/archives4ARCHIVE_DIR=$CHARM_DIR/files/archives
5FORTRAN_INSTALL_PATH=`config-get fortran_path_name`5FORTRAN_INSTALL_PATH=/opt/ibm
66
77
8#Check Fortran is installed or not8#Check Fortran is installed or not
99
=== modified file 'hooks/stop'
--- hooks/stop 2015-08-26 09:38:02 +0000
+++ hooks/stop 2015-08-27 04:21:04 +0000
@@ -1,7 +1,7 @@
1#!/bin/bash1#!/bin/bash
2set -e2set -e
3juju-log "IBM XL Fortran: starting stop hook"3juju-log "IBM XL Fortran: starting stop hook"
4FORTRAN_PATH=$(config-get fortran_path_name)4FORTRAN_PATH=/opt/ibm
55
6if [ -d $FORTRAN_PATH/xlf ]; then6if [ -d $FORTRAN_PATH/xlf ]; then
7 rm -rf $FORTRAN_PATH/xlf7 rm -rf $FORTRAN_PATH/xlf

Subscribers

People subscribed via source and target branches

to all changes: