Add CompilerSpec class and loading capability.
- spack.spec.Compiler is now spack.spec.CompilerSpec - Can load a spack.compilers.* module for a particular spec - e.g. load Gcc module for gcc@4.7 spec.
This commit is contained in:
@@ -107,7 +107,7 @@ Package class names
|
||||
The **class name** (``Libelf`` in our example) is formed by converting
|
||||
words separated by `-` or ``_`` in the file name to camel case. If
|
||||
the name starts with a number, we prefix the class name with
|
||||
``Num_``. Here are some examples:
|
||||
``_``. Here are some examples:
|
||||
|
||||
================= =================
|
||||
Module Name Class Name
|
||||
@@ -115,7 +115,7 @@ the name starts with a number, we prefix the class name with
|
||||
``foo_bar`` ``FooBar``
|
||||
``docbook-xml`` ``DocbookXml``
|
||||
``FooBar`` ``Foobar``
|
||||
``3proxy`` ``Num_3proxy``
|
||||
``3proxy`` ``_3proxy``
|
||||
================= =================
|
||||
|
||||
The class name is needed by Spack to properly import a package, but
|
||||
|
Reference in New Issue
Block a user