Skip to content

Commit

Permalink
build with BUFFERSIZE=20
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Nov 12, 2020
1 parent 0bac489 commit e643f7f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tools/build_openblas.sh
Expand Up @@ -62,13 +62,13 @@ fi

# Build name for output library from gcc version and OpenBLAS commit.
GCC_TAG="gcc_$(gcc -dumpversion | tr .- _)"
OPENBLAS_VERSION=$(git describe --tags)
OPENBLAS_VERSION=$(git describe --tags)-buffersize20
# Build OpenBLAS
# Variable used in creating output libraries
export LIBNAMESUFFIX=${OPENBLAS_VERSION}-${GCC_TAG}
make BINARY=$BUILD_BITS DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 \
NUM_THREADS=24 NO_WARMUP=1 NO_AFFINITY=1 CONSISTENT_FPCSR=1 \
BUILD_LAPACK_DEPRECATED=1 TARGET=PRESCOTT \
BUILD_LAPACK_DEPRECATED=1 TARGET=PRESCOTT BUFFERSIZE=20 \
COMMON_OPT="$cflags" \
FCOMMON_OPT="$fflags" \
MAX_STACK_ALLOC=2048 \
Expand Down
6 changes: 3 additions & 3 deletions tools/upload_to_anaconda_staging.sh
Expand Up @@ -6,7 +6,7 @@ our_wd=$(cygpath "$START_DIR")
cd $our_wd

pushd OpenBLAS
VERSION=$(git describe --tags)
VERSION=$(git describe --tags)-buffersize20
popd

if [ "$OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN" == "" ]; then
Expand All @@ -17,8 +17,8 @@ else

anaconda -t $OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN upload \
--no-progress --force -u multibuild-wheels-staging \
-t file -p "openblas-libs" -v "$VERSION" \
-t file -p "openblas-libs" -v"$VERSION" \
-d "OpenBLAS for multibuild wheels" \
-s "OpenBLAS for multibuild wheels" \
builds/openblas*.zip
fi
fi
6 changes: 3 additions & 3 deletions travis-ci/build_steps.sh
Expand Up @@ -124,10 +124,10 @@ function do_build_lib {
set -x
(cd OpenBLAS \
&& patch_source \
&& make DYNAMIC_ARCH=1 USE_OPENMP=0 NUM_THREADS=64 BINARY=$bitness $interface64_flags $target_flags > /dev/null \
&& make BUFFERSIZE=20 DYNAMIC_ARCH=1 USE_OPENMP=0 NUM_THREADS=64 BINARY=$bitness $interface64_flags $target_flags > /dev/null \
&& make PREFIX=$BUILD_PREFIX $interface64_flags install )
stop_spinner
local version=$(cd OpenBLAS && git describe --tags --abbrev=8)
local version=$(cd OpenBLAS && git describe --tags --abbrev=8)-buffersize20
local plat_tag=$(get_distutils_platform_ex $plat)
local suff=""
[ -n "$suffix" ] && suff="-$suffix"
Expand Down Expand Up @@ -155,7 +155,7 @@ function upload_to_anaconda {
anaconda -t $OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN upload \
--no-progress --force -u multibuild-wheels-staging \
-t file -p "openblas-libs" \
-v "$(cd OpenBLAS && git describe --tags --abbrev=8)" \
-v "$(cd OpenBLAS && git describe --tags --abbrev=8)-buffersize20" \
-d "OpenBLAS for multibuild wheels" \
-s "OpenBLAS for multibuild wheels" \
libs/openblas*.tar.gz
Expand Down

0 comments on commit e643f7f

Please sign in to comment.