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
Bertrand Bellenot
1fe0bf1ad0
Enable stack trace & suppress error dialog on Windows.
...
Suppressing the error dialog on Windows prevent hangs on build nodes. One can also use an environment variable (Cling_GuiOnAssert) to enable/disable the error dialogs.
2016-08-08 12:14:09 +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
Axel Naumann
6a4af89230
Find cling includes wherever the install is copied to.
2016-07-29 17:44:10 +02:00
Axel Naumann
112370dc17
Update instructions, now that the cling kernel is installed.
2016-07-27 02:12:47 +02:00
Axel Naumann
500473fc6c
Move README.md out of kernel/ into Jupyter/.
2016-07-27 02:12:47 +02:00
Axel Naumann
78527f3493
Update contact info.
2016-07-22 19:29:12 +02:00
Frederich Munch
5a08af54ec
llvm::sys::PrintStackTraceOnErrorSignal takes argv[0] as an argument in current llvm.
2016-07-22 12:44:11 +02:00
Frederich Munch
36e5b97051
Fix cling executable when building as shared-library.
2016-07-22 12:44:11 +02:00
Bertrand Bellenot
79c8fc1d7c
Build cling.exe on Windows using the CMake object libraries
...
This allows to export the symbols from the executable, using the next version of CMake (not yet in the git master version of CMake)
2016-07-21 11:59:27 +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
Axel Naumann
39dd90e183
Use LLVM_LINK_COMPONENTS; add_dependencies superseded by cling/CMakeLists.txt depending on tablegen-ed files. Cleanup linked libs.
2016-07-19 17:59:14 +02:00
Frederich Munch
a054b253d8
Fix CMake projects to link to proper libraries when built as shared library.
2016-07-19 17:59:14 +02:00
Axel Naumann
b949a701c8
Add new tools/libcling/CMakeLists.txt.
2016-07-19 10:59:32 +02:00
Axel Naumann
2e08275916
Build libcling.so based on OBJECT "library" in CMake.
2016-07-19 10:59:32 +02:00
Axel Naumann
7e9a74f3e4
Remove remnants of llvm configure/make build system.
2016-07-13 17:16:13 +02:00