Skip to content

Conversation

@Lunderberg
Copy link
Contributor

These are required for compatibility with C++14, and resolve a link-time error that was observed in debug builds on g++-10. For release builds, the external linkage was optimized out, so the link-time error was avoided.

These are required for compatibility with C++14, and resolve a
link-time error that was observed in debug builds on `g++-10`.  For
release builds, the external linkage was optimized out, so the
link-time error was avoided.
@hgt312
Copy link
Contributor

hgt312 commented Feb 16, 2022

Good catch! Due to the error, fail to build on OSX today

@masahi
Copy link
Member

masahi commented Feb 16, 2022

cc @manupa-arm also #10147

Copy link
Contributor

@manupak manupak left a comment

Choose a reason for hiding this comment

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

Thanks for catching this!

@manupak
Copy link
Contributor

manupak commented Feb 16, 2022

Should we take in #10262 instead @Lunderberg ?
cc : @electriclilies

@Lunderberg
Copy link
Contributor Author

No strong preferences from me either way. #10262 is consistent with how string constants are defined elsewhere in TVM, but my preference is to keep them close to the context where they're used.

Since this one is still waiting on CI, I'd go with #10262 and closing #10272.

@Lunderberg
Copy link
Contributor Author

Closing, duplicate of #10262.

@Lunderberg Lunderberg closed this Feb 16, 2022
@Lunderberg Lunderberg deleted the pool_static_constexpr branch February 17, 2022 14:26
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.

4 participants