Commit Graph

233 Commits

Author SHA1 Message Date
Roman Zulak
eb624b555e CPT: Fix DLLVM_HOST_TRIPLE for Travis on OS X.
CMake thinks that the default output on OS X should be 32 bit.
Not sure if this is related to ccache or the env/virtualization they run.

Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-19 13:44:09 +02:00
Frederich Munch
3e65a6fee0 CPT: Fix git log hanging.
git log can hang waiting for stdin unless --no-pager argument is given.

Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-15 11:54:05 +02:00
Frederich Munch
6e13c66259 When building on Travis, use clone that Travis has already done. Saves some time, and necessary for pull-requests.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-13 19:44:21 +02:00
Vassil Vassilev
6e23bb5f1e Optionally, don't cleanup after build, helps debugging.
Debug file dumps should be done outside cpt.
2016-08-12 15:14:10 +02:00
Vassil Vassilev
ec1a6fec18 Typo. 2016-08-12 09:44:16 +02:00
Vassil Vassilev
c5b99ae797 Make the json findable when we only download and call cpt.py. 2016-08-11 12:30:28 +02:00
Vassil Vassilev
d18e9ecdba We shouldn't force using libcxx. 2016-08-10 19:06:40 +02:00
Vassil Vassilev
d48e229db4 Only import pip if needed.
It requires installing a package on the system.
2016-08-10 19:06:40 +02:00
Vassil Vassilev
5877f3acb2 Revert "Disable llvm's terminal support."
We need this for colored diagnostics.
2016-08-09 12:29:32 +02:00
Vassil Vassilev
0f5ab9641f Disable llvm's terminal support.
We have our own terminal library. Not linking against libs like tinfo and ncurses
makes our binaries more platform independent.
2016-08-09 12:29:32 +02:00
Vassil Vassilev
fa7e1b69bd Use the tag which is currently building. Keep the assert. 2016-08-07 23:48:58 +02:00
Vassil Vassilev
819708255e Tag can start with letter other than v. 2016-08-07 23:28:45 +02:00
Anirudha Bose
29341720f9 CPT: Use assets from locally cloned cling 2016-08-05 18:14:07 +02:00
Anirudha Bose
97a92f7d5f CPT: Use dmgbuild to generate DMG files 2016-08-05 18:14:07 +02:00
Anirudha Bose
4dfb99bb45 CPT: OSX fixes and better filtering of dist files
The Cling build system can use CPT, instead of directly
reading tools/packaging/dist-files.mk
2016-08-05 18:14:07 +02:00
Vassil Vassilev
6da56fb4e9 Rely on clang on osx. GCC is long gone. 2016-08-05 18:14:07 +02:00
Vassil Vassilev
c36e71769d Fix cmake invocation on osx. 2016-08-05 15:26:37 +02:00
Vassil Vassilev
7d5cbc070e Build only host target on windows. Simplify. 2016-08-05 11:23:41 +02:00
Vassil Vassilev
c49e3c3111 Print a new line. 2016-08-05 11:23:41 +02:00
Vassil Vassilev
165852930b Run the tests in a platform-independent way. 2016-08-05 11:23:41 +02:00
Vassil Vassilev
396bc54c6f Do not build clang as a target. 2016-08-05 11:23:41 +02:00
Vassil Vassilev
e28d6d0b99 The unzipped subfolder is dependent on the platform. 2016-08-05 11:23:41 +02:00
Vassil Vassilev
3e5abd7067 We need latest cmake to run cling's testsuite. Simplify. 2016-08-05 11:23:41 +02:00
Vassil Vassilev
efdd4833c9 Use recent visual studio. 2016-08-05 11:23:41 +02:00
Vassil Vassilev
8fd09ba0cf Adjust url. 2016-08-05 11:23:41 +02:00
Vassil Vassilev
3b57a0a378 Find latest nsis binary. 2016-08-05 11:23:41 +02:00
Vassil Vassilev
4839f298c6 Sourceforge redirects to https. 2016-08-05 11:23:41 +02:00
Vassil Vassilev
ad0d4d9b0d Build only target cling. Simplify. 2016-08-03 23:14:16 +02:00
Vassil Vassilev
4c824f89aa Make cpt debug friendly if --debug-on-error is passed.
Do not cleanup the workspace and dump a cmake log files.
2016-08-03 14:29:26 +02:00
Anirudha Bose
320ba93dd2 Update CPT for latest LLVM
* Drop support for configure, in favor of CMake.
   Latest LLVM makes cmake mandatory
 * Improvements to wget
 * Travis CI fixes
2016-07-19 20:44:11 +02:00
Anirudha Bose
1cec9757e9 CPT: Use GitHub API to fetch repo tags 2016-07-06 14:44:09 +02:00
Anirudha Bose
7245fc55e5 CPT: LLVM revision must correspond to checked out tag 2016-07-06 14:44:09 +02:00
Anirudha Bose
1184631657 CPT: Limit parallel builds to 4 cores 2016-07-06 14:44:09 +02:00
Anirudha Bose
3c651f3048 CPT: Better SSL detection 2016-07-06 14:44:09 +02:00
Anirudha Bose
2f01f7dbee CPT: Fix subprocess communication in Python 3 2016-07-06 14:44:09 +02:00
Anirudha Bose
9f18c590da Refactor and reformat code in CPT 2016-07-06 14:44:09 +02:00
Anirudha Bose
6bef401e59 Use modern syntax of "except" for dual compatibility with Python 2 and 3 2016-07-06 14:44:09 +02:00
Anirudha Bose
c63d7d1920 New method to get sources of LLVM and Clang
- prefer new method if the repos are hosted in Github
- fix an IndexError bug in home-grown wget()
2016-07-06 14:44:09 +02:00
Anirudha Bose
ee1a3d8c73 Change the default URLs of repositories
Repos hosted in GitHub have the advantage of a rich API.
The variables where this change will be reflected are:
LLVM_GIT_URL, WITH_LLVM_URL
CLANG_GIT_URL, CLANG_GIT_URL
CLING_GIT_URL, CLING_GIT_URL
2016-07-06 14:44:09 +02:00
CristinaCristescu
1d46fe88d8 Remove runtime namespace from NullDerefException and rename RuntimeException.h to Exception.h.
(cherry picked from commit 234da8bfedce8661c2b8bc50f72632c240c4dfd8)
2015-12-15 20:24:16 +01:00
Maxim Ivanov
8b00d8b7a4 Fix a sneaky typo
💄
2014-11-06 12:13:29 +01:00
Anirudha Bose
365133992a Need to encode Debian changelog to UTF-8 2014-10-05 21:56:08 +02:00
Anirudha Bose
3b8577fc5f Auto-detect Clang version. Remove hard-coded Clang version in dist-files.mk 2014-10-04 11:47:04 +02:00
Anirudha Bose
09c43b9300 Fix #51: Handle subprocess.CalledProcessError 2014-10-02 20:08:02 +02:00
Anirudha Bose
34023274e2 Remove Python 3 warning in --check-requirements 2014-10-02 10:09:36 +02:00
Anirudha Bose
2e10af4cee Use UTF-8 standard to decode bytes object to str 2014-10-02 10:09:36 +02:00
Anirudha Bose
f86229f459 Make wget functionality compatible with Python 3 2014-10-02 10:09:35 +02:00
Anirudha Bose
19430a0367 Convert bytes object to str for Python 3 2014-10-02 10:09:35 +02:00
Philippe Canal
d0c5e588c5 Revert "Remove trailing spaces" in interpreter/cling/tools/packaging/dist-files.mk
This partially reverts commit a6bc8d715a79f578e5fe0cf18e46af92ff507fd7.
2014-10-02 02:42:07 +02:00
Vassil Vassilev
6101769c89 Use the correct extension. 2014-10-01 18:39:07 +02:00