Xcode version output when devkit is used

Baesken, Matthias matthias.baesken at sap.com
Wed Nov 24 11:50:44 UTC 2021


Hi, I noticed a small issue when using an XCode devkit (--with-devkit pointing to XCode 13.1 in this case.) in the jdk/jdk build.
In the configure output, we get this :


configure: Xcode major version: 10

--------------------------------
* Toolchain:      clang (clang/LLVM from Xcode 10.2.1)

* C Compiler:     Version 13.0.0 (at /tools/devkits/xcode13_1/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang)
* C++ Compiler:   Version 13.0.0 (at /tools/devkits/xcode13_1/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++)
--------------------------------


Looks like the output is picking up the XCode 10 from the system for "Xcode major version" and "Toolchain:" , not what the devkit provides.
The system has :

bash-3.2$ clang --version
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


Should this be adjusted, or is it considered acceptable ?

Best regards, Matthias



More information about the build-dev mailing list