Skip to content

Commit 2a56a49

Browse files
Merge pull request #2317 from anutosh491/fix_symengine
Fix SymEngine Recipe
2 parents dd74941 + 007e271 commit 2a56a49

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

recipes/recipes_emscripten/symengine/patches/shared.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ index f90b9974..6394dce6 100644
7272
#endif
7373

7474
diff --git a/symengine/symengine_config_cling.h.in b/symengine/symengine_config_cling.h.in
75-
index bf99d723..91ea1042 100644
75+
index bf99d723..f9c2353e 100644
7676
--- a/symengine/symengine_config_cling.h.in
7777
+++ b/symengine/symengine_config_cling.h.in
7878
@@ -1,7 +1,10 @@
@@ -83,7 +83,7 @@ index bf99d723..91ea1042 100644
8383
-#pragma cling load("@CMAKE_SHARED_LIBRARY_PREFIX@symengine")
8484
+#include "clang/Interpreter/CppInterOp.h"
8585
+static bool _symengine_loaded = []() {
86-
+ Cpp::LoadLibrary(@SYMENGINE_CPPINTEROP_LIBRARY_PATH@);
86+
+ Cpp::LoadLibrary(@SYMENGINE_CPPINTEROP_LIBRARY_PATH@, false);
8787
+ return true;
8888
+}();
8989

recipes/recipes_emscripten/symengine/recipe.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ source:
1414
- patches/shared.patch
1515

1616
build:
17-
number: 3
17+
number: 4
1818

1919
requirements:
2020
build:
@@ -23,6 +23,8 @@ requirements:
2323
- make
2424
host:
2525
- boost-cpp
26+
run:
27+
- boost-cpp
2628
about:
2729
homepage: https://symengine.org/
2830
license: MIT

0 commit comments

Comments
 (0)