-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[armadillo] Add dependent port superlu on osx #11063
[armadillo] Add dependent port superlu on osx #11063
Conversation
@strega-nil Please merge this PR first. Thanks. |
Why superlu is a dependency (and not a feature maybe) for armadillo only for osx? Also, I'm not sure superlu port is ok. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Like @cenit pointed out superlu definitely needs to not install OpenBLAS on macOS and use the Accelerate framework instead. Looking at the doc @JackBoosY is quoting from I'm also surprised we don't need superlu on other platforms. Perhaps OpenBLAS provides some of the same functions as superlu (OpenBLAS is known to do that kind of stuff). |
@cbezault Exactly. Please do not merge confused pr only to apparently fix things. |
It doesn't seem like a confused PR, it seems like a PR correctly documenting the status quo, since the only way this passed before was accidentally getting superlu on the box first? |
|
|
|
Other ports vendored superlu. For example |
I think this is not correct; it works fine without updating armadillo right now on my macbook, this seems like an issue with a different port that's getting installed. Can we just skip it in CI for now and try and figure it out later? |
@strega-nil You are the mac wizard :) |
A vendored superlu is a plausible explanation for what's going on but I have to agree with @cenit, it's just an unknown right now. I'd rather see this port get skipped and we actually fix it right. |
Armadillo's CMakeLists.txt probably needs to be patched to put all those dependencies behind an option BLAS and LAPACK are already patched |
#11091 just adds to the baseline. |
Since this is the underlying issue causing the mlpack:x64-osx regression, I've added a patch that disables all the dynamic dependency enablement. Through future PRs, these individual dependencies can be reenabled via features :) |
|
It is one reason. The other reason is that some port is vendoring SuperLU. So somebody needs to find the port doing it |
It's part of the 'microsoft.vcpkg' check now :) |
Official document:
Related: #10767 #11037 #11018 #10476 #11016 #11036 #11020 #10295 #8871 #11058 #11017 #11057 #9550 #11010 #11055 #11057 #11058 #10943.