Skip to content

Commit 673e682

Browse files
committed
use trapping-math with clang
1 parent 43307ab commit 673e682

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/posix.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
os: [ubuntu-latest, macos-13]
26+
os: [ubuntu-latest, macos-latest]
2727
PLAT: [i686, x86_64]
2828
INTERFACE64: ['0', '1']
2929
MB_ML_VER: ['2014']
3030
MB_ML_LIBC: ['manylinux']
3131
include:
32-
- os: macos-13
32+
- os: macos-latest
3333
PLAT: arm64
3434
INTERFACE64: '1'
35-
- os: macos-13
35+
- os: macos-latest
3636
PLAT: arm64
3737
INTERFACE64: '0'
3838
- os: ubuntu-latest
@@ -67,7 +67,7 @@ jobs:
6767

6868
exclude:
6969
- PLAT: i686
70-
os: macos-13
70+
os: macos-latest
7171
- PLAT: i686
7272
INTERFACE64: '1'
7373
env:
@@ -94,7 +94,7 @@ jobs:
9494
echo "DOCKER_TEST_IMAGE=$(echo multibuild/xenial_${{ matrix.PLAT}})" >> $GITHUB_ENV;
9595
9696
- uses: maxim-lobanov/setup-xcode@v1.6.0
97-
if: ${{ matrix.os == 'macos-13' }}
97+
if: ${{ matrix.os == 'macos-latest' }}
9898
with:
9999
xcode-version: '14.3'
100100

@@ -137,7 +137,7 @@ jobs:
137137
version=$(cd OpenBLAS && git describe --tags --abbrev=8 | sed -e "s/^v\(.*\)-g.*/\1/" | sed -e "s/-/./g")
138138
sed -e "s/^version = .*/version = \"${version}\"/" -i.bak pyproject.toml
139139
fi
140-
if [ "macos-13" == "${{ matrix.os }}" ]; then
140+
if [ "macos-latest" == "${{ matrix.os }}" ]; then
141141
source tools/build_wheel.sh
142142
else
143143
libc=${MB_ML_LIBC:-manylinux}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
99
[project]
1010
name = "scipy-openblas64"
1111
# v0.3.30
12-
version = "0.3.30.0.0"
12+
version = "0.3.30.0.1"
1313
requires-python = ">=3.7"
1414
description = "Provides OpenBLAS for python packaging"
1515
readme = "README.md"

tools/build_steps.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ function do_build_lib {
168168
Darwin-arm64)
169169
local bitness=64
170170
local target="VORTEX"
171+
CFLAGS="$CFLAGS -ftrapping-math"
171172
;;
172173
*-s390x)
173174
local bitness=64

0 commit comments

Comments
 (0)