Commit Graph

260 Commits

Author SHA1 Message Date
Vassil Vassilev
35306f3f37 Simplify artifact selection procedure for distribution of binaries. 2017-06-23 09:59:27 +02:00
Vassil Vassilev
acc63c943c Add back the nightly cron sync job. 2017-06-23 09:29:23 +02:00
Frederich Munch
4e324c1599 CPT: Add runSingleTest method to invoke a single test on CI for better messaging. 2017-06-14 11:29:05 +02:00
Frederich Munch
96f86e79a9 CPT: Consolidate path joining to global variable LLVM_OBJ_ROOT. 2017-06-14 11:29:05 +02:00
Vassil Vassilev
359fa4132d Forward to more-up-to-date repository 2017-06-08 15:44:37 +02:00
Axel Naumann
795adc43e1 Point to authoritative repos; fixes cling builds with cpt. 2017-04-28 18:59:24 +02:00
Santiago Castro
1b831f04f6 Fix broken Markdown headings
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2017-04-17 20:29:34 +02:00
Vassil Vassilev
07065b3fff Teach cpt how to handle --create-dev-env Release option. 2017-04-06 19:59:23 +02:00
Frederich Munch
f1def4fefd Appveyor: Build with Ninja on Windows. 2017-03-09 08:29:28 +01:00
Frederich Munch
9d2f1b4bde CPT: Test installed version of CMake is less than 3.6.2 before downloading another. 2017-02-21 16:34:19 +01:00
Frederich Munch
e437621fd4 CPT: Use Appveyor’s clone for building. Try to use Appveyor’s caching for build directory. 2017-02-21 16:34:19 +01:00
Vassil Vassilev
5431895caa Download the nsis compiler only when we pack cling. 2016-09-17 13:14:53 +02:00
Vassil Vassilev
95f07ec272 Cling standalone cmake builds on Windows require cmake 3.6.2.
We need to export symbols from cling's executable which was not possible until
the accepted in cmake patch by Bertrand.
2016-09-17 12:38:03 +02:00
Roman Zulak
5c8feeeb11 CPT: Fix optional argument being used as string. 2016-09-16 10:27:58 +02:00
Bertrand Bellenot
63514775af Fix problem of tar file creation on Windows (slash vs backslash issue) 2016-08-26 09:44:15 +02:00
Bertrand Bellenot
52839d827f Revert last change 2016-08-25 12:14:21 +02:00
Bertrand Bellenot
ba7c310d93 Try to fix the "WindowsError: [Error 2] The system cannot find the file specified" 2016-08-24 17:44:20 +02:00
Roman Zulak
dda75d5636 CPT: Add 'compiler' argument.
Explicitly passing the compiler from Travis or Appveyor allows it to be printed in the log more apparently.
Can further be extended to mark dependencies when building packages, or even copy C++ headers into install.

Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-21 10:29:25 +02:00
Roman Zulak
6da7148d77 CPT: Add Build class and initial support for libc++ on Windows.
Build class can handle differences between Windows and Unix CMake.
libc++ on Windows is thoroughly untested.

Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-21 10:29:25 +02:00
Roman Zulak
d28809327d CPT: Add --current_dev:branch[es] flag to build specific branches.
This makes it easier for contributors to use cling's Travis config while
testing changes they would like to submit.

Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-21 10:29:25 +02:00
Roman Zulak
5f90efb317 CPT: Add ability to build libc++ with cling.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-21 10:29:25 +02:00
Roman Zulak
7703d89956 CPT: Add --with-cmake-flags to pass explicit flags to CMake.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-21 10:29:25 +02:00
Roman Zulak
2fd045e85f CPT: Disable fancy box printing on OS X, it's breaking Travis now.
Perhaps the file encoding has changed?

Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-21 10:29:25 +02:00
Roman Zulak
f3e49bca33 CPT: Run cling showing include paths after build on Travis.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-19 13:44:09 +02:00
Roman Zulak
f7983e7751 Travis: Move logic into local functions.
Run ccache and build from the same block to control the result code.
Set CLING_BUILD_TIMEOUT in timeout. (+1 squashed commit)
Add ability to view / export CCACHE_LOGFILE.

Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-19 13:44:09 +02:00
Roman Zulak
abbd7814d5 CPT: Only limit cpus if building on Travis.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-19 13:44:09 +02:00
Roman Zulak
a7276f0df0 CPT: Fix Problems with exceptions
Failure in an exec_subprocess call will trigger cleanup,
but cleanup calls exec_subprocess, resulting in recursion.

Possible uninitialized variable in exec_subprocess_check_output.

Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-19 13:44:09 +02:00
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