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
The code needs the quad precision pieces of the sleef library, which
29
-
is not available on most systems by default, so we have to generate
30
-
that first. The below assumes one has the required pieces to build
31
-
sleef (cmake and libmpfr-dev), and that one is in the package
32
-
directory locally.
28
+
The code needs the quad precision pieces of the sleef library, which is not available on most systems by default, so we have to generate that first. Choose the appropriate section below based on your operating system.
29
+
30
+
### Linux/Unix/macOS
31
+
32
+
The below assumes one has the required pieces to build sleef (cmake and libmpfr-dev), and that one is in the package directory locally.
1.**QBLAS Disabled**: QuadBLAS optimization is automatically disabled on Windows builds due to MSVC compatibility issues. This is handled by the `-DDISABLE_QUADBLAS` compiler flag.
148
+
149
+
2.**Visual Studio Version**: The instructions assume Visual Studio 2022. For other versions, adjust the generator string:
150
+
- VS 2019: `"Visual Studio 16 2019"`
151
+
- VS 2017: `"Visual Studio 15 2017"`
152
+
153
+
3.**Architecture**: The instructions are for x64. For x86 builds, change `-A x64` to `-A Win32`.
154
+
155
+
4.**Alternative SLEEF Location**: If you prefer to install SLEEF elsewhere, update all path references accordingly.
156
+
157
+
#### Windows Troubleshooting
158
+
-**Link errors**: Verify that `sleef.lib` and `sleefquad.lib` exist in `C:/sleef/lib/`
0 commit comments