Skip to content

Stable/beta configure fails on macOS 10.12 (Apple clang 8.0) #34549

Closed
@rahulg

Description

@rahulg

Running configure on stable and beta branches on macOS 10.12 with the Xcode 8 command line tools fails with the following:

configure: error: bad APPLE CLANG version: 8.0.0, need >=7.0

The master branch shouldn't have this issue, since configure doesn't seem to whitelist Apple clang versions any more. The following one-line patch[1] fixes this issue on stable/beta:

diff --git a/configure b/configure
index fdef550..7a7b2e4 100755
--- a/configure
+++ b/configure
@@ -1023,7 +1023,7 @@ then
         if [ -n "$CFG_OSX_CLANG_VERSION" ]
         then
             case $CFG_OSX_CLANG_VERSION in
-                (7.0* | 7.1* | 7.2* | 7.3*)
+                (7.0* | 7.1* | 7.2* | 7.3* | 8.0*)
                 step_msg "found ok version of APPLE CLANG: $CFG_OSX_CLANG_VERSION"
                 ;;
                 (*)

[1] filed an issue instead of a PR since the PR wouldn't be against master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions