From b4080792d95a8406beed90df3cae01549aed10a4 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 6 Nov 2018 23:46:32 -0800 Subject: [PATCH] FreeBSD: devel/ccls --- Getting-started.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Getting-started.md b/Getting-started.md index 2eb0e69..83a5406 100644 --- a/Getting-started.md +++ b/Getting-started.md @@ -28,7 +28,8 @@ But caution is that you need to identify whether the clang library is compiled w + [aur/ccls-git](https://aur.archlinux.org/packages/ccls-git). There was a [SIGSEGV issue caused by LLVM_ENABLE_RTTI](https://github.com/MaskRay/ccls/issues/30) which has been fixed. + `cmake -H. -BRelease -DSYSTEM_CLANG=on -DUSE_SHARED_LLVM=on -DLLVM_ENABLE_RTTI=on` * FreeBSD - + with `devel/llvm60`: `cmake -H. -BRelease -DSYSTEM_CLANG=on -DUSE_SHARED_LLVM=on -DCMAKE_PREFIX_PATH=/usr/local/llvm60` + + [devel/ccls](https://www.freshports.org/devel/ccls) + + with `devel/llvm70`: `cmake -H. -BRelease -DSYSTEM_CLANG=on -DUSE_SHARED_LLVM=on -DCMAKE_PREFIX_PATH=/usr/local/llvm70` + use releases.llvm.org prebuilt archive and its libc++: `cmake -H. -BRelease -DCLANG_USE_BUNDLED_LIBC++=on` * Gentoo Linux: `cmake -H. -BRelease -DSYSTEM_CLANG=on -DCMAKE_PREFIX_PATH=/usr/lib/llvm/6 -DLLVM_ENABLE_RTTI=on` * Mac OS X