Commit Graph

453 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
38c757e36d Have MetaProcessor::process take an llvm::StringRef. Remove unnecessary std::string -> const char* -> std::string conversions. 2017-06-21 11:29:07 +02:00
Axel Naumann
fd3738190f Make symbols visible (ROOT-8823). 2017-06-19 16:00:56 +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
Diego Torres Quintanilla
952cf58b0d Fixed codemirror mode to appropriate value. Syntax highlighting in jupyter lab should work when https://github.com/jupyterlab/jupyterlab/pull/2187 is merged. 2017-05-12 09:14:05 +02:00
Axel Naumann
8c3afd1d0a Link against all available targets. 2017-05-09 09:59:05 +02:00
Axel Naumann
b9dbe1614f Update notebook, esp the kernelspec name. 2017-05-02 11:59:10 +02:00
Axel Naumann
8e2700d753 Fix ZMQ issues with threading:
run all ZMQ send()s from the main thread; run cling in a sub-thread.
2017-05-02 11:59:10 +02:00
Axel Naumann
2f13d674eb Do not echo expression results; kernel handles it. 2017-05-02 11:59:10 +02:00
Axel Naumann
97ec4b8e8a Add doc on the sideband mechanism. 2017-05-02 11:59:09 +02:00
Axel Naumann
795adc43e1 Point to authoritative repos; fixes cling builds with cpt. 2017-04-28 18:59:24 +02:00
Axel Naumann
a2cc4528e6 Update location of Jupyter kernel. 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
Axel Naumann
7a083b672a Update doc to follow change in kernel name - thanks, Steven R. Brandt! 2017-04-07 08:44:08 +02:00
Vassil Vassilev
07065b3fff Teach cpt how to handle --create-dev-env Release option. 2017-04-06 19:59:23 +02:00
Axel Naumann
af310ace1d Reflect changed Github repo name. 2017-04-05 11:44:05 +02:00
Axel Naumann
853aa86a45 Remove stray semicolon (nfc). 2017-03-31 16:44:04 +02:00
Axel Naumann
de56970ff0 Shorten the readme path a bit. 2017-03-22 11:20:50 +01:00
Axel Naumann
c3f3247006 More relevant / less obscure examples. Indent. 2017-03-21 21:14:33 +01:00
Axel Naumann
cb73393548 Build cling-demo as part of cling. 2017-03-20 15:44:07 +01:00
Axel Naumann
58b1ee1c14 Use static_cast; nicer print-out. 2017-03-20 09:44:04 +01:00
Axel Naumann
e847f2f5bc Add (c) header. 2017-03-19 23:14:05 +01:00
Axel Naumann
276505ffff Formatting. 2017-03-19 23:14:05 +01:00
Axel Naumann
5d829fa310 Add an example of a CMake project using cling (Issue 23). 2017-03-19 22:59:33 +01:00
Frederich Munch
f1def4fefd Appveyor: Build with Ninja on Windows. 2017-03-09 08:29:28 +01:00
Spencer Lyon
cf0019ab82 fix typo in jupyer kernel readme. 2017-03-07 15:29:26 +01:00
PrometheusPi
5e44b44f52 fix path to jupyter kernel install 2017-03-07 15:29:26 +01:00
Bertrand Bellenot
536c10ce34 Use correct way of checking Debug build
The CMAKE_BUILD_TYPE CMake variable is only valid for single-configuration generator (like Linux Makefiles), and not for multi-configuration generator (like for Visual Studio). So let's try to use a CMake generator expression instead.
2017-02-22 10:34:07 +01:00
Sylvain Corlay
8bd13badc1 rename kernels
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2017-02-21 20:23:27 +01:00
Frederich Munch
08d43f7ac0 CMake: Export global new and delete operators.
Note: There is still a problem with LLVM’s lookup of symbols and a change is needed
there for the full benefit.
2017-02-21 16:34:19 +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
Frederich Munch
8d6377f3a7 Windows: Split up exports into groups and make it easier to understand what’s forced to be exported. 2017-02-17 15:14:06 +01:00
Bertrand Bellenot
40f433e769 Export more symbols (decreasing the failing tests from 17 to 10) 2017-02-14 14:59:43 +01:00
Frederich Munch
b56254c0e7 Windows: Add explicit exports that aren’t being exported. 2017-02-09 16:45:10 +01:00
Frederich Munch
e245220dff Cleanup main and add InvocationOptions::IsInteractive method. 2017-02-01 13:14:11 +01:00
Frederich Munch
8aa8395cd6 Early out Interpreter initialization when invoked via '-v' or '-version'. 2017-02-01 13:14:11 +01:00
Frederich Munch
14437862ef Handle -E flag to dump preprocessor definitions. 2017-02-01 13:14:11 +01:00
Frederich Munch
592e61ba1e Feature to generate precompiled headers. 2017-02-01 13:14:11 +01:00
Frederich Munch
6aa837920e Check initialization is proceeding as expecting.
Don't blindly run through initialization; make sure things are going according to plan.
If not handle it and run destructors without crashing.
Return standard error codes from main.
2017-02-01 13:14:11 +01:00
Frederich Munch
0153f63690 Windows: Make sure to export type_info globals. 2016-12-20 12:59:08 +01:00
Axel Naumann
400c6402c9 Use -force_load instead of -all_load.
-(no)all_load is not position sensitive, and -noall_load triggers a warning.
2016-12-20 12:44:09 +01:00
Axel Naumann
43fe0be0a0 From Roman Zulak: Flush stdout less (cling). 2016-12-19 13:59:11 +01:00
Frederich Munch
075f4ffa83 Add cling output streams to cling/Utils/Output.h 2016-12-19 13:59:11 +01:00
Bertrand Bellenot
f98f5a0096 Should fix cling.exp : error LNK2001: unresolved external symbol "char const * const cling::valuePrinterInternal::kEmptyCollection" 2016-12-01 17:14:05 +01:00
Maarten Scholl
0a1bab6bd8 Fixed c++17 version name in kernel file
I encountered the following error and the above change fixed it

Nov 22 22:37:47 thesis jupyter[2811]: [I 22:37:47.646 NotebookApp] The Jupyter Notebook is running at: http://0.0.0.0:8888/
Nov 22 22:37:47 thesis jupyter[2811]: [I 22:37:47.646 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Nov 22 22:38:20 thesis jupyter[2811]: [I 22:38:20.303 NotebookApp] Kernel started: e416bf37-4f24-4aee-8e25-45c6fbbb85e6
Nov 22 22:38:21 thesis jupyter[2811]: [ClingKernelApp] CRITICAL | Bad config encountered during initialization:
Nov 22 22:38:21 thesis jupyter[2811]: [ClingKernelApp] CRITICAL | The 'std' trait of a ClingKernel instance must be any of ['c++11', 'c++14', 'c++17'], but a value of 'c++1z' <class 'str'> was specified.
Nov 22 22:38:23 thesis jupyter[2811]: [I 22:38:23.308 NotebookApp] KernelRestarter: restarting kernel (1/5)
Nov 22 22:38:24 thesis jupyter[2811]: [ClingKernelApp] CRITICAL | Bad config encountered during initialization:
Nov 22 22:38:24 thesis jupyter[2811]: [ClingKernelApp] CRITICAL | The 'std' trait of a ClingKernel instance must be any of ['c++11', 'c++14', 'c++17'], but a value of 'c++1z' <class 'str'> was specified.
Nov 22 22:38:26 thesis jupyter[2811]: [I 22:38:26.326 NotebookApp] KernelRestarter: restarting kernel (2/5)
Nov 22 22:38:27 thesis jupyter[2811]: [ClingKernelApp] CRITICAL | Bad config encountered during initialization:
Nov 22 22:38:27 thesis jupyter[2811]: [ClingKernelApp] CRITICAL | The 'std' trait of a ClingKernel instance must be any of ['c++11', 'c++14', 'c++17'], but a value of 'c++1z' <class 'str'> was specified.
Nov 22 22:38:29 thesis jupyter[2811]: [I 22:38:29.332 NotebookApp] KernelRestarter: restarting kernel (3/5)
Nov 22 22:38:30 thesis jupyter[2811]: [W 22:38:30.348 NotebookApp] Timeout waiting for kernel_info reply from e416bf37-4f24-4aee-8e25-45c6fbbb85e6
Nov 22 22:38:30 thesis jupyter[2811]: [I 22:38:30.365 NotebookApp] New terminal with specified name: 1
Nov 22 22:38:30 thesis jupyter[2811]: [ClingKernelApp] CRITICAL | Bad config encountered during initialization:
Nov 22 22:38:30 thesis jupyter[2811]: [ClingKernelApp] CRITICAL | The 'std' trait of a ClingKernel instance must be any of ['c++11', 'c++14', 'c++17'], but a value of 'c++1z' <class 'str'> was specified.
Nov 22 22:38:32 thesis jupyter[2811]: [I 22:38:32.338 NotebookApp] KernelRestarter: restarting kernel (4/5)
Nov 22 22:38:32 thesis jupyter[2811]: WARNING:root:kernel e416bf37-4f24-4aee-8e25-45c6fbbb85e6 restarted
Nov 22 22:38:32 thesis jupyter[2811]: [W 22:38:32.664 NotebookApp] Session not found: session_id='19509685-b888-480b-897b-be2cc8fed1cc'
Nov 22 22:38:32 thesis jupyter[2811]: [W 22:38:32.665 NotebookApp] 404 DELETE /api/sessions/19509685-b888-480b-897b-be2cc8fed1cc (192.168.0.24) 3.67ms referer=http://192.168.0.31:8888/notebooks/Untitled.ipynb?kernel_name=cling-c++17
Nov 22 22:38:33 thesis jupyter[2811]: [ClingKernelApp] CRITICAL | Bad config encountered during initialization:
Nov 22 22:38:33 thesis jupyter[2811]: [ClingKernelApp] CRITICAL | The 'std' trait of a ClingKernel instance must be any of ['c++11', 'c++14', 'c++17'], but a value of 'c++1z' <class 'str'> was specified.
Nov 22 22:38:35 thesis jupyter[2811]: [W 22:38:35.349 NotebookApp] KernelRestarter: restart failed
Nov 22 22:38:35 thesis jupyter[2811]: [W 22:38:35.350 NotebookApp] Kernel e416bf37-4f24-4aee-8e25-45c6fbbb85e6 died, removing from map.
Nov 22 22:38:35 thesis jupyter[2811]: ERROR:root:kernel e416bf37-4f24-4aee-8e25-45c6fbbb85e6 restarted failed!
Nov 22 22:38:35 thesis jupyter[2811]: ERROR:root:kernel e416bf37-4f24-4aee-8e25-45c6fbbb85e6 restarted failed!
Nov 22 22:38:35 thesis jupyter[2811]: [W 22:38:35.368 NotebookApp] Kernel deleted before session
Nov 22 22:38:35 thesis jupyter[2811]: [W 22:38:35.369 NotebookApp] 410 DELETE /api/sessions/ff344691-8fd6-4207-902e-01c944bdf7ae (192.168.0.24) 2.13ms referer=http://192.168.0.31:8888/notebooks/Untitled.ipynb
2016-11-23 08:59:46 +01:00
erlanger
c5216dd7b8 fix bug with os.readlink and regular files
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-11-22 18:36:13 +01:00