[libcxx-commits] [libcxxabi] [libcxxabi][test][VE] Relax test configucation (PR #67387)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 27 11:45:50 PDT 2023


================
@@ -26,15 +26,21 @@
 
 using namespace __cxxabiv1;
 
+#ifndef __ve__
----------------
ldionne wrote:

We very much want to avoid platform specific behavior like this in our tests. This doesn't scale since we need to support 10s of platforms which often have small variations like this. We do have some platform-specific behavior in a few places, but we try to limit it where it is truly necessary.

We could perhaps do something with `std::thread::hardware_concurrency()` -- what does that return on your platform?

https://github.com/llvm/llvm-project/pull/67387


More information about the libcxx-commits mailing list