summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiseung <anna.jiseung@gmail.com>2017-08-07 12:59:12 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2017-08-07 12:59:12 -0500
commitcf2a96a3f5586c1dc59452c07c14916a18ce6c0f (patch)
treedf56532948fca4163a35fde0416963efbdd9801b
parent5a94cee216d071b6232772b7db8adfdda89f8feb (diff)
downloadspack-cf2a96a3f5586c1dc59452c07c14916a18ce6c0f.tar.gz
spack-cf2a96a3f5586c1dc59452c07c14916a18ce6c0f.tar.bz2
spack-cf2a96a3f5586c1dc59452c07c14916a18ce6c0f.tar.xz
spack-cf2a96a3f5586c1dc59452c07c14916a18ce6c0f.zip
Packages/smc (#4999)
* new package: SMC * removed template and added proxy-app tag * added comp variant in edit() * edited comp variant in edit() * move executable and input file into bin and install readme and license
-rw-r--r--var/spack/repos/builtin/packages/smc/package.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/smc/package.py b/var/spack/repos/builtin/packages/smc/package.py
index a58c5e171a..402c892b0f 100644
--- a/var/spack/repos/builtin/packages/smc/package.py
+++ b/var/spack/repos/builtin/packages/smc/package.py
@@ -74,7 +74,10 @@ class Smc(MakefilePackage):
makefile.filter('COMP := .*', 'COMP := Intel')
def install(self, spec, prefix):
+ mkdirp(prefix.bin)
files = glob.glob(join_path(self.build_directory, '*.exe'))
for f in files:
- install(f, prefix)
- install('inputs_SMC', prefix)
+ install(f, prefix.bin)
+ install('inputs_SMC', prefix.bin)
+ install('README', prefix)
+ install('BoxLib.license.txt', prefix) \ No newline at end of file