Skip to content

Duplicate OPs fix for Android / Linux. - #14

Merged
bensternlieb merged 7 commits into
masterfrom
ops-fix
Apr 13, 2020
Merged

bensternlieb merged 7 commits into
masterfrom
ops-fix

Conversation

@bensternlieb

@bensternlieb bensternlieb commented Apr 12, 2020 •

Copy link
Copy Markdown

Should have read @tgafner’s BUTTERFLY.md more carefully - but anyway, seems the “duplicate operator” problem seen on Android and Linux is likely due to the fact that the iOS build sets the macro ANDROID_TYPES_SLIM to slim down the template instantiations to a minimum number of types for library size reduction while the Android (weirdly) and LInux builds do not.

Our application needs a couple of other types, which folks have added over time, but never with any qualifying wrapper (assuming we’re just compiling for iOS). Again, the Makefiles for both Linux and Android, do not use this slimming macro - and hence the added OPs conflict/Overlap with the full OP set. I’ve wrapped these duplicates in qualifying blocks as follows to remove the conflict so that builds should work regardless of platform. @AlonDaks, @yangliupku, @tomergafner

Note: one exception here - the two "less" op changes are a fix to a plain old duplicate bug.

@nathansilberman

Copy link
Copy Markdown

@bensternlieb : Is there a change we can make to the Readme.MD that will make this more obvious for future readers?

@bensternlieb
bensternlieb merged commit 409a5ff into master Apr 13, 2020
@bensternlieb
bensternlieb deleted the ops-fix branch April 13, 2020 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants