Skip to content

Commit

Permalink
Set environment variables to workaround conda/conda-build#3993
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy committed Jun 27, 2021
1 parent 3bbf3c4 commit e6f05a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions recipe/bld-scipy.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@echo on
REM these are done automatically for openblas by numpy.distutils, but
REM not for our blas libraries
echo %LIBRARY_LIB%\blas.lib > %LIBRARY_LIB%\blas.fobjects
Expand All @@ -7,6 +8,14 @@ echo %LIBRARY_LIB%\cblas.lib > %LIBRARY_LIB%\cblas.cobjects
echo %LIBRARY_LIB%\lapack.lib > %LIBRARY_LIB%\lapack.fobjects
echo %LIBRARY_LIB%\lapack.lib > %LIBRARY_LIB%\lapack.cobjects

REM Set a few environment variables that are not set due to
REM https://github.com/conda/conda-build/issues/3993
set PIP_NO_BUILD_ISOLATION=False
set PIP_NO_DEPENDENCIES=True
set PIP_IGNORE_INSTALLED=True
set PIP_NO_INDEX=True
set PYTHONDONTWRITEBYTECODE=True

REM Use the G77 ABI wrapper everywhere so that the underlying blas implementation
REM can have a G77 ABI (currently only MKL)
set SCIPY_USE_G77_ABI_WRAPPER=1
Expand Down

0 comments on commit e6f05a9

Please sign in to comment.