-
Notifications
You must be signed in to change notification settings - Fork 44
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
Clang build support #132
Clang build support #132
Conversation
…me clang warnings Signed-off-by: Ambalu, Robert <robert.ambalu@point72.com>
d09dfb3
to
43bff70
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We should bring the github actions build changes over from #83, we can also update the build instructions to no longer reference installing g++ or using it on MacOS. |
This code does not work on Apple Clang. The first of many errors (which do not occur in #83)
|
Signed-off-by: Rob Ambalu <robert.ambalu@RA7293-M1.saccap.int>
Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
…out the --arch options in CMakeLists.txt, not sure what the implications are Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
Signed-off-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
Signed-off-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
Signed-off-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
The last push adds support and tests for mac conda builds, updates the docs, and removes some remanants of using gcc in the mac builds. I don't know if there are additional fixes needed, I'll comment again once I'm done iterating on this. |
Signed-off-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
ffa8659
to
c2d9f38
Compare
It turns out building using the conda compilers on an intel mac requires setting the min required SDK version to 10.12 (conda-forge defaults to 10.9). I'm not sure how to do that on the github actions runner using a regular Maybe we should delete the commented code for supporting cross-compiling on MacOS now arm64 runners are available and it's not needed on github actions? I think the |
Hmm, not sure what's up with this:
Only happens using the conda build environment on an ARM mac. I don't reproduce this failure on my M3 macbook pro using a conda-based build, so not sure why this is a problem on github actions. |
Signed-off-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
Signed-off-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
@isuruf pointed out the remnants of the cross-compilation support was breaking the build for intel macs, so I've removed that and added back the intel mac tests. Still not sure what's up with the test failure on ARM macs. I reduced the timeout so at least we don't have to wait 30 minutes for the test to fail... |
…figure out why it fails on GH Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
@ngoldbaum that pushTick method should never block, so I assume its getting past that. It somewhat feels like the python gil may not be getting released at all or enough. Its really hard to debug without being able to reproduce outside of the github workflows. I'm going to try adding logs now as well. |
If you can show me how to set this up that would be great. Do you get a remote gdb session or pdb? I would likely need gdb for this, or the macos equivalent |
…timing Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
…nts can be deferred indefinitely if timer executes before event ( wait will keep waiting until max time, even if an event is pending ) Simplify QueueWaiter ( remove it entirely ) and move condvar/mutex/blocking logic directly into SRMWLockFreeQueue so that we can check on m_head directly. Revert all intermediate changes that were committed for testing / tracking down this issue Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
… fix and attack the queue issue properly another day. fix cpp time test Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
full build isnt running pypi-oriented mac tests (just conda), testing in #168 |
Signed-off-by: Tim Paine <timothy.paine@cubistsystematic.com>
clean up ci/cd code and ensure mac tests run
actual full build this time (+ mac tests!) https://github.com/Point72/csp/actions/runs/8455095906 |
curious why are we still using vcpkg for the full build if the conda builds are working ( and are significantly faster ) |
The wheels need to be built using the toolchain on the manylinux image, so something like vcpkg is necessary. You can’t use the toolchain conda-forge is built with. |
tl;dr:
pypi -> No C++ / system dependency assumptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
No description provided.