docs: remove leftover references to compiler:
entries (#49824)
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
01471aee6b
commit
62ee56e8a3
@ -1409,27 +1409,29 @@ that executables will run without the need to set ``LD_LIBRARY_PATH``.
|
|||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
compilers:
|
packages:
|
||||||
- compiler:
|
gcc:
|
||||||
spec: gcc@4.9.3
|
externals:
|
||||||
paths:
|
- spec: gcc@4.9.3
|
||||||
cc: /opt/gcc/bin/gcc
|
prefix: /opt/gcc
|
||||||
c++: /opt/gcc/bin/g++
|
extra_attributes:
|
||||||
f77: /opt/gcc/bin/gfortran
|
compilers:
|
||||||
fc: /opt/gcc/bin/gfortran
|
c: /opt/gcc/bin/gcc
|
||||||
environment:
|
cxx: /opt/gcc/bin/g++
|
||||||
unset:
|
fortran: /opt/gcc/bin/gfortran
|
||||||
- BAD_VARIABLE
|
environment:
|
||||||
set:
|
unset:
|
||||||
GOOD_VARIABLE_NUM: 1
|
- BAD_VARIABLE
|
||||||
GOOD_VARIABLE_STR: good
|
set:
|
||||||
prepend_path:
|
GOOD_VARIABLE_NUM: 1
|
||||||
PATH: /path/to/binutils
|
GOOD_VARIABLE_STR: good
|
||||||
append_path:
|
prepend_path:
|
||||||
LD_LIBRARY_PATH: /opt/gcc/lib
|
PATH: /path/to/binutils
|
||||||
extra_rpaths:
|
append_path:
|
||||||
- /path/to/some/compiler/runtime/directory
|
LD_LIBRARY_PATH: /opt/gcc/lib
|
||||||
- /path/to/some/other/compiler/runtime/directory
|
extra_rpaths:
|
||||||
|
- /path/to/some/compiler/runtime/directory
|
||||||
|
- /path/to/some/other/compiler/runtime/directory
|
||||||
|
|
||||||
|
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
@ -667,11 +667,11 @@ a ``packages.yaml`` file) could contain:
|
|||||||
# ...
|
# ...
|
||||||
packages:
|
packages:
|
||||||
all:
|
all:
|
||||||
compiler: [intel]
|
providers:
|
||||||
|
mpi: [openmpi]
|
||||||
# ...
|
# ...
|
||||||
|
|
||||||
This configuration sets the default compiler for all packages to
|
This configuration sets the default mpi provider to be openmpi.
|
||||||
``intel``.
|
|
||||||
|
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
Included configurations
|
Included configurations
|
||||||
|
@ -1,161 +0,0 @@
|
|||||||
spack:
|
|
||||||
definitions:
|
|
||||||
- compiler-pkgs:
|
|
||||||
- 'llvm+clang@6.0.1 os=centos7'
|
|
||||||
- 'gcc@6.5.0 os=centos7'
|
|
||||||
- 'llvm+clang@6.0.1 os=ubuntu18.04'
|
|
||||||
- 'gcc@6.5.0 os=ubuntu18.04'
|
|
||||||
- pkgs:
|
|
||||||
- readline@7.0
|
|
||||||
# - xsdk@0.4.0
|
|
||||||
- compilers:
|
|
||||||
- '%gcc@5.5.0'
|
|
||||||
- '%gcc@6.5.0'
|
|
||||||
- '%gcc@7.3.0'
|
|
||||||
- '%clang@6.0.0'
|
|
||||||
- '%clang@6.0.1'
|
|
||||||
- oses:
|
|
||||||
- os=ubuntu18.04
|
|
||||||
- os=centos7
|
|
||||||
|
|
||||||
specs:
|
|
||||||
- matrix:
|
|
||||||
- [$pkgs]
|
|
||||||
- [$compilers]
|
|
||||||
- [$oses]
|
|
||||||
exclude:
|
|
||||||
- '%gcc@7.3.0 os=centos7'
|
|
||||||
- '%gcc@5.5.0 os=ubuntu18.04'
|
|
||||||
|
|
||||||
mirrors:
|
|
||||||
cloud_gitlab: https://mirror.spack.io
|
|
||||||
|
|
||||||
compilers:
|
|
||||||
# The .gitlab-ci.yml for this project picks a Docker container which does
|
|
||||||
# not have any compilers pre-built and ready to use, so we need to fake the
|
|
||||||
# existence of those here.
|
|
||||||
- compiler:
|
|
||||||
operating_system: centos7
|
|
||||||
modules: []
|
|
||||||
paths:
|
|
||||||
cc: /not/used
|
|
||||||
cxx: /not/used
|
|
||||||
f77: /not/used
|
|
||||||
fc: /not/used
|
|
||||||
spec: gcc@5.5.0
|
|
||||||
target: x86_64
|
|
||||||
- compiler:
|
|
||||||
operating_system: centos7
|
|
||||||
modules: []
|
|
||||||
paths:
|
|
||||||
cc: /not/used
|
|
||||||
cxx: /not/used
|
|
||||||
f77: /not/used
|
|
||||||
fc: /not/used
|
|
||||||
spec: gcc@6.5.0
|
|
||||||
target: x86_64
|
|
||||||
- compiler:
|
|
||||||
operating_system: centos7
|
|
||||||
modules: []
|
|
||||||
paths:
|
|
||||||
cc: /not/used
|
|
||||||
cxx: /not/used
|
|
||||||
f77: /not/used
|
|
||||||
fc: /not/used
|
|
||||||
spec: clang@6.0.0
|
|
||||||
target: x86_64
|
|
||||||
- compiler:
|
|
||||||
operating_system: centos7
|
|
||||||
modules: []
|
|
||||||
paths:
|
|
||||||
cc: /not/used
|
|
||||||
cxx: /not/used
|
|
||||||
f77: /not/used
|
|
||||||
fc: /not/used
|
|
||||||
spec: clang@6.0.1
|
|
||||||
target: x86_64
|
|
||||||
|
|
||||||
- compiler:
|
|
||||||
operating_system: ubuntu18.04
|
|
||||||
modules: []
|
|
||||||
paths:
|
|
||||||
cc: /not/used
|
|
||||||
cxx: /not/used
|
|
||||||
f77: /not/used
|
|
||||||
fc: /not/used
|
|
||||||
spec: clang@6.0.0
|
|
||||||
target: x86_64
|
|
||||||
- compiler:
|
|
||||||
operating_system: ubuntu18.04
|
|
||||||
modules: []
|
|
||||||
paths:
|
|
||||||
cc: /not/used
|
|
||||||
cxx: /not/used
|
|
||||||
f77: /not/used
|
|
||||||
fc: /not/used
|
|
||||||
spec: clang@6.0.1
|
|
||||||
target: x86_64
|
|
||||||
- compiler:
|
|
||||||
operating_system: ubuntu18.04
|
|
||||||
modules: []
|
|
||||||
paths:
|
|
||||||
cc: /not/used
|
|
||||||
cxx: /not/used
|
|
||||||
f77: /not/used
|
|
||||||
fc: /not/used
|
|
||||||
spec: gcc@6.5.0
|
|
||||||
target: x86_64
|
|
||||||
- compiler:
|
|
||||||
operating_system: ubuntu18.04
|
|
||||||
modules: []
|
|
||||||
paths:
|
|
||||||
cc: /not/used
|
|
||||||
cxx: /not/used
|
|
||||||
f77: /not/used
|
|
||||||
fc: /not/used
|
|
||||||
spec: gcc@7.3.0
|
|
||||||
target: x86_64
|
|
||||||
|
|
||||||
gitlab-ci:
|
|
||||||
bootstrap:
|
|
||||||
- name: compiler-pkgs
|
|
||||||
compiler-agnostic: true
|
|
||||||
mappings:
|
|
||||||
- # spack-cloud-ubuntu
|
|
||||||
match:
|
|
||||||
# these are specs, if *any* match the spec under consideration, this
|
|
||||||
# 'mapping' will be used to generate the CI job
|
|
||||||
- os=ubuntu18.04
|
|
||||||
runner-attributes:
|
|
||||||
# 'tags' and 'image' go directly onto the job, 'variables' will
|
|
||||||
# be added to what we already necessarily create for the job as
|
|
||||||
# a part of the CI workflow
|
|
||||||
tags:
|
|
||||||
- spack-k8s
|
|
||||||
image:
|
|
||||||
name: scottwittenburg/spack_builder_ubuntu_18.04
|
|
||||||
entrypoint: [""]
|
|
||||||
- # spack-cloud-centos
|
|
||||||
match:
|
|
||||||
# these are specs, if *any* match the spec under consideration, this
|
|
||||||
# 'mapping' will be used to generate the CI job
|
|
||||||
- 'os=centos7'
|
|
||||||
runner-attributes:
|
|
||||||
tags:
|
|
||||||
- spack-k8s
|
|
||||||
image:
|
|
||||||
name: scottwittenburg/spack_builder_centos_7
|
|
||||||
entrypoint: [""]
|
|
||||||
|
|
||||||
cdash:
|
|
||||||
build-group: Release Testing
|
|
||||||
url: http://cdash
|
|
||||||
project: Spack Testing
|
|
||||||
site: Spack Docker-Compose Workflow
|
|
||||||
|
|
||||||
repos: []
|
|
||||||
upstreams: {}
|
|
||||||
modules:
|
|
||||||
enable: []
|
|
||||||
packages: {}
|
|
||||||
config: {}
|
|
@ -23,7 +23,6 @@ components for use by dependent packages:
|
|||||||
|
|
||||||
packages:
|
packages:
|
||||||
all:
|
all:
|
||||||
compiler: [rocmcc@=5.3.0]
|
|
||||||
variants: amdgpu_target=gfx90a
|
variants: amdgpu_target=gfx90a
|
||||||
hip:
|
hip:
|
||||||
buildable: false
|
buildable: false
|
||||||
@ -70,16 +69,15 @@ This is in combination with the following compiler definition:
|
|||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
compilers:
|
packages:
|
||||||
- compiler:
|
llvm-amdgpu:
|
||||||
spec: rocmcc@=5.3.0
|
externals:
|
||||||
paths:
|
- spec: llvm-amdgpu@=5.3.0
|
||||||
cc: /opt/rocm-5.3.0/bin/amdclang
|
prefix: /opt/rocm-5.3.0
|
||||||
cxx: /opt/rocm-5.3.0/bin/amdclang++
|
compilers:
|
||||||
f77: null
|
c: /opt/rocm-5.3.0/bin/amdclang
|
||||||
fc: /opt/rocm-5.3.0/bin/amdflang
|
cxx: /opt/rocm-5.3.0/bin/amdclang++
|
||||||
operating_system: rhel8
|
fortran: null
|
||||||
target: x86_64
|
|
||||||
|
|
||||||
This includes the following considerations:
|
This includes the following considerations:
|
||||||
|
|
||||||
|
@ -557,14 +557,13 @@ preferences.
|
|||||||
FAQ: :ref:`Why does Spack pick particular versions and variants? <faq-concretizer-precedence>`
|
FAQ: :ref:`Why does Spack pick particular versions and variants? <faq-concretizer-precedence>`
|
||||||
|
|
||||||
|
|
||||||
Most package preferences (``compilers``, ``target`` and ``providers``)
|
The ``target`` and ``providers`` preferences
|
||||||
can only be set globally under the ``all`` section of ``packages.yaml``:
|
can only be set globally under the ``all`` section of ``packages.yaml``:
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
all:
|
all:
|
||||||
compiler: [gcc@12.2.0, clang@12:, oneapi@2023:]
|
|
||||||
target: [x86_64_v3]
|
target: [x86_64_v3]
|
||||||
providers:
|
providers:
|
||||||
mpi: [mvapich2, mpich, openmpi]
|
mpi: [mvapich2, mpich, openmpi]
|
||||||
|
Loading…
Reference in New Issue
Block a user