Skip to content

Commit 420f46f

Browse files
Add xeus-octave (emscripten-forge#2910)
* Add xeus-octave * Add pkg-config
1 parent de5d494 commit 420f46f

2 files changed

Lines changed: 68 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
set -eux
4+
5+
mkdir -p build
6+
cd build
7+
8+
emcmake cmake ${CMAKE_ARGS} -S .. -B . \
9+
-DCMAKE_BUILD_TYPE=Release \
10+
-DCMAKE_PREFIX_PATH=$PREFIX \
11+
-DCMAKE_SYSTEM_PREFIX_PATH=$PREFIX \
12+
-DCMAKE_INSTALL_PREFIX=$PREFIX \
13+
-DCMAKE_FIND_ROOT_PATH="$PREFIX"
14+
15+
emmake make install
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
context:
2+
version: 0.4.0
3+
name: xeus-octave
4+
5+
package:
6+
name: ${{ name }}
7+
version: ${{ version }}
8+
9+
source:
10+
url: https://github.com/jupyter-xeus/${{ name }}/archive/refs/tags/v${{ version }}.tar.gz
11+
sha256: c0a5ddf85280bfcdce1bb3e77403f4546071f9f8aaa4c58a3f70df045c0e60e9
12+
13+
build:
14+
number: 0
15+
16+
requirements:
17+
build:
18+
- ${{ compiler("cxx") }}
19+
- cmake
20+
- make
21+
- pkg-config
22+
host:
23+
- xeus
24+
- xeus-lite
25+
- nlohmann_json
26+
- octave
27+
- libpng
28+
- zlib
29+
- libflang
30+
- pcre2 >=10.46
31+
- libblas >=3.12
32+
- liblapack >=3.12
33+
- freetype
34+
run:
35+
- octave
36+
37+
tests:
38+
- package_contents:
39+
files:
40+
- bin/xoctave.js
41+
- bin/xoctave.wasm
42+
43+
about:
44+
homepage: https://github.com/jupyter-xeus/xeus-octave
45+
documentation: https://xeus-octave.readthedocs.io
46+
license: GPL-3.0-only
47+
license_family: GPL
48+
license_file: LICENSE
49+
summary: Jupyter kernel for GNU Octave
50+
51+
extra:
52+
recipe-maintainers:
53+
- IsabelParedes

0 commit comments

Comments
 (0)