From cf2a96a3f5586c1dc59452c07c14916a18ce6c0f Mon Sep 17 00:00:00 2001 From: jiseung Date: Mon, 7 Aug 2017 12:59:12 -0500 Subject: 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 --- var/spack/repos/builtin/packages/smc/package.py | 7 +++++-- 1 file 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 -- cgit v1.2.3-70-g09d2