You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd${PACKAGES}
[ !-f"node-v14.17.0-linux-x64.tar.xz" ] && wget https://nodejs.org/dist/v16.14.0/node-v16.14.0-linux-x64.tar.xz
cd${APPS}
[ -e"node-v16.14.0-linux-x64" ] && rm -rf node-v14.17.0-linux-x64 &&echo"node-v14.17.0-linux-x64 exits, remove and re decompress"
tar -xf ${PACKAGES}/node-v16.14.0-linux-x64.tar.xz
install llvm
# build llvm from source is very complex, you can try to install it via privilege
sudo apt-get install llvm
# if you don't have privilege, build it from source!# download and decompress it
mkdir build
cd build
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=${APPS}/llvm-version -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;libcxx;libcxxabi;libunwind;lldb;compiler-rt;lld;polly;deuginfo-tests" --enable-optimized ../llvm
make -j
make install
#in arch linux , you just need to execute 'sudo pacman -S llvm ccls'
install ccls
pushd${PACKAGES}
git clone --depth=1 --recursive https://github.com/MaskRay/ccls
cd ccls
cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=${APPS}/llvm-version -DCMAKE_INSTALL_PREFIX=${APPS}/ccls -DCMAKE_CXX_COMPILER=g++ # need g++ to support c++17
cmake --build Release --target install