[cfe-users] help with linux setup and clang-6

Milan Andric via cfe-users cfe-users at lists.llvm.org
Fri Aug 31 18:59:08 PDT 2018


Well I'll be damned, tried it on Bionic (Ubuntu 18) and it seems to work
just fine:

```
curl -L https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/bionic/
llvm-toolchain-bionic-6.0 main"
sudo apt-get update
sudo apt-get install -y clang-6.0
```

```test.cpp
#include <optional>
int main()
{
    std::optional<int> o1;
}
```

```
$ clang++-6.0 -std=c++17 -o test test.cpp
```

Sorry for the noise,

Milan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20180831/7ebe98b7/attachment.html>


More information about the cfe-users mailing list