Skip to content

Commit

Permalink
copy mingw import lib to OPENBLAS_ROOT for dynamic gfortran test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Aug 4, 2024
1 parent e7d27fb commit 2df815f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions tools/build_openblas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ make BINARY=$build_bits DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 \
MAX_STACK_ALLOC=2048 \
$interface_flags
make PREFIX=$openblas_root/$build_bits $interface_flags install
cp -f "*.dll.a" "$openblas_root/$build_bits/lib/"
DLL_BASENAME=libscipy_openblas${SYMBOLSUFFIX}${LIBNAMESUFFIX}

# OpenBLAS does not build a symbol-suffixed static library on Windows:
Expand Down
3 changes: 2 additions & 1 deletion tools/windows_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ set LDFLAGS=-lucrt -static -static-libgcc -Wl,--defsym,quadmath_snprintf=snprint
set MSYSTEM=UCRT64
set PLAT=x86_64
set START_DIR=d:\pypy_stuff\openblas-libs
rmdir /q /s c:\opt\64
set OPENBLAS_ROOT=c:\\opt
rmdir /q /s c:\opt\64
rem %BASH_PATH% -lc tools/build_openblas.sh
rem %BASH_PATH% -lc tools/build_gfortran.sh

0 comments on commit 2df815f

Please sign in to comment.