-DEXTERNAL_LIBCLANG_PATH=/usr/lib/libclang.so added.
Search Criteria
Package Details: vim-youcompleteme-git r3216.0d855962-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/vim-youcompleteme-git.git (read-only, click to copy) |
---|---|
Package Base: | vim-youcompleteme-git |
Description: | A code-completion engine for Vim |
Upstream URL: | https://ycm-core.github.io/YouCompleteMe/ |
Keywords: | completion engine neovim vim ycm |
Licenses: | GPL3 |
Groups: | vim-plugins |
Submitter: | thestinger |
Maintainer: | artafinde |
Last Packager: | artafinde |
Votes: | 170 |
Popularity: | 0.50 |
First Submitted: | 2013-02-05 21:32 (UTC) |
Last Updated: | 2024-08-19 15:53 (UTC) |
Dependencies (19)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-bottle
- python-watchdog (python-watchdog-gitAUR)
- vim (neovim-drop-inAUR, neovim-symlinksAUR, vim-cli-gitAUR, gvim-wayland-lilydjwg-gitAUR, vim-gitAUR, gvim-gtk2AUR, gvim)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- pybind11 (pybind11-gitAUR) (make)
- abseil-cpp (abseil-cpp-gitAUR) (optional) – if setting _use_system_abseil ON
- gopls (optional) – Go semantic completion
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (optional) – Java semantic completion
- jdtlsAUR (optional) – Java semantic completion
- nodejs-ternAUR (optional) – JavaScript semantic completion
- omnisharp-roslynAUR (omnisharp-roslyn-bundledAUR, omnisharp-roslyn-binAUR) (optional) – C# semantic completion
- python-jedi (optional) – Python semantic completion
- python-numpydoc (optional) – Python semantic completion
- python-regex (python-regex-gitAUR) (optional) – Better Unicode support
- rust-analyzer (rust-analyzer-gitAUR, rust-analyzer-nightly-binAUR, rustup-gitAUR, rustup) (optional) – Rust semantic completion
- typescript (typescript-gitAUR) (optional) – Typescript semantic completion
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 46 47 48 49 50 51 52 53 Next › Last »
vodik commented on 2013-12-10 22:24 (UTC)
svenstaro commented on 2013-11-22 11:17 (UTC)
There is currently a problem if you have multiple libclang.so in your system in standard paths. This is the case, for instance, if you have android-sdk installed. Please use this: cmake -DEXTERNAL_LIBCLANG_PATH=/usr/lib/libclang.so
LordAro commented on 2013-11-19 21:02 (UTC)
Wait, it's because standard 'vim' on arch is indeed without python support
Perhaps you could somehow check this in the PKGBUILD ?
LordAro commented on 2013-11-19 01:19 (UTC)
Not sure if this is the package or something else, but upon installation i get:
"YouCompleteMe unavailable: requires Vim compiled with Python 2.x support" when starting vim
Is there something else I need to do?
vodik commented on 2013-10-31 01:02 (UTC)
Hey so thestinger has turned over this package to me. I rebuild this PKGBUILD almost daily so I should be able to stay ontop of changes quicker.
I'm explicitly listing all the git sub-modules in the source array because I rebuild the package on _any_ change. If this breaks I will revert to `git submodule update --init`
ksmets commented on 2013-10-25 13:44 (UTC)
I edited the PKGBUILD to checkout all submodules (see comment by hack.augusto), and to make ycm_client_support (as indicated in https://github.com/Valloric/YouCompleteMe/issues/589) when building. Moreover, when packaging also the third_party folder needs to be bundled.
diff --git a/PKGBUILD b/PKGBUILD
index c0b0a9c..bed6703 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_gitname=YouCompleteMe
pkgname=vim-youcompleteme-git
-pkgver=564.7cef111
+pgkver=941.77b8adf
pkgrel=1
epoch=1
pkgdesc='A code-completion engine for Vim'
@@ -24,14 +24,16 @@ pkgver() {
}
build() {
- cd $_gitname/cpp
+ cd $_gitname
+ git submodule update --init --recursive
+ cd cpp
cmake -G "Unix Makefiles" -DUSE_SYSTEM_LIBCLANG=ON
- make ycm_core
+ make ycm_support_libs
}
package() {
cd $_gitname
mkdir -p "$pkgdir/usr/share/vim/vimfiles"
- cp -a autoload doc plugin python "$pkgdir/usr/share/vim/vimfiles"
+ cp -a autoload doc plugin python third_party "$pkgdir/usr/share/vim/vimfiles"
ln -sf /usr/lib/llvm/libclang.so "$pkgdir/usr/share/vim/vimfiles/python/"
}
<deleted-account> commented on 2013-09-15 11:34 (UTC)
I'm having problems making this package, the script seems to hang at cloning YouCompleteMe from github.
[~/Downloads/vim-youcompleteme-git] > makepkg
==> Making package: vim-youcompleteme-git 1:564.7cef111-1 (Sun Sep 15 12:34:09 BST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning YouCompleteMe git repo...
Cloning into bare repository '/home/chutsu/Downloads/vim-youcompleteme-git/YouCompleteMe'...
^C
==> ERROR: Aborted by user! Exiting...
hack.augusto commented on 2013-09-14 23:36 (UTC)
Changing build to checkouts all the submodules:
build() {
cd $_gitname
git submodule update --init --recursive
cd cpp
cmake -G "Unix Makefiles" -DUSE_SYSTEM_LIBCLANG=ON
make ycm_core
}
Pinned Comments
artafinde commented on 2021-04-10 13:03 (UTC)
If you want to use system's abseil set the
_use_system_abseil
toON
- default is to download from internet during build.