Skip to content
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

nvcc compiler should be EDG-based, but fails test #1818

Merged
merged 1 commit into from
Aug 13, 2020

Conversation

gsjaardema
Copy link
Contributor

Our nvcc compilers (10.1.243 and 9.2.X) do not define the correct value for FMT_USE_UDL_TEMPLATE and then end up with an error later on in the build. Explicitly search for __NVCC__ symbol not being defined. Might want to instead use FMT_NVCC or some other check, but the raw __EDG_VERSION__ check is not working correctly for nvcc.

I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.

Our nvcc compilers (10.1.243 and 9.2.X) do not define the correct value for `FMT_USE_UDL_TEMPLATE` and then end up with an error later on in the build.  Explicitly search for `__NVCC__` symbol not being defined.   Might want to instead use `FMT_NVCC` or some other check, but the raw `__EDG_VERSION__` check is not working correctly for nvcc.
@vitaut vitaut merged commit e204df0 into fmtlib:master Aug 13, 2020
@vitaut
Copy link
Contributor

vitaut commented Aug 13, 2020

Thank you!

facebook-github-bot pushed a commit to facebookarchive/profilo that referenced this pull request Aug 18, 2020
Summary: Add PRs [#1808](fmtlib/fmt#1808), [#1812](fmtlib/fmt#1812), [#1816](fmtlib/fmt#1816), [#1818](fmtlib/fmt#1818) to improve cross-platform compatibility.

Reviewed By: stepancheg

Differential Revision: D23154350

fbshipit-source-id: 42f3781f70d376e1da2bcf34cb89a56f431371e4
EduardoCostaom pushed a commit to EduardoCostaom/profilo that referenced this pull request Nov 2, 2022
Summary: Add PRs [#1808](fmtlib/fmt#1808), [#1812](fmtlib/fmt#1812), [#1816](fmtlib/fmt#1816), [#1818](fmtlib/fmt#1818) to improve cross-platform compatibility.

Reviewed By: stepancheg

Differential Revision: D23154350

fbshipit-source-id: 42f3781f70d376e1da2bcf34cb89a56f431371e4
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