In the current origin/develop version of spack (presently e6cae97), I cannot figure out how to specify multiple cflags on the command line.
Steps to reproduce the issue
$ spack spec coreutils cflags="-g -fno-omit-frame-pointer"
Error Message
Input spec
--------------------------------
coreutils cflags="-g" ~fno-omit-frame-pointer
Concretized
--------------------------------
==> Error: Package coreutils has no variant fno-omit-frame-pointer!
If I check out revision a940ff3 and run the same command, then it works as expected:
Input spec
--------------------------------
coreutils cflags="-g -fno-omit-frame-pointer"
Concretized
--------------------------------
coreutils@8.29%gcc@8.3.0 cflags="-g -fno-omit-frame-pointer" arch=linux-ubuntu19.04-x86_64
It appears as though the argument encapsulated with quotation marks are being split when they were not before. Is there a different way to escape or group things like this now?
Information on your system
Ubuntu 19.04
I don't believe the packages.yaml or package I am installing matters. I just use coreutils as an example because it is simple in terms of dependencies.
In the current origin/develop version of spack (presently e6cae97), I cannot figure out how to specify multiple cflags on the command line.
Steps to reproduce the issue
$ spack spec coreutils cflags="-g -fno-omit-frame-pointer"Error Message
If I check out revision a940ff3 and run the same command, then it works as expected:
It appears as though the argument encapsulated with quotation marks are being split when they were not before. Is there a different way to escape or group things like this now?
Information on your system
Ubuntu 19.04
I don't believe the packages.yaml or package I am installing matters. I just use coreutils as an example because it is simple in terms of dependencies.