-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create matlab-runtime-9.7
and spm12
packages
#15
base: main
Are you sure you want to change the base?
Conversation
6102bcb
to
8430459
Compare
4118e6b
to
1eeb655
Compare
@sapetnioc Can you have a look? I think this change does not impact other packages in this repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to install the package but I wait for the corresponding SPM 12 package to really test it.
099031a
to
c3b3130
Compare
c3b3130
to
96e86b0
Compare
matlab-runtime
packagematlab-runtime-9.7
and spm12
packages
I moved the |
cb9cecb
to
f357da0
Compare
@sapetnioc Can you have a look? |
The PR is ok for me. I did not test the packages yet. My only question is about the non relocatable binaries of the Matlab runtime. Their final location is not known at package time. It could be different for each installation. Is it a problem ? |
It shouldn't be a problem. SPM12 is started by a shell script that sets |
Allow multiple versions of the Matlab Runtime. For that we need to include the version in the package name and make sure each version is installed alongside other versions. Note that the package version is simply the update number, 9 in the case of the 9.7/R2019b Linux binary: MATLAB_Runtime_R2019b_Update_9_glnxa64.zip For now, keep the package non-relocatable. The `patchelf` tool fails with obscure error messages on MATLAB Runtime binaries.
Note that the package version is the relese number of Standalone SPM12, the current latest release being r7771: spm12_r7771_Linux_R2019b.zip For now, keep the package non-relocatable. I am not convinced the `patchelf` tool does the right thing on MATLAB Runtime binaries.
f357da0
to
f4f8b6a
Compare
Find more information in the relevant documentation:
The binaries are available starting from these pages:
Matlab Compiler Runtime
Choose 9.7 as the Matlab runtime version, as it is the official MATLAB Runtime Version number according to the
MATLAB Runtime download page. Alternatives include v97 or R2019b. None of these versioning schemes account for the update version (R2019b Update 9) of the MATLAB release. Sigh.
For now, keep the package non-relocatable. The
patchelf
tool fails with obscure error messages on MATLAB Runtime binaries.SPM Standalone
Initial SPM Standalone binary packages used to be built against MATLAB R2010a and depend on the associated MATLAB Runtime 7.13. Unfortunately, that obsolete version of the MATLAB Runtime is not compatible with recent Linux distributions. We had to jump through hoops to run SPM12 on recent Linux machines, running SPM Standalone against MATLAB Runtime 9.7, associated to MATLAB R2019b, hoping for compatibility both with recent operating systems and the obsolete SPM Standalone binary package:
Nowadays, FIL provide multiple versions of the lastest release 7771 of SPM12, each for a specific version of the MATLAB Runtime:
spm12_r7771_R2010a.zip
spm12_r7771_Linux_R2015b.zip
spm12_r7771_Linux_R2016a.zip
spm12_r7771_Linux_R2016b.zip
spm12_r7771_Linux_R2017a.zip
spm12_r7771_Linux_R2017b.zip
spm12_r7771_Linux_R2018a.zip
spm12_r7771_Linux_R2018b.zip
spm12_r7771_Linux_R2019a.zip
spm12_r7771_Linux_R2019b.zip
spm12_r7771_Linux_R2020a.zip
spm12_r7771_Linux_R2020b.zip
spm12_r7771_Linux_R2021a.zip
spm12_r7771_Linux_R2021b.zip
spm12_r7771_Linux_R2022a.zip
spm12_r7771_Linux_R2022b.zip
For now, I'm depending on MATLAB Runtime Version 9.7, for consistency with other packages, and to avoid depending on multiple MATLAB Runtime versions.