summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorRené Widera <r.widera@hzdr.de>2018-04-24 22:43:32 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2018-04-24 13:43:32 -0700
commitcaa0c5c68723344e10f41aaac1ef82d0fba1cfb8 (patch)
tree296f42b20e7f591f439ab343c161aeb90d0d0a23 /.flake8
parentf7da156879328c7b25758db359d2235af9d245e3 (diff)
downloadspack-caa0c5c68723344e10f41aaac1ef82d0fba1cfb8.tar.gz
spack-caa0c5c68723344e10f41aaac1ef82d0fba1cfb8.tar.bz2
spack-caa0c5c68723344e10f41aaac1ef82d0fba1cfb8.tar.xz
spack-caa0c5c68723344e10f41aaac1ef82d0fba1cfb8.zip
environment shell: fix `spack load` (#7747)
Fix `spack load` with extended packe specifications those includes spaces. Solved by using perfectly parameter forwarding via temporary array. example: ``` $ spack install zlib $ spack install zlib cppflags='-O3 -march=native' $ spack install zlib cppflags='-O2 -march=native' $ spack find -d -L -f zlib ==> 3 installed packages. -- linux-linuxmint18-x86_64 / gcc@5.4.0 ------------------------- k5hg4kkxiutkfl6n53ogz5wnlbdrsdtf zlib@1.2.11%gcc mse2fyzdxciszdhiqi4b5kl6fxkps3fh zlib@1.2.11%gcc cppflags="-O2 -march=native" vrnvj2fikcbxqxrymctnlpmud7wbuahk zlib@1.2.11%gcc cppflags="-O3 -march=native" $ spack load zlib cppflags='-O3 -march=native' ==> Error: Unexpected token ['zlib', 'cppflags=-O3', '-march=native'] ```
Diffstat (limited to '.flake8')
0 files changed, 0 insertions, 0 deletions