-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix osx ci :) #538
fix osx ci :) #538
Conversation
update: When I left this, I saw some problems with Failing Tests
update: funny enough the only overlap with test failures on my silicon mac is vigranumpy.... |
k, the osx tests run through now on my intel macbook air. |
c0c2195
to
842e4cc
Compare
Hm.. okay that's strange. Locally the tests pass, but in CI, there seems to be an error related to The failing tests issue
e.g. here I tried finding how in the world it picks it up... My local env is exactly the same, it also picks up the same lib, but on ci it claims version Truncated cmake output
|
3b7c726
to
8be9f24
Compare
otherwise they won't run on osx
The interpreter is statically linked to `libpython` on macOS. Likely causes symbol clashes, which causes the segmentation faults we have seen. See also https://github.com/conda-forge/vigra-feedstock/blob/34e1048c818424995997b59817bbf909f43b221b/recipe/patches/ignore_libpython_macos.diff Co-authored-by: John Kirkham <jakirkham@users.noreply.github.com>
also use correct extension for osx/lnx
The OSX Stuff seems pretty Conda-forge specific. Maybe we should report to boost at conda-forge? or ask them for advice. |
how about pinging @jakirkham first - in the end that's the originator of the change. For reference, we're discussing the following code snippet: IF(APPLE)
SET(VIGRANUMPY_LIBRARIES ${Boost_PYTHON_LIBRARY})
ELSE()
SET(VIGRANUMPY_LIBRARIES ${Python_LIBRARIES} ${Boost_PYTHON_LIBRARY})
ENDIF() linking agains both if I have some time I'll try to construct a "clean" example, not using conda and see if that issue persists (before that it would be hard to open an issue with boost/conda-forge/cmake). |
I think this is due to some static linking in Python at conda-forge. I remember having run into this somewhere else. I'm sorry I "moved" that patch. it makes finding the original author hard. I think it was jakirkham. |
k - looks good. Tests still pass :) |
okay - finally it seems to work. I'll summarize the changes here:
libpng
(despite stating otherwise, this seems to be a cmake bug) - resolved by changing the order of package discovery viaCMAKE_FIND_FRAMEWORK
(andCMAKE_FIND_APPBUNDLE
).fixes #535, closes #523, closes #490
I would also suggest to close #469 - don't think nightly builds are needed now that vigra gets some love.
My comments further down were mostly recording thoughts during debugging, and don't need to be read now anymore :)