summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuveer Devulapalli <raghuveer.devulapalli@intel.com>2023-02-07 14:50:47 -0800
committerRaghuveer Devulapalli <raghuveer.devulapalli@intel.com>2023-02-07 14:50:47 -0800
commitd07d5584fc63df10025190a4ea38c4863c1b1723 (patch)
tree2a4a2d074e3b3770bb592228c757cf6860294f76
parent472a47f8ea9aa9ffe933c15ac4c0c148570b1781 (diff)
downloadnumpy-d07d5584fc63df10025190a4ea38c4863c1b1723.tar.gz
Disable on CYGWIN
-rw-r--r--numpy/core/src/npysort/quicksort.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/src/npysort/quicksort.cpp b/numpy/core/src/npysort/quicksort.cpp
index 625fdebbb..7497ebaa3 100644
--- a/numpy/core/src/npysort/quicksort.cpp
+++ b/numpy/core/src/npysort/quicksort.cpp
@@ -69,9 +69,9 @@
#define SMALL_MERGESORT 20
#define SMALL_STRING 16
-// Temporarily disable AVX512 sorting on WIN32 until we can figure
-// out why it has test failures
-#ifdef _MSC_VER
+// Temporarily disable AVX512 sorting on WIN32 and CYGWIN until we can figure
+// out why it has test failures
+#if defined(_MSC_VER) || defined(__CYGWIN__)
template<typename T>
inline bool quicksort_dispatch(T*, npy_intp)
{
@@ -101,7 +101,7 @@ inline bool quicksort_dispatch(T *start, npy_intp num)
}
return false;
}
-#endif // _MSC_VER
+#endif // _MSC_VER || CYGWIN
/*
*****************************************************************************