We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4dde0 commit d3e0b1aCopy full SHA for d3e0b1a
tests/testing_utils.h
@@ -146,10 +146,12 @@ std::string get_platform_str() {
146
* versions. For now, there are these two platforms with tolerance
147
* files and we use the former with Clang on Mac and the later
148
* otherwise. */
149
-#if defined(__clang__) && defined(__APPLE__)
+#if defined(__clang__) && defined(__APPLE__) && defined(__arch64__)
150
return "clang-darwin-aarch64";
151
-#else
+#elif defined(__GNUG__) && !defined(__clang__) && defined(__linux__) && defined(__x86_64__)
152
return "gcc-linux-x86_64";
153
+#else
154
+ return "other";
155
#endif
156
}
157
0 commit comments