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
12 changes: 12 additions & 0 deletions recipes/recipes_emscripten/xtensor/patches/rich_display.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/include/xtensor/io/xio.hpp b/include/xtensor/io/xio.hpp
index ca9d694a..345edc4d 100644
--- a/include/xtensor/io/xio.hpp
+++ b/include/xtensor/io/xio.hpp
@@ -827,6 +827,6 @@ namespace xt

// Backward compatibility: include xmime.hpp in xio.hpp by default.

-#ifdef __CLING__
+#if defined(__CLING__) || defined(__CLANG_REPL__)
#include "xmime.hpp"
#endif
4 changes: 3 additions & 1 deletion recipes/recipes_emscripten/xtensor/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ package:
source:
url: https://github.com/xtensor-stack/xtensor/archive/${{ version }}.tar.gz
sha256: f5f42267d850f781d71097b50567a480a82cd6875a5ec3e6238555e0ef987dc6
patches:
- patches/rich_display.patch

build:
number: 1
number: 2

requirements:
build:
Expand Down