-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ML] Upgrade to clang 6.0/Apple clang 10.1 for macOS compilation #867
Conversation
We will build the macOS version 8.x of the ML C++ using Apple clang 10.1 on High Sierra or cross-compiling using clang 6.0 on Ubuntu 18.04. This will eventually facilitate use of C++17 (after separate PRs to upgrade the Windows and Linux compilers have also been merged).
Our code no longer triggers these annoying warnings, so there's no need to suppress them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
rm /tmp/trusted.gpg~ && \ | ||
apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" && \ | ||
apt-get install --no-install-recommends -y clang-3.9 libclang1-3.9 libllvm3.9 llvm-3.9 llvm-3.9-runtime | ||
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we used to have --quiet
here. Do we want to retain it?
This is no longer required after elastic#867
This is no longer required after #867
This has been superseded by #1429. Since we won't be releasing 8.0 for a while we might as well take an extra step forward. The newer clang version has a more complete C++17 implementation. |
We will build the macOS version 8.x of the ML C++ using
Apple clang 10.1 on High Sierra or cross-compiling using
clang 6.0 on Ubuntu 18.04. This will eventually facilitate
use of C++17 (after separate PRs to upgrade the Windows and
Linux compilers have also been merged).
Relates #1015