Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions recipes/recipes_emscripten/xeus-haskell/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
set -ex
emcmake cmake \
-S $PWD \
-B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
-DCMAKE_PREFIX_PATH="$PREFIX" \
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
-DCMAKE_C_FLAGS="" \
-DCMAKE_CXX_FLAGS="" \
-DCMAKE_EXE_LINKER_FLAGS="" \
-DCMAKE_SHARED_LINKER_FLAGS="" \
-DCMAKE_SYSTEM_NAME=Emscripten
emmake make -C build install
41 changes: 41 additions & 0 deletions recipes/recipes_emscripten/xeus-haskell/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
context:
version: 0.3.0

package:
name: xeus-haskell
version: ${{ version }}

source:
url: https://github.com/jupyter-xeus/xeus-haskell/archive/refs/tags/v${{ version }}.tar.gz
sha256: a2ec33edb675d04ea9e206a923aabf39e1e7e58d3b35f4471752ff320e64457f

build:
number: 0

requirements:
build:
- ${{ compiler("cxx") }}
- ${{ compiler("c") }}
- cmake
- make
host:
- nlohmann_json
- nlohmann_json-abi
- xeus
- xeus-lite

tests:
- package_contents:
files:
- bin/xhaskell.wasm
- bin/xhaskell.js

about:
license: Apache-2.0
license_file: LICENSE
summary: Haskell kernel for Jupyter based on xeus
homepage: https://github.com/jupyter-xeus/xeus-haskell

extra:
recipe-maintainers:
- tani