Commit Graph

47 Commits

Author SHA1 Message Date
micbou
1b40d683be Convert the install script to python
Translate the install.sh script in python to make it platform independent.
Keep install.sh as a wrapper of install.py to not break scripts that
depend on it.
2015-08-23 20:12:16 +02:00
Daniel Loffgren
dd143bcaaa install.sh now works without bash, and preserves the trap functionality via exits 2015-08-21 03:22:09 +09:00
Strahinja Val Markovic
2c255c5370 Fixing build on Arch Linux
Arch has /usr/bin/python point to python3 because that OS wants to be a
unique and special snowflake that breaks backwards compatibility.
2015-01-18 10:10:23 -08:00
Strahinja Val Markovic
2e728657f8 Updating to latest ycmd 2015-01-17 17:54:08 -08:00
Jack O'Connor
bc0842ce6e set -e in install.sh
This allows error in `build.sh` to propagate up. Fixes #1197.
2014-09-29 12:03:17 -07:00
なつき
f1a7e2dc7e Fix running scripts from a directory whose name contains space 2014-07-03 17:17:23 -07:00
Strahinja Val Markovic
48031ab89a Error message for no ycmd submodule checkout 2014-05-15 19:21:04 -07:00
Strahinja Val Markovic
6b7e736157 Using -f with rm to get exit 0 if missing file
As per comments on 6572635c67
2014-05-15 09:54:41 -07:00
Strahinja Val Markovic
6572635c67 install.sh now removes old ycm libs if present 2014-05-14 15:00:59 -07:00
Strahinja Val Markovic
005524637d build/test scripts split into ycmd/ycm versions 2014-05-13 16:12:52 -07:00
Strahinja Val Markovic
15cef03497 Shell scripts now use new ycmd location 2014-05-13 15:03:32 -07:00
Strahinja Val Markovic
7eaafd7ff8 Using OmniSharp from new directory 2014-05-12 16:30:54 -07:00
Spencer G. Jones
f5cbeacdb2 Check for the existence of msbuild.exe as well. 2014-03-20 09:03:04 -06:00
Strahinja Val Markovic
28663c191d Revert "Always use python_finder on install"
This reverts commit 38a84d2b9f.
2014-03-19 15:24:35 -07:00
Val Markovic
80b4647009 Merge pull request #882 from cehoffman/patch-1
Always use python_finder on install
2014-03-19 15:20:09 -07:00
Strahinja Val Markovic
50b3b1efd4 Moved a comment around & rephrased it 2014-03-19 14:37:21 -07:00
Chris Hoffman
38a84d2b9f Always use python_finder on install
When using something like [pyenv](yyuu/pyenv) cmake fails to find the python library.
2014-03-12 20:23:14 -05:00
Abhinav Krishnamoorthy
a04b77b5a0 Made changes to the install.sh to recognize .dll.a files on CYGWIN
allowing it to discover PYTHON_INCLUDE_DIR and PYTHON_LIBRARY

Also changed wrap_python.hpp to only check for defined(__CYGWIN__)
on 32-bit systems. Previously this check was OR'd with the check
for defined(__WIN32__) causing the system to erroneously update the
SIZEOF_LONG value and subsequently resulting in "make ycm_core"
failing with "LONG_BIT definition appears wrong for platform" on
CYGWIN-64 systems.
2014-02-15 16:32:47 -05:00
Strahinja Val Markovic
cb939dd8e2 Adding a check for third_party libs present
If the user forgot to checkout the submodules, then we bork during install.sh.
2013-10-24 11:16:36 -07:00
Strahinja Val Markovic
e20c88a4b5 install.sh script works again
Fixes #589
2013-10-16 09:55:57 -07:00
Strahinja Val Markovic
070d39b2a9 Adding a run_tests script
This is now also used by Travis CI.
2013-10-07 11:03:30 -07:00
Strahinja Val Markovic
221bb65489 Renaming DEV_FLAGS to USE_DEV_FLAGS 2013-08-12 20:48:49 -07:00
Strahinja Val Markovic
ce136cd5b6 Dev flags are now off by default
"Dev" flags are -Werror, -Wextra, -Wall and -Wc++98-compat. People who are
compiling YCM as users and not developers (99.99999% of all YCM compilations)
don't care about those flags and were just burdened by their inclusion by
default.

Fixes #502.
2013-08-12 20:36:15 -07:00
Chiel92
44eaf5a0da Merge https://github.com/Valloric/YouCompleteMe
Conflicts:
	install.sh
2013-07-16 20:59:26 +02:00
Chiel92
8066bdc29b omnisharp build added to install script 2013-07-16 17:17:57 +02:00
Manpreet Singh
c89ef89cfe Allow easier system libclang use 2013-07-08 12:19:49 -07:00
Strahinja Val Markovic
ed691d30c6 Using our command_exists func to check for brew
Fixes #341.
2013-05-26 17:38:47 -07:00
Dániel Varga
27011adade Fixed argument pass problem
Pass additional arguments to cmake.
2013-05-08 20:31:12 +02:00
Strahinja Val Markovic
484c5f7241 Travis CI config file & related required changes 2013-04-18 23:38:29 -07:00
Val Markovic
322c4ef4d4 Fix typo introduced in refactor 2013-04-09 23:40:04 -07:00
Strahinja Val Markovic
dad9488fbe Refactoring the way install.sh checks for commands 2013-04-09 18:36:59 -07:00
Ellis kenyo
5312827480 Update install.sh
Added more efficient option to detect number of cores on running system via nproc
2013-04-09 22:34:46 +02:00
Strahinja Val Markovic
9dd1e68002 More Xs in mktemp to placate Slackware
Fixes #168.
2013-03-01 18:07:39 -08:00
Strahinja Val Markovic
2fdfa85a73 Parallel build support for install script
We now pass the number of CPUs as the make -j argument.

Fixes #139
2013-02-23 10:30:33 -08:00
Jochen Sprickerhof
a59750505b Clean up build dir in install.sh 2013-02-22 13:17:09 +01:00
Strahinja Val Markovic
7988f75afb Typo fix in install script 2013-02-17 19:34:07 -08:00
Robert D. Blanchet Jr
018e670324 Need to pay closer attention ;( 2013-02-17 11:03:22 -08:00
Robert D. Blanchet Jr
8bc9073ef1 Only use python_finder on OSX. 2013-02-17 11:01:31 -08:00
Robert D. Blanchet Jr
e5b9ffb637 Fix non-framework python library path. 2013-02-17 10:47:14 -08:00
Robert D. Blanchet Jr
1e2a78c87d Fix non-framework python paths. 2013-02-17 10:39:17 -08:00
Robert D. Blanchet Jr
a3f6987f99 Work around CMake failure to find proper Python. 2013-02-17 09:01:54 -08:00
Strahinja Val Markovic
0da00c60e6 mktemp on ubuntu demands X's 2013-02-07 19:29:59 -08:00
Strahinja Val Markovic
da8da52cdd Minor tweaks to new intall process 2013-02-07 19:29:59 -08:00
Zeh Rizzatti
41294f7a76 Fix usage on install.sh 2013-02-07 19:29:59 -08:00
Zeh Rizzatti
3b4eeee686 Update install.sh with --clang-completer option
Also gives better messages for install instructions for homebrew.
2013-02-07 19:29:59 -08:00
Zeh Rizzatti
7be0bb6a4a No need to build the tests 2013-02-07 19:29:58 -08:00
Zeh Rizzatti
65d7bd4433 Add install.sh for easily building 2013-02-07 19:29:58 -08:00