mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
Updated to Octave 8.1.0
This commit is contained in:
parent
86d897d580
commit
7ae50eaef7
5 changed files with 36 additions and 0 deletions
22
packages/octave/8.1.0/build.sh
vendored
Normal file
22
packages/octave/8.1.0/build.sh
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Build octave from source
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
curl -L "https://ftpmirror.gnu.org/octave/octave-8.1.0.tar.gz" -o octave.tar.gz
|
||||
|
||||
tar xzf octave.tar.gz --strip-components=1
|
||||
|
||||
# === autoconf based ===
|
||||
# Disable support for GUI, HDF5 and Java
|
||||
./configure --prefix "$PREFIX" --without-opengl --without-qt --without-x --without-hdf5 --disable-java
|
||||
|
||||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
|
||||
cd ../
|
||||
rm -rf build
|
4
packages/octave/8.1.0/environment
vendored
Normal file
4
packages/octave/8.1.0/environment
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Path to octave binary
|
||||
export PATH=$PWD/bin:$PATH
|
5
packages/octave/8.1.0/metadata.json
vendored
Normal file
5
packages/octave/8.1.0/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "octave",
|
||||
"version": "8.1.0",
|
||||
"aliases": ["matlab", "m"]
|
||||
}
|
4
packages/octave/8.1.0/run
vendored
Normal file
4
packages/octave/8.1.0/run
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Run octave scripts without gui, history, init scripts and initial message
|
||||
octave --no-gui --no-window-system --no-history --no-init-file --no-site-file --norc --quiet "$@"
|
1
packages/octave/8.1.0/test.octave
vendored
Normal file
1
packages/octave/8.1.0/test.octave
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
disp('OK')
|
Loading…
Add table
Add a link
Reference in a new issue