From fdc4f8ac2290ef8a13ae9557ff217c69e902435f Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 6 Nov 2026 12:42:27 -0700 Subject: [PATCH] Explicitly build against the prebuilt SymEngine with USE_SYSTEM_SYMENGINE=ON --- recipe/bld.bat | 2 +- recipe/build.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipe/bld.bat b/recipe/bld.bat index 25e36b4..94c82be 100644 --- a/recipe/bld.bat +++ b/recipe/bld.bat @@ -39,7 +39,7 @@ type %RECIPE_DIR%\\UPSTREAM_LICENSES.txt >> LICENSE set "CMAKE_GENERATOR=" set "CMAKE_GENERATOR_PLATFORM=" set "CMAKE_GENERATOR_TOOLSET=" -%PYTHON% -m pip wheel . -vv --no-deps --no-build-isolation -w dist -Ccmake.define.SymEngine_DIR=%LIBRARY_PREFIX% +%PYTHON% -m pip wheel . -vv --no-deps --no-build-isolation -w dist -Ccmake.define.SymEngine_DIR=%LIBRARY_PREFIX% -Ccmake.define.USE_SYSTEM_SYMENGINE=ON if errorlevel 1 exit 1 set dep_dir=%LIBRARY_BIN% diff --git a/recipe/build.sh b/recipe/build.sh index a550774..f5609d1 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -53,6 +53,7 @@ pushd python cat $RECIPE_DIR/UPSTREAM_LICENSES.txt >> LICENSE $PYTHON -m pip wheel . -vv --no-deps --no-build-isolation -w dist \ -Ccmake.define.SymEngine_DIR=$PREFIX \ + -Ccmake.define.USE_SYSTEM_SYMENGINE=ON \ -Ccmake.define.CMAKE_VERBOSE_MAKEFILE=ON popd