Bug Fix : Apply Compiler Flags Specified by Manual Compiler Configuration (#1532)
* Fixed a bug causing config-specified compiler flags to be ignored. Updated the compiler config so all flags are in a separate section. * Updated the documentation for the `compilers.yaml` file spec. * Implemented basic testing for the 'flags' section of compiler config. * Fixed a few minor problems with the manual compiler config documentation.
Showing
- lib/spack/docs/getting_started.rst 30 additions, 21 deletionslib/spack/docs/getting_started.rst
- lib/spack/spack/cmd/compiler.py 7 additions, 4 deletionslib/spack/spack/cmd/compiler.py
- lib/spack/spack/compilers/__init__.py 8 additions, 11 deletionslib/spack/spack/compilers/__init__.py
- lib/spack/spack/schema/compilers.py 5 additions, 1 deletionlib/spack/spack/schema/compilers.py
- lib/spack/spack/test/cc.py 1 addition, 1 deletionlib/spack/spack/test/cc.py
- lib/spack/spack/test/config.py 50 additions, 15 deletionslib/spack/spack/test/config.py
- lib/spack/spack/test/mock_packages_test.py 25 additions, 0 deletionslib/spack/spack/test/mock_packages_test.py
Please register or sign in to comment