Skip to content

polish build.sh, add spasm, mathicgb and their dependent library#6

Open
wangyenshu wants to merge 2 commits into
Singular:mainfrom
wangyenshu:contrib
Open

polish build.sh, add spasm, mathicgb and their dependent library#6
wangyenshu wants to merge 2 commits into
Singular:mainfrom
wangyenshu:contrib

Conversation

@wangyenshu

@wangyenshu wangyenshu commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

This pull request add the following library:

MEMTAILOR, MATHIC, MATHICGB, GIVARO, OPENBLAS, FFLAS-FFPACK, SPASM

and polishes the build.sh. These dyn_modules should be available to Singular-in-Browser:

bigintm syzextra gfanlib customstd staticdemo subsets freealgebra partialgb gitfan interval cohomo loctriv sispasm

For example, LIB "gitfan.lib"; is working now. I have updated the demo at https://wangyenshu.github.io/Singular-wasm/ for debugging.

TODO:

  • add "machinelearning Order singmathic" dyn_modules. I had issues with getthing these modules to work, for more details, see the comment section in build.sh
  • enable openmp: openmp is now disabled and the file omp.h is used for tricking compilers to compile SPASM into single thread application. Here is a resource for enabling openmp in emscripten: Enabling openmp emscripten-core/emscripten#13892.
  • maybe add "-msimd128" for all library? For this pull request, only OpenBLAS, FFLAS-FFPACK, SpaSM and Singular has "-msimd128" enabled.
  • polish code
  • check if there is any missing functionality

@wangyenshu

Copy link
Copy Markdown
Contributor Author

Hello. I just found out that normaliz can be compiled with e-antic, nauty and cocoalib as optionali packages. (see https://github.com/Normaliz/Normaliz) They have not been added to Singular-in-Browser. Are they needed for some functionality of Singular? If so, I will plan to add them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant