Skip to content

Commit

Permalink
Fix c++17 compiler selection to blacklist incomplete mac10.13 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
cjones051073 committed May 6, 2021
1 parent d148e62 commit e641f42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/port1.0/portconfigure.tcl
Expand Up @@ -849,7 +849,7 @@ proc portconfigure::max_version {verA verB} {
#| 1998 (C++98) | - | - | - | - |
#| 2011 (C++11) | 3.3 | 500.2.75 | 5.0 | 4.8.1 |
#| 2014 (C++14) | 3.4 | 602.0.49 | 6.3 | 5 |
#| 2017 (C++17) | 5.0 | 902.0.39.1 | 9.3 | 7 |
#| 2017 (C++17) | 5.0 | 1000.11.45.2 | 10.0 | 7 |
#--------------------------------------------------------------------
#
# https://openmp.llvm.org
Expand Down Expand Up @@ -909,7 +909,7 @@ proc portconfigure::get_min_command_line {compiler} {
set min_value [max_version $min_value 500.2.75]
}
if {${compiler.cxx_standard} >= 2017} {
set min_value [max_version $min_value 902.0.39.1]
set min_value [max_version $min_value 1000.11.45.2]
} elseif {${compiler.cxx_standard} >= 2014} {
set min_value [max_version $min_value 602.0.49]
} elseif {${compiler.cxx_standard} >= 2011} {
Expand Down

0 comments on commit e641f42

Please sign in to comment.