Skip to content

Commit

Permalink
Doc: Update Windows installation instructions (#2153)
Browse files Browse the repository at this point in the history
See #2151
  • Loading branch information
dweindl authored Jul 30, 2023
1 parent 8f2def6 commit 16e1da4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions documentation/python_installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ You will also need to define two environment variables:

.. code-block:: text
BLAS_LIBS="/LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib"
BLAS_CFLAGS="/IC:/BLAS/OpenBLAS"
BLAS_LIBS="-LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib"
BLAS_CFLAGS="-IC:/BLAS/OpenBLAS"
One way to do that is to run a PowerShell script with the following commands:

.. code-block:: text
[System.Environment]::SetEnvironmentVariable("BLAS_LIBS", "/LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib", [System.EnvironmentVariableTarget]::User)
[System.Environment]::SetEnvironmentVariable("BLAS_LIBS", "/LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib", [System.EnvironmentVariableTarget]::Process)
[System.Environment]::SetEnvironmentVariable("BLAS_LIBS", "-LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib", [System.EnvironmentVariableTarget]::User)
[System.Environment]::SetEnvironmentVariable("BLAS_LIBS", "-LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib", [System.EnvironmentVariableTarget]::Process)
[System.Environment]::SetEnvironmentVariable("BLAS_CFLAGS", "-IC:/BLAS/OpenBLAS/include/openblas", [System.EnvironmentVariableTarget]::User)
[System.Environment]::SetEnvironmentVariable("BLAS_CFLAGS", "-IC:/BLAS/OpenBLAS/include/openblas", [System.EnvironmentVariableTarget]::Process)
Expand Down

0 comments on commit 16e1da4

Please sign in to comment.