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
+23-12Lines changed: 23 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -711,25 +711,36 @@ to the minimum iOS version you want to target and execute this file to build the
711
711
712
712
### HarmonyOS
713
713
714
-
For this target you will need the cross-compiler toolchain package by Huawei, which contains solutions for both Windows and Linux. Only the Linux-based
715
-
toolchain has been tested so far, but the following instructions may apply similarly to Windows:
716
-
717
-
Download https://repo.huaweicloud.com/harmonyos/os/4.1.1-Release/ohos-sdk-windows_linux-public.tar.gz (or whatever newer version may be available in the future). Use tar xvf ohos-sdk-windows_linux_public.tar.gz to unpack it somewhere on your system. This will create a folder named "ohos-sdk" with subfolders "linux" and "windows". In the linux one you will find a ZIP archive named "native-linux-x64-4.1.7.8-Release.zip" - you need to unzip this where you want to
718
-
install the cross-compiler, for example in /opt/ohos-sdk.
714
+
For this target you will need the cross-compiler toolchain package by Huawei,
715
+
which contains solutions for both Windows and Linux. Only the Linux-based
716
+
toolchain has been tested so far, but the following instructions may apply
or whatever newer version may be available in the future). Use `tar -xvf
721
+
ohos-sdk-windows_linux_public.tar.gz` to unpack it somewhere on your system.
722
+
This will create a folder named "ohos-sdk" with subfolders "linux" and
723
+
"windows". In the linux one you will find a ZIP archive named
724
+
`native-linux-x64-4.1.7.8-Release.zip` - you need to unzip this where you want
725
+
to install the cross-compiler, for example in `/opt/ohos-sdk`.
719
726
720
727
In the directory where you unpacked OpenBLAS, create a build directory for cmake, and change into it :
721
-
```
728
+
```bash
722
729
mkdir build
723
730
cd build
724
731
```
725
-
Use the version of `cmake` that came with the SDK, and specify the location of its toolchain file as a cmake option. Also set the build target for OpenBLAS to ARMV8 and specify NOFORTRAN=1 (at least as of version 4.1.1, the SDK contains no Fortran compiler):
0 commit comments