summaryrefslogtreecommitdiff
path: root/lib/spack/env
diff options
context:
space:
mode:
authorBen Cowan <benc@txcorp.com>2021-02-01 07:26:47 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2022-03-17 09:01:01 -0700
commit81bc00d61fd9872514e5e25b4af405e6d3c9202e (patch)
treeecd03063fbad9a0cf4b9fa3a9c0e1b29f0489f32 /lib/spack/env
parentb26b3bebb4f44009f1e452b983b8fedb2e4e17ef (diff)
downloadspack-81bc00d61fd9872514e5e25b4af405e6d3c9202e.tar.gz
spack-81bc00d61fd9872514e5e25b4af405e6d3c9202e.tar.bz2
spack-81bc00d61fd9872514e5e25b4af405e6d3c9202e.tar.xz
spack-81bc00d61fd9872514e5e25b4af405e6d3c9202e.zip
Adding basic Windows features (#21259)
* Snapshot of some MSVC infrastructure added during experiments a while ago. Rebasing from spack/develop. * Added platform and OS definitions for Windows. * Updated Windows platform file to conform to new archspec use. * Added Windows as a platform; introduced some debugging code. * Added type annotations. * Fixed copyright. * Removed print statements. * Ensure `spack arch` returns correctly on Windows (#21428) * Correctly identify windows as 'windows-Windows10-AMD64'
Diffstat (limited to 'lib/spack/env')
-rwxr-xr-xlib/spack/env/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc
index 1a52f2c612..9fd0e4dfbc 100755
--- a/lib/spack/env/cc
+++ b/lib/spack/env/cc
@@ -241,7 +241,7 @@ case "$command" in
mode=cpp
debug_flags="-g"
;;
- cc|c89|c99|gcc|clang|armclang|icc|icx|pgcc|nvc|xlc|xlc_r|fcc|amdclang)
+ cc|c89|c99|gcc|clang|armclang|icc|icx|pgcc|nvc|xlc|xlc_r|fcc|amdclang|cl.exe)
command="$SPACK_CC"
language="C"
comp="CC"