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

Fix build and tests #390

Merged
merged 5 commits into from
Dec 9, 2023
Merged

Fix build and tests #390

merged 5 commits into from
Dec 9, 2023

Conversation

nauaneed
Copy link
Contributor

No description provided.

Seems like extern fabs() in linalg3.pyx is assumed to have c++ linkage as linalg3.cpp file is generated. However, this fabs() ends up conflicting with the declaration with c linkage from /usr/include/x86_64-linux-gnu/bits/mathcalls.h on ubuntu github actions runner.
Builds were failing on windows github actions runner due to some
conflict involving fmax() and fmin().

Seems like  fmax() and fmin() were defined soleley for windows as
they are a part of C99 standard but earlier MSVC not support C99
features fully. But now, MSVC supports it. So, it is no longer required.
also upgrade pip setuptools wheel each time tests run
With Cython 3.0, on github actions:
- All openmp tests fail on windows.
- Elliptical drop with openmp fails on ubuntu due to timeout.
- All openmp tests pass on macos runner
- test_compressed_octree_has_lesser_depth_than_octree fails

Pinning cython<3.0 to fix these failures.
Copy link
Contributor

@prabhuramachandran prabhuramachandran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me for now. A more careful fix that works on cython 3.0 would be useful but we can get to that later.

@prabhuramachandran prabhuramachandran merged commit b94cc72 into pypr:master Dec 9, 2023
4 checks passed
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.

None yet

2 participants