Skip to content
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

Merged
merged 7 commits into from
Dec 3, 2019

Conversation

droberts195
Copy link
Contributor

@droberts195 droberts195 commented Nov 29, 2019

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

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).
@droberts195 droberts195 marked this pull request as ready for review December 3, 2019 10:55
@droberts195 droberts195 removed the WIP label Dec 3, 2019
@edsavage edsavage self-assigned this Dec 3, 2019
Copy link
Contributor

@edsavage edsavage left a 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 - && \
Copy link
Contributor

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?

@droberts195 droberts195 merged commit 617e5b9 into elastic:master Dec 3, 2019
@droberts195 droberts195 deleted the clang_upgrade branch December 3, 2019 14:06
droberts195 added a commit to droberts195/ml-cpp that referenced this pull request Dec 10, 2019
This is no longer required after elastic#867
droberts195 added a commit that referenced this pull request Dec 10, 2019
This is no longer required after #867
@droberts195
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants