-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Refactor for cmake-based infra in 1.6.4; add py3.9 & cpu-only windows #17
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin, please rerender |
@conda-forge/core I'm having a failure coming from linux
osx
|
Also, the python-detection of the conda-packaged cmake doesn't seem to work out of the box... |
You can remove this test. It is now in conda build and is not needed. |
Thanks @beckermr. Would you also happen to have any tips for python-detection in cmake on windows? 🙃 |
OK, linux builds now. On OSX, I have
|
CMake is a mystery to me. Someone from @conda-forge/core might be able to help? |
Found this info from the pyarrow dev mailing list:
And indeed, while the environment is obviously based on python3, and CMake finds the correct version at build time of
... it then proceeds to pick up the wrong python version while building
|
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. |
Apparently I cannot easily skip python 3.6 builds here (neither by explicit skips, nor by trickery with |
@h-vetinari, builds with multiple |
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.
Thanks for taking a look! :)
I've seen the OSX failure in #18 already, where I pinged the upstream maintainers because I couldn't figure out how it could be that the same job that previously passed CI now fails. Seeing the
|
No idea. If you wanted to try that theory out, you could add set the compiler version back to the previous version in |
I've found changing the values of |
Uh-oh, that doesn't look very good:
Seems that Same goes for
|
…da-forge-pinning 2020.12.07.18.58.57
Co-Authored-By: H. Vetinari <[email protected]>
Looks like this is finally converging :) |
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.
@mbargull @jakirkham @isuruf @beckermr
This is finally ready. Would appreciate some review on this PR as the changes (e.g. re:deps, much less the build scripts) are relatively extensive.
cxx_compiler_version: # [unix] | ||
# need to downgrade on osx due to a bug that breaks the test suite | ||
- 10 # [osx] |
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.
This could use some further exploration (though I think it can come after)
- cmake | ||
- libgomp # [linux] | ||
- llvm-openmp # [osx or win] | ||
- autotools_clang_conda # [win] | ||
- llvm-openmp # [osx] |
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.
llvm-openmp
doesn't seem to be necessary on windows after all (even testing against other blas versions)
# On windows, faiss.lib is an "import library"; | ||
# Deleting it breaks the faiss-builds | ||
- if not exist %LIBRARY_LIB%\faiss.lib exit 1 # [win] |
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.
This comment can probably be improved; I tried deleting faiss.lib
during the build-lib.bat
, but then the cmake-invocation in build-pkg.bat
fails.
@h-vetinari, this looks fine to me! |
Planning to merge this in ~24h, if anyone from @conda-forge/core or the GPU side of things was still planning to have a look. |
Btw, I noticed that the
The mismatch I mean is that passing
CMake doesn't show how it's resolving this in the linux logs, I just saw this by accident on the windows side in #19 (so strictly speaking, it could also just be a cmake-on-windows thing, but wanted to double-check). CC @kkraus14 |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)Not sure why the regro bot didn't pick up the new version, but let's try building for it. The build system was refactored pretty extensively upstream (cf. facebookresearch/faiss#1313), and windows support has been added, so this will probably take a bit to get right.
Closes #2
Closes #18