e3f97b37e6
fixes #11555 Every path in CPATH is equivalent to a -I path to the compiler, while every path in *_INCLUDE_PATH is equivalent to -isystem. The latter avoids the noise due to warnings coming from 3rd party libraries that a project depends on. Added INCLUDE env variable (Intel Fortran, .mod files)
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
# -------------------------------------------------------------------------
|
|
# This is the default configuration for Spack's module file generation.
|
|
#
|
|
# Settings here are versioned with Spack and are intended to provide
|
|
# sensible defaults out of the box. Spack maintainers should edit this
|
|
# file to keep it current.
|
|
#
|
|
# Users can override these settings by editing the following files.
|
|
#
|
|
# Per-spack-instance settings (overrides defaults):
|
|
# $SPACK_ROOT/etc/spack/modules.yaml
|
|
#
|
|
# Per-user settings (overrides default and site settings):
|
|
# ~/.spack/modules.yaml
|
|
# -------------------------------------------------------------------------
|
|
modules:
|
|
enable:
|
|
- tcl
|
|
prefix_inspections:
|
|
bin:
|
|
- PATH
|
|
man:
|
|
- MANPATH
|
|
share/man:
|
|
- MANPATH
|
|
share/aclocal:
|
|
- ACLOCAL_PATH
|
|
lib:
|
|
- LIBRARY_PATH
|
|
lib64:
|
|
- LIBRARY_PATH
|
|
include:
|
|
- C_INCLUDE_PATH
|
|
- CPLUS_INCLUDE_PATH
|
|
# The INCLUDE env variable specifies paths to look for
|
|
# .mod file for Intel Fortran compilers
|
|
- INCLUDE
|
|
lib/pkgconfig:
|
|
- PKG_CONFIG_PATH
|
|
lib64/pkgconfig:
|
|
- PKG_CONFIG_PATH
|
|
share/pkgconfig:
|
|
- PKG_CONFIG_PATH
|
|
'':
|
|
- CMAKE_PREFIX_PATH
|
|
|
|
lmod:
|
|
hierarchy:
|
|
- mpi
|