Skip to content

Commit

Permalink
Restructre build system for Octave 6,7,8
Browse files Browse the repository at this point in the history
  • Loading branch information
siko1056 committed Nov 19, 2023
1 parent 6eaa796 commit 8635344
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_octave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
continue-on-error: true
strategy:
matrix:
version: [4, 5, 6, 7]
version: [4, 5, 6, 7, 8]
steps:
-
name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/octave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
if [ "${VER:0:3}" = "4.4" ]; then
BUILD_VER=5
fi
if [ "${VER:0:1}" = "8" ]; then
BUILD_VER=7
if [ "${VER:0:1}" = "7" ]; then
BUILD_VER=6
fi
GNU_MIRROR=https://ftpmirror.gnu.org/octave
echo "OCTAVE_VERSION_MAJOR=${BUILD_VER}" >> $GITHUB_ENV
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,17 @@ For old Octave 4.x.x versions you might additionally pass the

```mermaid
graph LR
U4[ubuntu:<b>2204</b>] --> b7[docker.io/gnuoctave/octave-build:<b>7</b>];
U4[ubuntu:<b>2204</b>] --> b8[docker.io/gnuoctave/octave-build:<b>8</b>];
U3[ubuntu:<b>2004</b>] --> b6[docker.io/gnuoctave/octave-build:<b>6</b>];
U2[ubuntu:<b>1804</b>] --> b5[docker.io/gnuoctave/octave-build:<b>5</b>];
U1[ubuntu:<b>1604</b>] --> b4[docker.io/gnuoctave/octave-build:<b>4</b>];
b7 --> v840[docker.io/gnuoctave/octave:<b>8.4.0</b>];
b7 --> v830[docker.io/gnuoctave/octave:<b>8.3.0</b>];
b7 --> v820[docker.io/gnuoctave/octave:<b>8.2.0</b>];
b7 --> v810[docker.io/gnuoctave/octave:<b>8.1.0</b>];
b7 --> v730[docker.io/gnuoctave/octave:<b>7.3.0</b>];
b7 --> v720[docker.io/gnuoctave/octave:<b>7.2.0</b>];
b7 --> v710[docker.io/gnuoctave/octave:<b>7.1.0</b>];
b8 --> v840[docker.io/gnuoctave/octave:<b>8.4.0</b>];
b8 --> v830[docker.io/gnuoctave/octave:<b>8.3.0</b>];
b8 --> v820[docker.io/gnuoctave/octave:<b>8.2.0</b>];
b8 --> v810[docker.io/gnuoctave/octave:<b>8.1.0</b>];
b6 --> v730[docker.io/gnuoctave/octave:<b>7.3.0</b>];
b6 --> v720[docker.io/gnuoctave/octave:<b>7.2.0</b>];
b6 --> v710[docker.io/gnuoctave/octave:<b>7.1.0</b>];
b6 --> v640[docker.io/gnuoctave/octave:<b>6.4.0</b>];
b6 --> v630[docker.io/gnuoctave/octave:<b>6.3.0</b>];
b6 --> v620[docker.io/gnuoctave/octave:<b>6.2.0</b>];
Expand All @@ -119,7 +119,7 @@ graph LR
class b4 b;
class b5 b;
class b6 b;
class b7 b;
class b8 b;
classDef age1 fill:#9aff9a,stroke:#333,stroke-width:2px;
classDef age2 fill:#7fffd4,stroke:#333,stroke-width:2px;
classDef age3 fill:#fff68f,stroke:#333,stroke-width:2px;
Expand All @@ -130,9 +130,9 @@ graph LR
class v830 age1;
class v820 age1;
class v810 age1;
class v730 age1;
class v720 age1;
class v710 age1;
class v730 age2;
class v720 age2;
class v710 age2;
class v640 age2;
class v630 age2;
class v620 age2;
Expand Down
15 changes: 15 additions & 0 deletions build-octave-6.docker
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,18 @@ ENV SHELL=/bin/bash \
LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8 \
JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64


# Install RapidJSON header library

RUN mkdir -p /tmp/build && \
cd /tmp/build && \
wget -q "https://github.com/Tencent/rapidjson/archive/refs/heads/master.tar.gz" && \
tar -xf master.tar.gz && \
cp -R rapidjson-master/include/rapidjson /usr/include && \
rm -rf /tmp/build


# Set Octave build options

ENV OCTAVE_CONFIGURE_ARGS="--with-qhull='-lqhull_r'"
File renamed without changes.

0 comments on commit 8635344

Please sign in to comment.