From 47e08e8144b8cb120958a2afdf47d28042e712f6 Mon Sep 17 00:00:00 2001 From: anutosh491 Date: Thu, 30 Jan 2025 09:30:45 +0530 Subject: [PATCH 1/9] Update Symengine recipe [3.1.73] --- recipes/recipes_emscripten/symengine/build.sh | 24 +++++++++++++++++++ .../recipes_emscripten/symengine/recipe.yaml | 20 +++++----------- 2 files changed, 30 insertions(+), 14 deletions(-) create mode 100644 recipes/recipes_emscripten/symengine/build.sh diff --git a/recipes/recipes_emscripten/symengine/build.sh b/recipes/recipes_emscripten/symengine/build.sh new file mode 100644 index 000000000..d5646fe03 --- /dev/null +++ b/recipes/recipes_emscripten/symengine/build.sh @@ -0,0 +1,24 @@ +emcmake cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTS=OFF \ + -DBUILD_BENCHMARKS=OFF \ + -DINTEGER_CLASS=boostmp \ + -DWITH_BOOST=ON \ + -DCMAKE_PREFIX_PATH=$PREFIX \ + -DCMAKE_INSTALL_PREFIX=$PREFIX \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_FOR_DISTRIBUTION=yes \ + -DBUILD_SHARED_LIBS=no \ + -DBoost_INCLUDE_DIR=$BUILD_PREFIX/include \ + -DWITH_SYMENGINE_THREAD_SAFE=ON \ + -DWITH_SYMENGINE_RCP=ON \ + -DWITH_FLINT=OFF \ + -DWITH_PIRANHA=OFF \ + -DWITH_GMP=OFF \ + -DWITH_MPFR=OFF \ + -DWITH_MPC=OFF \ + -DWITH_OPENMP=OFF \ + -S . \ + -B build + +emmake cmake --build build --target install \ No newline at end of file diff --git a/recipes/recipes_emscripten/symengine/recipe.yaml b/recipes/recipes_emscripten/symengine/recipe.yaml index 6fb06e056..7b0031f9b 100644 --- a/recipes/recipes_emscripten/symengine/recipe.yaml +++ b/recipes/recipes_emscripten/symengine/recipe.yaml @@ -12,20 +12,7 @@ source: version }}.tar.gz build: - number: 0 - script: | - emcmake cmake \ - -DBUILD_TESTS=OFF \ - -DBUILD_BENCHMARKS=OFF \ - -DINTEGER_CLASS=boostmp \ - -DCMAKE_PREFIX_PATH=$PREFIX \ - -DCMAKE_INSTALL_PREFIX=$PREFIX \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_FOR_DISTRIBUTION=yes \ - -DBUILD_SHARED_LIBS=no \ - -DBoost_INCLUDE_DIR=$BUILD_PREFIX/include \ - . - emmake make install + number: 1 requirements: build: @@ -33,6 +20,10 @@ requirements: - cmake - make - boost-cpp + host: + - boost-cpp + run: + - boost-cpp about: homepage: https://symengine.org/ @@ -48,3 +39,4 @@ about: extra: recipe-maintainers: - richardotis + - anutosh491 \ No newline at end of file From 3805efa3771a0b860d8a030e15ea3d59d36a2e52 Mon Sep 17 00:00:00 2001 From: Anutosh Bhat Date: Thu, 30 Jan 2025 09:43:16 +0530 Subject: [PATCH 2/9] Update recipe.yaml --- recipes/recipes_emscripten/symengine/recipe.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/recipes_emscripten/symengine/recipe.yaml b/recipes/recipes_emscripten/symengine/recipe.yaml index 7b0031f9b..141899f99 100644 --- a/recipes/recipes_emscripten/symengine/recipe.yaml +++ b/recipes/recipes_emscripten/symengine/recipe.yaml @@ -19,11 +19,11 @@ requirements: - ${{ compiler("cxx") }} - cmake - make - - boost-cpp + - boost-cpp >=1.87.0 host: - - boost-cpp + - boost-cpp >=1.87.0 run: - - boost-cpp + - boost-cpp >=1.87.0 about: homepage: https://symengine.org/ @@ -39,4 +39,4 @@ about: extra: recipe-maintainers: - richardotis - - anutosh491 \ No newline at end of file + - anutosh491 From 16d224c6117db13b7f70ceb3772c6c5aa9bbd966 Mon Sep 17 00:00:00 2001 From: Anutosh Bhat Date: Thu, 30 Jan 2025 09:53:02 +0530 Subject: [PATCH 3/9] Update recipe.yaml --- recipes/recipes_emscripten/symengine/recipe.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/recipes_emscripten/symengine/recipe.yaml b/recipes/recipes_emscripten/symengine/recipe.yaml index 141899f99..451e0e579 100644 --- a/recipes/recipes_emscripten/symengine/recipe.yaml +++ b/recipes/recipes_emscripten/symengine/recipe.yaml @@ -19,7 +19,6 @@ requirements: - ${{ compiler("cxx") }} - cmake - make - - boost-cpp >=1.87.0 host: - boost-cpp >=1.87.0 run: From 4dfd5c19ad103a0e685b2b31083df064790abf91 Mon Sep 17 00:00:00 2001 From: Anutosh Bhat Date: Thu, 30 Jan 2025 10:01:40 +0530 Subject: [PATCH 4/9] Update recipe.yaml --- recipes/recipes_emscripten/symengine/recipe.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/recipes_emscripten/symengine/recipe.yaml b/recipes/recipes_emscripten/symengine/recipe.yaml index 451e0e579..141899f99 100644 --- a/recipes/recipes_emscripten/symengine/recipe.yaml +++ b/recipes/recipes_emscripten/symengine/recipe.yaml @@ -19,6 +19,7 @@ requirements: - ${{ compiler("cxx") }} - cmake - make + - boost-cpp >=1.87.0 host: - boost-cpp >=1.87.0 run: From f1d2e84002233cb65854745cfd39579a6215e0e0 Mon Sep 17 00:00:00 2001 From: Thorsten Beier Date: Fri, 31 Jan 2025 09:34:28 +0100 Subject: [PATCH 5/9] Update recipe.yaml --- recipes/recipes_emscripten/symengine/recipe.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/recipes_emscripten/symengine/recipe.yaml b/recipes/recipes_emscripten/symengine/recipe.yaml index 141899f99..0919fb569 100644 --- a/recipes/recipes_emscripten/symengine/recipe.yaml +++ b/recipes/recipes_emscripten/symengine/recipe.yaml @@ -19,11 +19,11 @@ requirements: - ${{ compiler("cxx") }} - cmake - make - - boost-cpp >=1.87.0 + - boost-cpp host: - - boost-cpp >=1.87.0 + - boost-cpp run: - - boost-cpp >=1.87.0 + - boost-cpp about: homepage: https://symengine.org/ From 0b115a9d7a196e7ad27c0549eba9ad3f53e5018e Mon Sep 17 00:00:00 2001 From: Thorsten Beier Date: Fri, 31 Jan 2025 09:50:30 +0100 Subject: [PATCH 6/9] Update recipe.yaml --- recipes/recipes_emscripten/symengine/recipe.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/recipes_emscripten/symengine/recipe.yaml b/recipes/recipes_emscripten/symengine/recipe.yaml index 0919fb569..068031bca 100644 --- a/recipes/recipes_emscripten/symengine/recipe.yaml +++ b/recipes/recipes_emscripten/symengine/recipe.yaml @@ -19,7 +19,7 @@ requirements: - ${{ compiler("cxx") }} - cmake - make - - boost-cpp + - boost host: - boost-cpp run: From 06dd3471fbeb61e690bda0b70556539e023be44f Mon Sep 17 00:00:00 2001 From: Thorsten Beier Date: Fri, 31 Jan 2025 09:52:40 +0100 Subject: [PATCH 7/9] Update recipe.yaml --- recipes/recipes_emscripten/symengine/recipe.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/recipes/recipes_emscripten/symengine/recipe.yaml b/recipes/recipes_emscripten/symengine/recipe.yaml index 068031bca..b397d6d84 100644 --- a/recipes/recipes_emscripten/symengine/recipe.yaml +++ b/recipes/recipes_emscripten/symengine/recipe.yaml @@ -19,12 +19,8 @@ requirements: - ${{ compiler("cxx") }} - cmake - make - - boost host: - - boost-cpp - run: - - boost-cpp - + - boost-cpp about: homepage: https://symengine.org/ license: MIT From cde9314adb18dcbf8b6029acc46f4f447850e17e Mon Sep 17 00:00:00 2001 From: Thorsten Beier Date: Fri, 31 Jan 2025 09:53:07 +0100 Subject: [PATCH 8/9] Update build.sh --- recipes/recipes_emscripten/symengine/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/recipes_emscripten/symengine/build.sh b/recipes/recipes_emscripten/symengine/build.sh index d5646fe03..22961a52a 100644 --- a/recipes/recipes_emscripten/symengine/build.sh +++ b/recipes/recipes_emscripten/symengine/build.sh @@ -9,7 +9,7 @@ emcmake cmake \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_FOR_DISTRIBUTION=yes \ -DBUILD_SHARED_LIBS=no \ - -DBoost_INCLUDE_DIR=$BUILD_PREFIX/include \ + -DBoost_INCLUDE_DIR=$PREFIX/include \ -DWITH_SYMENGINE_THREAD_SAFE=ON \ -DWITH_SYMENGINE_RCP=ON \ -DWITH_FLINT=OFF \ @@ -21,4 +21,4 @@ emcmake cmake \ -S . \ -B build -emmake cmake --build build --target install \ No newline at end of file +emmake cmake --build build --target install From b0023dc350f42858fe85a0c7b06db6ecd1e166d2 Mon Sep 17 00:00:00 2001 From: Thorsten Beier Date: Fri, 31 Jan 2025 09:59:16 +0100 Subject: [PATCH 9/9] Update build.sh --- recipes/recipes_emscripten/symengine/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/recipes_emscripten/symengine/build.sh b/recipes/recipes_emscripten/symengine/build.sh index 22961a52a..c1daf8b07 100644 --- a/recipes/recipes_emscripten/symengine/build.sh +++ b/recipes/recipes_emscripten/symengine/build.sh @@ -1,4 +1,5 @@ emcmake cmake \ + -DCMAKE_CXX_STANDARD=17 \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTS=OFF \ -DBUILD_BENCHMARKS=OFF \