Skip to content

Commit

Permalink
add SYMBOLPREFIX to 'make install'
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Oct 29, 2023
1 parent 517d31e commit 830a682
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tools/build_openblas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ make BINARY=$build_bits DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 \
MAX_STACK_ALLOC=2048 \
SYMBOLPREFIX=scipy_ \
$interface64_flags
make PREFIX=$openblas_root/$build_bits $interface64_flags install
make PREFIX=$openblas_root/$build_bits $interface64_flags \
. SYMBOLPREFIX=scipy_ install
DLL_BASENAME=libopenblas${SYMBOLSUFFIX}_${LIBNAMESUFFIX}
if [ "$if_bits" == "64" ]; then
# OpenBLAS does not build a symbol-suffixed static library on Windows:
Expand Down
2 changes: 1 addition & 1 deletion tools/build_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function do_build_lib {
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
USE_OPENMP=0 NUM_THREADS=64 SYMBOLPREFIX=scipy_ \
BINARY=$bitness $interface64_flags $target_flags > /dev/null
make PREFIX=$BUILD_PREFIX $interface64_flags install
make PREFIX=$BUILD_PREFIX $interface64_flags SYMBOLPREFIX=scipy_ install
popd
stop_spinner
if [ "$nightly" = "1" ]; then
Expand Down

0 comments on commit 830a682

Please sign in to comment.