diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-01-21 10:50:55 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-01-21 10:50:55 -0800 |
commit | 1da672df7d4b85dd2890bc1caf8c00401ef3fa85 (patch) | |
tree | e0250e30aabba657d6df86ae98edebf78a9a686a /var | |
parent | 25f7dbd3e9c5d6f929c1c1a1d01cc0e314a496ff (diff) | |
parent | 10848c2e9a7cd3771c469dfd5ddb235f76b229ba (diff) | |
download | spack-1da672df7d4b85dd2890bc1caf8c00401ef3fa85.tar.gz spack-1da672df7d4b85dd2890bc1caf8c00401ef3fa85.tar.bz2 spack-1da672df7d4b85dd2890bc1caf8c00401ef3fa85.tar.xz spack-1da672df7d4b85dd2890bc1caf8c00401ef3fa85.zip |
Merge pull request #383 from LLNL/features/better-executable-args
Refactor args for Executable.__call__
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/gcc/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 61b16f3fd8..3e5895cfb8 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -50,7 +50,7 @@ class Gcc(Package): version('4.5.4', '27e459c2566b8209ab064570e1b378f7') variant('gold', default=True, description="Build the gold linker plugin for ld-based LTO") - + depends_on("mpfr") depends_on("gmp") depends_on("mpc") # when @4.5: @@ -102,7 +102,7 @@ class Gcc(Package): configure(*options) make() make("install") - + self.write_rpath_specs() @@ -121,7 +121,7 @@ class Gcc(Package): return gcc = Executable(join_path(self.prefix.bin, 'gcc')) - lines = gcc('-dumpspecs', return_output=True).strip().split("\n") + lines = gcc('-dumpspecs', output=str).strip().split("\n") specs_file = join_path(self.spec_dir, 'specs') with closing(open(specs_file, 'w')) as out: for line in lines: |