Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- cron: '0 0 * * 0'

env:
OPENBLAS_COMMIT: "v0.3.30"
OPENBLAS_COMMIT: "585e6d06802a0"
MACOSX_DEPLOYMENT_TARGET: 10.9

jobs:
Expand All @@ -28,8 +28,8 @@ jobs:
- { os: ubuntu-latest, PLAT: x86_64, INTERFACE64: '0', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}
- { os: ubuntu-latest, PLAT: x86_64, INTERFACE64: '1', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}

- { os: macos-latest, PLAT: x86_64, INTERFACE64: '0', MB_ML_LIBC: macosx}
- { os: macos-latest, PLAT: x86_64, INTERFACE64: '1', MB_ML_LIBC: macosx}
- { os: macos-15-intel, PLAT: x86_64, INTERFACE64: '0', MB_ML_LIBC: macosx}
- { os: macos-15-intel, PLAT: x86_64, INTERFACE64: '1', MB_ML_LIBC: macosx}

- { os: macos-latest, PLAT: arm64, INTERFACE64: '0', MB_ML_LIBC: macosx}
- { os: macos-latest, PLAT: arm64, INTERFACE64: '1', MB_ML_LIBC: macosx}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ main ]

env:
OPENBLAS_COMMIT: "v0.3.30"
OPENBLAS_COMMIT: "585e6d06802a0"
OPENBLAS_ROOT: "c:\\opt"
# Preserve working directory for calls into bash
# Without this, invoking bash will cd to the home directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch: null

env:
OPENBLAS_COMMIT: "v0.3.30"
OPENBLAS_COMMIT: "585e6d06802a0"
OPENBLAS_ROOT: "c:\\opt"
# Preserve working directory for calls into bash
# Without this, invoking bash will cd to the home directory
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "OpenBLAS"]
path = OpenBLAS
url = https://github.com/xianyi/OpenBLAS.git
[submodule "gfortran-install"]
path = gfortran-install
url = https://github.com/MacPython/gfortran-install.git
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ env:
global:
# The archive that gets built has name from ``git describe`` on this
# commit.
- OPENBLAS_COMMIT: "v0.3.30"
- OPENBLAS_COMMIT: "585e6d06802a0"

dist: jammy
services: docker
Expand Down
1 change: 1 addition & 0 deletions gfortran-install
Submodule gfortran-install added at 3dd38d
61 changes: 0 additions & 61 deletions patches/0001-backout-PR-4741.patch

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "scipy-openblas64"
# v0.3.30
version = "0.3.30.0.5"
version = "0.3.30.317.0"
requires-python = ">=3.7"
description = "Provides OpenBLAS for python packaging"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion tools/build_objconv.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
echo "Building objconv..."
set -e -x
unzip source.zip
g++ -O1 -o objconv *.cpp
g++ -O1 -Wno-deprecated-declarations -o objconv *.cpp
20 changes: 14 additions & 6 deletions tools/build_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,17 @@ function before_build {
# get_macpython_environment ${MB_PYTHON_VERSION} venv
python3.9 -m venv venv
source venv/bin/activate
alias gfortran=gfortran-15
# Since install_fortran uses `uname -a` to determine arch,
# force the architecture
arch -${PLAT} bash -s << EOF
source ${ROOT_DIR}/gfortran-install/gfortran_utils.sh
install_gfortran
EOF

echo GFORTRAN
which gfortran
gfortran --version
echo --------
# Deployment target set by gfortran_utils
echo "Deployment target $MACOSX_DEPLOYMENT_TARGET"

Expand All @@ -50,18 +60,16 @@ function before_build {

function clean_code {
set -ex
# Copied from common_utils.sh, with added debugging
local build_commit=$1
[ -z "$build_commit" ] && echo "build_commit not defined" && exit 1
git submodule update --init --recursive
pushd OpenBLAS
git fetch origin --tags
echo after git fetch origin
git checkout $build_commit
echo after git checkout $build_commit
git clean -fxd
git clean -fxd
echo after git clean
git submodule update --init --recursive
echo after git submodule update
popd
}

Expand Down Expand Up @@ -152,7 +160,7 @@ function do_build_lib {
local target="CORE2"
# Pick up the gfortran runtime libraries
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
CFLAGS="$CFLAGS -arch x86_64"
export CFLAGS="$CFLAGS -arch x86_64 -Wno-shift-op-parentheses -Wno-logical-op-parentheses -Wno-deprecated-declarations"
export SDKROOT=${SDKROOT:-$(xcrun --show-sdk-path)}
;;
*-i686)
Expand Down
183 changes: 0 additions & 183 deletions tools/gfortran_utils.sh

This file was deleted.

Loading