Note Book : OpenBLAS Install On Windows10

Opencv에서 CUDA를 활성화 할 때 필요합니다.

참조
htps : // 기주 b. 코 m / ぃ あ ぃ / 오 펜 B ぁ S / ぃ き / 호 w - 우세 - 오 펜 B ぁ

환경
・windows 10
・cpu ryzen 3700x
· gpu ncvidia-rtx3900

software
・anaconda
· ninja
・cmake
・git
· opencv-4.5.0
· 개미 1.8.2
・open-jdk-15
・cuda 11
・visual studio 2019

cmd.exe
conda config --add channels conda-forge
conda install -y -c isuruf kitware-ninja
conda install -y cmake flang clangdev perl libflang
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"

conda config --add channels conda-forge
conda install -y -c isuruf kitware-ninja
conda install -y cmake flang clangdev perl libflang
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
cd C:/tools/openblas
git clone https://github.com/xianyi/OpenBLAS.git
cd OpenBLAS
mkdir build
cd build
@rem 環境に合わせて
set CONDA_PREFIX=C:\Users\admin\anaconda3
set LIB=%CONDA_PREFIX%\Library\lib;%LIB%
set CPATH=%CONDA_PREFIX%\Library\include;%CPATH%
cmake .. -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_WITHOUT_LAPACK=no -DNOFORTRAN=0 -DDYNAMIC_ARCH=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tools/opt/openblas ..
cmake --build . --config RELEASE --target intall

캡처
git clone htps : // 기주 b. 코m/ぃ아니ぃ/오펜BぁS. 기 t


conda update -n base conda



conda config --add channels conda-forge



conda install -y cmake flang clangdev perl libflang



conda install -y -c isuruf kitware-ninja



"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"



set CONDA_INSTALL_LOCN=C:\Users\admin\anaconda3
set LIB=%CONDA_INSTALL_LOCN%\Library\lib;%LIB%
set CPATH=%CONDA_INSTALL_LOCN%\Library\include;%CPATH%

cmake .. -G "Ninja"-DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_WITHOUT_LAPACK=no -DNOFORTRAN=0 -DDYNAMIC_ARCH= opt/openblas ..

좋은 웹페이지 즐겨찾기