From e6f05a9013e240313c928ae27e7d97bf1a832552 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Mon, 21 Jun 2021 20:49:11 +0200 Subject: [PATCH] Set environment variables to workaround https://github.com/conda/conda-build/issues/3993 --- recipe/bld-scipy.bat | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/recipe/bld-scipy.bat b/recipe/bld-scipy.bat index b702471b..c7cd7cc0 100644 --- a/recipe/bld-scipy.bat +++ b/recipe/bld-scipy.bat @@ -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 @@ -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