Skip to content
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

Improve portability of libm and quad testers #544

Open
blapie opened this issue May 29, 2024 · 0 comments
Open

Improve portability of libm and quad testers #544

blapie opened this issue May 29, 2024 · 0 comments

Comments

@blapie
Copy link
Collaborator

blapie commented May 29, 2024

Libm and quad tester rely on Unix specific sys/wait.h for pipes. This limits testing capacity on Windows, e.g. with msys2/mingw, and other non-unix based OS-es.
Fixing this would allow to fully test SLEEF on Windows (x86 and aarch64), and not just DFT (see #540).

Opening this issue to discuss potential alternatives:

  • @shibatch suggests to base a new tester1 engine on tlfloat (https://github.com/shibatch/tlfloat). This would remove the need for pipe-ing (wait.h) while still enabling multi-threading. It would also remove the dependency in mpfr. A first problem here is probably linking SLEEF and tlfloat, as it might not be entirely straightforward.
  • use a port of wait.h for Windows, e.g. , not sure if Windows on Arm is supported.
  • Brutally, remove the calls to wait(pid). Is it even possible?
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

No branches or pull requests

1 participant