Skip to content

Commit 40745ce

Browse files
author
Samuel Moors
committed
MATLAB-2025b-r2.eb
1 parent 43e7a76 commit 40745ce

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name = 'MATLAB'
2+
version = '2025b'
3+
_update = '2'
4+
versionsuffix = f'-r{_update}'
5+
6+
homepage = 'https://www.mathworks.com/products/matlab'
7+
description = """MATLAB is a high-level language and interactive environment
8+
that enables you to perform computationally intensive tasks faster than with
9+
traditional programming languages such as C, C++, and Fortran."""
10+
11+
toolchain = SYSTEM
12+
13+
sources = [f'R%(version)s_Update_{_update}_Linux.iso']
14+
checksums = ['99b6fe30737151c165b8d4d61092eebc61851de9a6c58759b636b0b8e3836e4f']
15+
16+
download_instructions = f'Download {sources[0]} from mathworks.com'
17+
18+
java_options = '-Xmx2048m'
19+
20+
osdependencies = [
21+
('p7zip-plugins', 'p7zip-full'), # for extracting iso-files
22+
('at-spi2-atk', 'libatk-bridge2.0-0t64'),
23+
]
24+
dependencies = [('MathWorksServiceHost', '2025.11.1.2')]
25+
26+
# Use EB_MATLAB_KEY environment variable or uncomment and modify license key
27+
key = [
28+
# MATLAB
29+
'62497-26570-22266-00695-52907-04488-40735-59121-31385-58084-34744-29157-55064-24355-43601-13893-28424-41083-55691-43298-11199-28888-30124-00898-35588-34221',
30+
# MATLAB Parallel Server
31+
'29627-10861-44108-12509-24348-08753-63899-61988-14181-11717-10515-29749-63534-48218-00255-32520-17522-20168-10798-13123-61531-53676-46804-43744-06063-61204',
32+
]
33+
34+
moduleclass = 'math'
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
easyblock = 'Tarball'
2+
3+
name = 'MathWorksServiceHost'
4+
version = '2025.11.1.2'
5+
6+
homepage = ''
7+
# https://github.com/mathworks-ref-arch/administer-mathworks-service-host
8+
description = """MathWorks Service Host is a collection of background processes that provide
9+
required services to MATLAB and other MathWorks products. Starting from MATLAB Release
10+
2024a, MATLAB requires MathWorks Service Host."""
11+
12+
toolchain = SYSTEM
13+
14+
source_urls = ['https://ssd.mathworks.com/supportfiles/downloads/MathWorksServiceHost/v%(version)s/release/glnxa64/']
15+
sources = ['managed_mathworksservicehost_%(version)s_package_glnxa64.zip']
16+
checksums = ['ac3e1ccf9cd40fd6f9693951a4fd744618986d77c134df52339df4d7e6f20969']
17+
18+
postinstallcmds = [
19+
'echo "LatestDSInstallerVersion %(version)s" > %(installdir)s/LatestInstall.info',
20+
'echo "LatestDSInstallRoot %(installdir)s" >> %(installdir)s/LatestInstall.info',
21+
'echo "DSLauncherExecutable %(installdir)s/bin/glnxa64/MathWorksServiceHost" >> %(installdir)s/LatestInstall.info',
22+
]
23+
24+
sanity_check_paths = {
25+
'files': ['bin/MATLABConnector', 'bin/glnxa64/MathWorksServiceHost'],
26+
'dirs': ['bin', 'cefclient', 'extern', 'help', 'resources', 'sys', 'toolbox', 'ui'],
27+
}
28+
29+
sanity_check_commands = ['MATLABConnector help']
30+
31+
# Force MATLAB to use the installed version. Otherwise, MATLAB automatically installs the
32+
# latest version of MathWorks Service Host for each host into `$HOME/MathWorks` on Linux
33+
modextrapaths = {'MATHWORKS_SERVICE_HOST_MANAGED_INSTALL_ROOT': ''}
34+
35+
moduleclass = 'math'

0 commit comments

Comments
 (0)