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
Copy file name to clipboardExpand all lines: docs/install.md
+16-30Lines changed: 16 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -439,49 +439,35 @@ To then use the built OpenBLAS shared library in Visual Studio:
439
439
440
440
#### Windows on Arm
441
441
442
+
While OpenBLAS can be built with Microsoft VisualStudio (Community Edition or commercial), you would only be able to build for the GENERIC target
443
+
that does not use optimized assembly kernels, also the stock VisualStudio lacks the Fortran compiler necessary for building the LAPACK component.
444
+
It is therefore highly recommended to download the free LLVM compiler suite and use it to compile OpenBLAS outside of VisualStudio.
445
+
442
446
The following tools needs to be installed to build for Windows on Arm (WoA):
443
447
444
-
- Clang for Windows on Arm.
445
-
Find the latest LLVM build for WoA from [LLVM release page](https://releases.llvm.org/).
446
-
E.g: LLVM 12 build for WoA64 can be found [here](https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/LLVM-12.0.0-woa64.exe)
447
-
Run the LLVM installer and ensure that LLVM is added to environment PATH.
448
-
- Download and install classic Flang for Windows on Arm.
449
-
Classic Flang is the only available Fortran compiler for Windows on Arm for now.
450
-
A pre-release build can be found [here](https://github.com/kaadam/flang/releases/tag/v0.1)
451
-
There is no installer for classic flang and the zip package can be
452
-
extracted and the path needs to be added to environment `PATH`.
453
-
E.g., in PowerShell:
454
-
```
455
-
$env:Path += ";C:\flang_woa\bin"
456
-
```
448
+
- LLVM for Windows on Arm.
449
+
Find the latest LLVM build for WoA from [LLVM release page](https://releases.llvm.org/) - you want the package whose name ends in "woa64.exe".
450
+
(This may not always be present in the very latest point release, as building and uploading the binaries takes time.)
451
+
E.g: a LLVM 19 build for WoA64 can be found [here](https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.2/LLVM-19.1.2-woa64.exe).
452
+
Run the LLVM installer and ensure that LLVM is added to the environment variable PATH. (If you do not want to add it to the PATH, you will need to specify
453
+
both C and Fortran compiler to Make or CMake with their full path later on)
457
454
458
-
The following steps describe how to build the static library for OpenBLAS with and without LAPACK:
455
+
The following steps describe how to build the static library for OpenBLAS with either Make or CMake:
459
456
460
-
1. Build OpenBLAS static library with BLAS and LAPACK routines with Make:
0 commit comments