-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
f11fe2e
commit c3b3130
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Create the matlab-runtime package | ||
|
||
Find more information in the [MATLAB Runtime](https://mathworks.com/help/compiler/matlab-runtime.html) MathWorks documentation. | ||
|
||
The binaries are available starting from the [Download and Install MATLAB Runtime](https://mathworks.com/help/compiler/install-the-matlab-runtime.html) page. | ||
|
||
We chose the official MATLAB Runtime Version numbers listed in the [MATLAB Runtime](https://mathworks.com/products/compiler/matlab-runtime.html) download page, typically 9.7. Alternatives include v97 or R2019b. None of these versioning schemes account for updates (R2019b Update 9). Sigh. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package: | ||
name: matlab-runtime-9.7 | ||
version: 9 | ||
|
||
source: | ||
url: https://ssd.mathworks.com/supportfiles/downloads/R2019b/Release/9/deployment_files/installer/complete/glnxa64/MATLAB_Runtime_R2019b_Update_9_glnxa64.zip | ||
sha256: d213e2960a20332f121ec4addf81469b2a2aab2ad8b4ed4226875da6e8af7c65 | ||
|
||
build: | ||
number: 0 | ||
script: | ||
- ./install -mode silent -agreeToLicense yes -outputFile install_log.txt -destinationFolder $PREFIX/MATLAB/MATLAB_Runtime | ||
dynamic_linking: | ||
binary_relocation: false | ||
|
||
about: | ||
homepage: https://mathworks.com/help/compiler/install-the-matlab-runtime.html | ||
license_file: MCR_license.txt | ||
summary: | | ||
Run packaged MATLAB applications on computers without MATLAB | ||
description: | | ||
MATLAB Runtime (MCR) is a freely-available set of shared libraries, | ||
MATLAB code, and other files that enables the execution of MATLAB files | ||
on computers without an installed version of MATLAB. | ||
documentation: https://mathworks.com/help/compiler/matlab-runtime.html |