-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[arrayfire] Remove forge and graphics deps from port #15027
[arrayfire] Remove forge and graphics deps from port #15027
Conversation
90ba7f0
to
56c483b
Compare
56c483b
to
b65a29d
Compare
@jacobkahn ,All features test passed with x64-windows |
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, thanks for your contribution!
@strega-nil — can this be merged? :) |
LGTM, personally |
What effect does this have on someone who tries to install forge and arrayfire at the same time? Will they try to install the same things? (I tried to test this myself but failed because I don't have an intel mkl...) |
@BillyONeal — @9prady9 and @umar456 can provide more clarity and detail on this, but since Forge is runtime dependency and the Forge commit downloaded here mirrors the commit in the Forge vcpkg port, the library will be The only reason Forge is required in this case is because of the headers - those are used ahead of time to construct the particular symbols that ArrayFire will search for after opening libforge. That happens at compile time rather than runtime for efficiency. The solution in this PR isn't ideal, but it at least gives users the option of not installing the graphics dependencies if they aren't as well-supported for their platform (see the issue I'm referencing above). The headers are needed to build even if libforge isn't going to be used. If #14864 is resolved and |
The problem is that if the port |
@BillyONeal — ArrayFire never builds or installs |
I see, sounds good then. Thanks! |
Thanks for your contribution! |
Removes the graphics library build from the port since it relies on
forge
which relies onfontconfig
, which is currently broken on some platforms. cc @9prady9 @umar456@JonLiu1993 this is a minor change, but I'll again need help testing on
x64-windows
. Thanks again.Until #14864 is fixed, resolves build issues.
No changes. Tested
x64-linux
.Yes