Skip to content

Commit

Permalink
Better detection of compiler environments
Browse files Browse the repository at this point in the history
  • Loading branch information
greenc-FNAL committed May 30, 2024
1 parent 5fb60d5 commit 6cbb606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/build-spack-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ _process_environment() {
#
# then note that fact.
(( ++env_idx ))
[[ "$env_spec" =~ ^$known_compilers_re([~+@%[:space:]].*)?$ ]] \
[[ "$env_spec" =~ ^$known_compilers_re[@-][0-9] ]] \
&& is_compiler_env=1 \
&& (( num_environments > env_idx )) \
&& is_nonterminal_compiler_env=1
Expand Down

0 comments on commit 6cbb606

Please sign in to comment.