You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
6.**QBLAS Disabled**: QuadBLAS optimization is automatically disabled on Windows builds due to MSVC compatibility issues. This is handled by the `-DDISABLE_QUADBLAS` compiler flag.
@@ -112,3 +113,58 @@ python -m pytest
112
113
- VS 2017: `"Visual Studio 15 2017"`
113
114
114
115
8.**Architecture**: The instructions are for x64. For x86 builds, change `-A x64` to `-A Win32`.
116
+
117
+
## Building with ThreadSanitizer (TSan)
118
+
119
+
This is a development feature to help detect threading issues. To build `numpy-quaddtype` with TSan enabled, follow these steps:
120
+
121
+
> Use of clang is recommended with machine NOT supporting `libquadmath` (like ARM64). Set the compiler to clang/clang++ before proceeding.
122
+
> ```bash
123
+
>export CC=clang
124
+
>export CXX=clang++
125
+
>```
126
+
127
+
1. Compile free-threaded CPython with TSan support. Follow the [Python Free-Threading Guide](https://py-free-threading.github.io/thread_sanitizer/#compile-free-threaded-cpython-with-tsan) for detailed instructions.
128
+
2. Create and activate a virtual environment using the TSan-enabled Python build.
0 commit comments