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
1=== modified file 'config.yaml'
2--- config.yaml 2015-08-26 09:41:37 +0000
3+++ config.yaml 2015-08-27 04:21:04 +0000
4@@ -5,29 +5,24 @@
5 description: |
6 Download url for XL Fortran packages
7 xlfortran_package_name:
8- type: string
9- default: ""
10- description: |
11+ type: string
12+ default: ""
13+ description: |
14 XL Fortran package name
15 accept-ibm-xlfortran-license:
16- type: boolean
17- default: False
18- description: |
19+ type: boolean
20+ default: False
21+ description: |
22 The IBM XL FORTRAN software can only be used by
23 accepting the terms and conditions for IBM XL FORTRAN License.
24 Setting this option to True
25 indicates that you have read and accepted the IBM XL FORTRAN terms and
26 conditions found in the license file. The details about accessing
27 the license(s) can be found in the README.
28- fortran_path_name:
29- type: string
30- default: "/opt/ibm"
31- description: |
32- Target installation directory for the IBM XL FORTRAN
33 sha_fortran:
34- type: string
35- default: ""
36- description: |
37+ type: string
38+ default: ""
39+ description: |
40 Checksum value to check integrity of IBM XL Fortran. The Charm uses
41 sha1sum to check the integrity. For example, run the command:
42 <sha1sum IBM_XL_FORTRAN_V15.1.2.0_LINUX_EVAL.tar.gz | cut -d " " -f1>
43
44=== modified file 'hooks/config-changed'
45--- hooks/config-changed 2015-08-26 08:27:30 +0000
46+++ hooks/config-changed 2015-08-27 04:21:04 +0000
47@@ -2,7 +2,7 @@
48 # config-changed occurs everytime a new configuration value is updated (juju set)
49 set -e
50 ARCHIVE_DIR=$CHARM_DIR/files/archives
51-FORTRAN_INSTALL_PATH=`config-get fortran_path_name`
52+FORTRAN_INSTALL_PATH=/opt/ibm
53
54
55 #Check Fortran is installed or not
56
57=== modified file 'hooks/stop'
58--- hooks/stop 2015-08-26 09:38:02 +0000
59+++ hooks/stop 2015-08-27 04:21:04 +0000
60@@ -1,7 +1,7 @@
61 #!/bin/bash
62 set -e
63 juju-log "IBM XL Fortran: starting stop hook"
64-FORTRAN_PATH=$(config-get fortran_path_name)
65+FORTRAN_PATH=/opt/ibm
66
67 if [ -d $FORTRAN_PATH/xlf ]; then
68 rm -rf $FORTRAN_PATH/xlf

Subscribers

People subscribed via source and target branches

to all changes: