Skip to content

Fix build failure from using flatbuffer string_view and missing include - #223

Closed
GMNGeoffrey wants to merge 2 commits into
iree-org:masterfrom
GMNGeoffrey:string-view-fix
Closed

GMNGeoffrey wants to merge 2 commits into
iree-org:masterfrom
GMNGeoffrey:string-view-fix

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Dec 20, 2019 •

Copy link
Copy Markdown
Member

Flatbuffer string_view is only defined when using C++17 or using experimental flatbuffer string views. Upstream we're building with C++17, but our OSS CI is still on C++14.

Fortunately, CreateString can just take data and size directly. There's no need to create a view.

Also fixed a missing include so this makes the build green

@stellaraccident stellaraccident left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about that!

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

No worries. It looks like there are some other build failures, which I'll see if I can fix as well (looks like just missing includes). This just highlights the need to get the OSS build running on upstream presubmit!

@GMNGeoffrey GMNGeoffrey changed the title Fix build failure from using flatbuffer string_view Fix build failure from using flatbuffer string_view and missing include Dec 20, 2019
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Looks like there's still a test failing :-(

Given that this makes everything at least build, I'm going to merge it anyway even if the test is still failing.

@GMNGeoffrey
GMNGeoffrey deleted the string-view-fix branch December 31, 2019 00:25
stellaraccident pushed a commit that referenced this pull request Sep 24, 2023
* iree: ac34d7b [NFC] IREEInput/Util: Simplify loops with llvm range
helpers (#14334) (Sun Jul 9 05:59:00 2023 +0000)
* xla: 72c86ba00 Update TFRT dependency to use revision
http://github.com/tensorflow/runtime/commit/46664e9fe40d2a204bbc8b629a778cb8032fd8c1.
(Mon Jul 10 12:28:51 2023 -0700)
* jax: b19c63278 Merge pull request #16668 from
LenaMartens:check-cleanup (Mon Jul 10 09:41:50 2023 -0700)
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.

3 participants