-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathJupyterKernel-Cling-1.2-GCCcore-13.3.0-4.3.4.eb
More file actions
59 lines (49 loc) · 1.79 KB
/
Copy pathJupyterKernel-Cling-1.2-GCCcore-13.3.0-4.3.4.eb
File metadata and controls
59 lines (49 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'Bundle'
name = 'JupyterKernel-Cling'
version = '1.2'
local_jupyterver = '4.3.4'
versionsuffix = '-' + local_jupyterver
homepage = 'https://github.com/root-project/cling'
description = """
Native C kernel for Jupyter.
Project Jupyter exists to develop open-source software, open-standards, and services
for interactive computing across dozens of programming languages.
"""
toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}
builddependencies = [
('binutils', '2.42'),
]
dependencies = [
('Python', '3.12.3'),
('JupyterLab', local_jupyterver),
('Cling', version),
]
modextrapaths = {
'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages'],
'JUPYTER_PATH': ['share/jupyter'], # add search path for kernelspecs
}
# Ensure that the user-specific $HOME/.local/share/jupyter is always first entry in JUPYTHER_PATH
modluafooter = """
remove_path("JUPYTER_PATH", pathJoin(os.getenv("HOME"), ".local/share/jupyter"))
prepend_path("JUPYTER_PATH", pathJoin(os.getenv("HOME"), ".local/share/jupyter"))
"""
postinstallcmds = [
(
'pip3 install --upgrade --no-deps --force-reinstall '
' --prefix %(installdir)s ${EBROOTCLING}/share/cling/Jupyter/kernel '
),
'jupyter-kernelspec install --prefix=%(installdir)s ${EBROOTCLING}/share/cling/Jupyter/kernel/cling-cpp2b ',
'install -m 0755 ${EBROOTCLING}/share/cling/Jupyter/kernel/scripts/jupyter-cling-kernel %(installdir)s/bin/ ',
]
sanity_check_paths = {
'files': [
'share/jupyter/kernels/cling-cpp2b/kernel.json',
],
'dirs': [
'lib/python%(pyshortver)s/site-packages',
'share/jupyter/kernels/cling-cpp2b/',
],
}
moduleclass = 'tools'