From 06bde1501f9c702a762a7c31773a6d42e36ff658 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 25 Jul 2026 13:21:41 -0700 Subject: [PATCH 1/6] recipes/recipes_emscripten/passagemath-sirocco: New --- .../passagemath-sirocco/recipe.yaml | 68 +++++++++++++++++++ .../test_passagemath_sirocco.py | 5 ++ 2 files changed, 73 insertions(+) create mode 100644 recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml create mode 100644 recipes/recipes_emscripten/passagemath-sirocco/test_passagemath_sirocco.py diff --git a/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml b/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml new file mode 100644 index 00000000000..53cf664a715 --- /dev/null +++ b/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml @@ -0,0 +1,68 @@ +context: + version: 10.8.6 + +package: + name: passagemath-sirocco + version: ${{ version }} + +source: +- url: https://pypi.org/packages/source/p/passagemath-sirocco/passagemath_sirocco-${{ version }}.tar.gz + sha256: e950a7504637560d589c9dcca3bd1cfb1abab533134d85de54126294ababa829 + +build: + script: ${{ PYTHON }} -m pip install . + number: 0 + +requirements: + build: + - python + - crossenv >=1.2 + - cross-python_emscripten-wasm32 + - ${{ compiler("c") }} + - ${{ compiler("cxx") }} + - pip + - passagemath-setup + - passagemath-environment + - cython + - cysignals + - numpy + - pkgconfig + - passagemath-abi == ${{ version }} + host: + - python + - sirocco + - numpy + - passagemath-modules + run: + - python + - cysignals + - passagemath-modules + +tests: +- script: pytester + files: + recipe: + - test_passagemath_sirocco.py + requirements: + build: + - pytester + run: + - pytester-run + - passagemath-repl + +about: + license: GPL-2.0-or-later + license_file: README.rst + summary: 'passagemath: Certified root continuation with sirocco' + description: | + Distribution of a part of the Sage library. + It provides a Cython interface to the sirocco library for computing + topologically certified root continuation of bivariate polynomials. + +extra: + emscripten_tests: + python: + pytest_files: + - test_passagemath_sirocco.py + recipe-maintainers: + - mkoeppe diff --git a/recipes/recipes_emscripten/passagemath-sirocco/test_passagemath_sirocco.py b/recipes/recipes_emscripten/passagemath-sirocco/test_passagemath_sirocco.py new file mode 100644 index 00000000000..2fc0e5b9ca6 --- /dev/null +++ b/recipes/recipes_emscripten/passagemath-sirocco/test_passagemath_sirocco.py @@ -0,0 +1,5 @@ +import pytest + + +def test_import_passagemath_sirocco(): + import passagemath_sirocco From 65810a762ac132ce8e9d2b0cdff3b718b7d74d31 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 25 Jul 2026 13:38:46 -0700 Subject: [PATCH 2/6] recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml: Add host dep gmp --- recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml b/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml index 53cf664a715..151dfcaad9c 100644 --- a/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml +++ b/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml @@ -30,6 +30,7 @@ requirements: - passagemath-abi == ${{ version }} host: - python + - gmp - sirocco - numpy - passagemath-modules From 44d1167932ff96985d70b9a9d3297dd6b9d23c3c Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 25 Jul 2026 14:14:43 -0700 Subject: [PATCH 3/6] recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml: Add host dep mpfr --- recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml b/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml index 151dfcaad9c..a618516bb96 100644 --- a/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml +++ b/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml @@ -31,6 +31,7 @@ requirements: host: - python - gmp + - mpfr - sirocco - numpy - passagemath-modules From e0eae48fd03f2e1360471566999b2e1b9b95f264 Mon Sep 17 00:00:00 2001 From: Yanshu Wang Date: Thu, 30 Jul 2026 12:31:36 -0700 Subject: [PATCH 4/6] recipes/recipes_emscripten/sirocco: New --- recipes/recipes_emscripten/sirocco/build.sh | 15 +++++++ .../recipes_emscripten/sirocco/recipe.yaml | 44 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 recipes/recipes_emscripten/sirocco/build.sh create mode 100644 recipes/recipes_emscripten/sirocco/recipe.yaml diff --git a/recipes/recipes_emscripten/sirocco/build.sh b/recipes/recipes_emscripten/sirocco/build.sh new file mode 100644 index 00000000000..8dc12694698 --- /dev/null +++ b/recipes/recipes_emscripten/sirocco/build.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +set -euxo pipefail + +autoreconf --install + +emconfigure ./configure \ + --prefix="${PREFIX}" \ + --disable-shared \ + --enable-static \ + CPPFLAGS="-I${PREFIX}/include" \ + LDFLAGS="-L${PREFIX}/lib" + +emmake make + +emmake make install diff --git a/recipes/recipes_emscripten/sirocco/recipe.yaml b/recipes/recipes_emscripten/sirocco/recipe.yaml new file mode 100644 index 00000000000..dfff6d2d4b5 --- /dev/null +++ b/recipes/recipes_emscripten/sirocco/recipe.yaml @@ -0,0 +1,44 @@ +context: + name: sirocco + version: 2.1.1 + +package: + name: ${{ name }} + version: ${{ version }} + +source: + url: https://github.com/miguelmarco/SIROCCO2/releases/download/${{ version }}/libsirocco-${{ version }}.tar.gz + sha256: 83d1dd5622120eda42c475696235dd67be8072a76baad0a70693d9743a659a61 + +build: + number: 0 + +requirements: + build: + - autoconf + - automake + - libtool + - make + - ${{ compiler("c") }} + - ${{ compiler('cxx') }} + - pkg-config + - autoconf-archive + host: + - mpfr + - gmp + +tests: + - package_contents: + files: + - lib/libsirocco.a + - include/sirocco.h + +about: + homepage: https://github.com/miguelmarco/SIROCCO2 + license: GPL-3.0-only + license_file: LICENSE + summary: Sirocco Is a ROot Certified COntinuator + +extra: + recipe-maintainers: + - wangyenshu From 034f93cae15e37f1a5de46eb46837426e41cc6dc Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Thu, 30 Jul 2026 12:32:09 -0700 Subject: [PATCH 5/6] recipes/recipes_emscripten/sirocco/recipe.yaml: Change recipe-maintainer --- recipes/recipes_emscripten/sirocco/recipe.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/recipes_emscripten/sirocco/recipe.yaml b/recipes/recipes_emscripten/sirocco/recipe.yaml index dfff6d2d4b5..d86d1734ec5 100644 --- a/recipes/recipes_emscripten/sirocco/recipe.yaml +++ b/recipes/recipes_emscripten/sirocco/recipe.yaml @@ -41,4 +41,4 @@ about: extra: recipe-maintainers: - - wangyenshu + - mkoeppe From 023d87aaa83643096c40853bd227da43bbd53900 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Thu, 30 Jul 2026 12:34:11 -0700 Subject: [PATCH 6/6] recipes/recipes_emscripten/passagemath-sirocoo: Update to 10.8.7 --- recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml b/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml index a618516bb96..d56007ada7a 100644 --- a/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml +++ b/recipes/recipes_emscripten/passagemath-sirocco/recipe.yaml @@ -1,5 +1,5 @@ context: - version: 10.8.6 + version: 10.8.7 package: name: passagemath-sirocco @@ -7,7 +7,7 @@ package: source: - url: https://pypi.org/packages/source/p/passagemath-sirocco/passagemath_sirocco-${{ version }}.tar.gz - sha256: e950a7504637560d589c9dcca3bd1cfb1abab533134d85de54126294ababa829 + sha256: 23b2506a5612c57574e1ad4f4e36b1df5013d01eecc7337daecd6fe188d5a190 build: script: ${{ PYTHON }} -m pip install .