-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maxima (sbcl) arithmetic is very slow #34849
Comments
This seems to be due to slow default arithmetic in sbcl:
Now
The solution might be to somehow link maxima to |
Indeed:
Caveats:
|
I had success with the following patch
Now maxima is automatically initialized using sb-gmp and arithmetic is fast:
I want to try to fix an (unrelated) bug with the heap on maxima-ecl (#34030 (comment)); I'll make a single PR with both. |
- patch maxima-sbcl so it uses gmp for arithmetic (closes void-linux#34849) also add libgmp to shlib_requires since it won't be detected - remove `nopie=yes` to fix void-linux#34861, replace by `nopie_files` - remove `nostrip=yes`, replace by `nostrip_files` - add checks for void-linux#34849 and void-linux#34861 - run testsuite only for full check (not in CI) - some html and info files are shipped with source: do not rebuild
- patch maxima-sbcl so it uses gmp for arithmetic (closes void-linux#34849) also add libgmp to shlib_requires since it won't be detected - remove `nopie=yes` to fix void-linux#34861, replace by `nopie_files` - remove `nostrip=yes`, replace by `nostrip_files` - add checks for void-linux#34849 and void-linux#34861 - run testsuite only for full check (not in CI) - some html and info files are shipped with source: do not rebuild
- patch maxima-sbcl so it uses gmp for arithmetic (closes void-linux#34849) also add libgmp to shlib_requires since it won't be detected - remove `nopie=yes` to fix void-linux#34861, replace by `nopie_files` - remove `nostrip=yes`, replace by `nostrip_files` - add checks for void-linux#34849 and void-linux#34861 - run testsuite only for full check (not in CI) - some html and info files are shipped with source: do not rebuild
- patch maxima-sbcl so it uses gmp for arithmetic (closes void-linux#34849) also add libgmp to shlib_requires since it won't be detected - remove `nopie=yes` to fix void-linux#34861, replace by `nopie_files` - remove `nostrip=yes`, replace by `nostrip_files` - add checks for void-linux#34849 and void-linux#34861 - run testsuite only for full check (not in CI) - some html and info files are shipped with source: do not rebuild
- patch maxima-sbcl so it uses gmp for arithmetic (closes #34849) also add libgmp to shlib_requires since it won't be detected - remove `nopie=yes` to fix #34861, replace by `nopie_files` - remove `nostrip=yes`, replace by `nostrip_files` - add checks for #34849 and #34861 - run testsuite only for full check (not in CI) - some html and info files are shipped with source: do not rebuild
- patch maxima-sbcl so it uses gmp for arithmetic (closes void-linux#34849) also add libgmp to shlib_requires since it won't be detected - remove `nopie=yes` to fix void-linux#34861, replace by `nopie_files` - remove `nostrip=yes`, replace by `nostrip_files` - add checks for void-linux#34849 and void-linux#34861 - run testsuite only for full check (not in CI) - some html and info files are shipped with source: do not rebuild
- patch maxima-sbcl so it uses gmp for arithmetic (closes void-linux#34849) also add libgmp to shlib_requires since it won't be detected - remove `nopie=yes` to fix void-linux#34861, replace by `nopie_files` - remove `nostrip=yes`, replace by `nostrip_files` - add checks for void-linux#34849 and void-linux#34861 - run testsuite only for full check (not in CI) - some html and info files are shipped with source: do not rebuild
- patch maxima-sbcl so it uses gmp for arithmetic (closes void-linux#34849) also add libgmp to shlib_requires since it won't be detected - remove `nopie=yes` to fix void-linux#34861, replace by `nopie_files` - remove `nostrip=yes`, replace by `nostrip_files` - add checks for void-linux#34849 and void-linux#34861 - run testsuite only for full check (not in CI) - some html and info files are shipped with source: do not rebuild
Maybe coming from slow arithmetic in sbcl:
Contrast with maxima-ecl:
Note: ecl compiles with gmp so that's probably where the long arithmetic comes from.
The text was updated successfully, but these errors were encountered: