-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[kfr] Update to 6.0.3 and disable cross-compiling detection #41436
base: master
Are you sure you want to change the base?
[kfr] Update to 6.0.3 and disable cross-compiling detection #41436
Conversation
4692bd3
to
1afc54e
Compare
6a8d8d3
to
50b82b2
Compare
bdde581
to
fcf620f
Compare
endif () | ||
endif () | ||
|
||
-if (KFR_ARCH IN_LIST DETECT_NAMES AND NOT CMAKE_CROSSCOMPILING) |
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.
Can you explain what this change does? (I'm not saying I think there's anything wrong with it, I'm just not sure how to evaluate its correctness, so I'm trying to understand the problem you're fixing)
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 block will detect target architecture and generate header file for native-compiling. Although it will not fail the compilation, it might introduce additional features depends on compiler instead of determinate features.
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.
.. additional features that depend on compiler on exact build machine CPU ?!
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.
Sorry I didn't look at the source code carefully.
The main intention here is to prevent using different source code when cross-compiling.
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.
The main intention here is to prevent using different source code when cross-compiling.
That doesn't appear to be what this code does?
Can we get upstream to comment here? It isn't clear that the resulting port does what its users expect it to do....
fcf620f
to
4731c4f
Compare
4731c4f
to
1f32b3e
Compare
1f32b3e
to
791cce4
Compare
"description": "Fast, modern C++ DSP framework.", | ||
"homepage": "https://www.kfr.dev/", | ||
"license": "GPL-2.0", | ||
"supports": "!(arm | linux | xbox)", | ||
"license": "GPL-2.0-or-later", |
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.
I don't see anywhere where this says or later, can you point to where you see that?
I think GPL-2.0-only OR GPL-3.0-only
would work...
Related #40503
!arm
and!linux
from the supports!(arm64 & windows)
to the supports, since no_M_ARM64
detected in https://github.com/kfrlib/kfr/blob/6.0.3/include/kfr/cident.h#L12 forcl
. It built withclang-cl
upstreamx64-android
fromci.baseline
Checklist
Any patches that are no longer applied are deleted from the port's directory../vcpkg x-add-version --all
and committing the result.Test
The port usage tests pass with the following triplets:
CMAKE_CROSSCOMPILING
)