Skip to content

Commit 4f0b0ef

Browse files
committed
Shouldn't have to set PyTensor march flag
1 parent 0efba5c commit 4f0b0ef

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
runs-on: ${{ matrix.os }}
147147
env:
148148
TEST_SUBSET: ${{ matrix.test-subset }}
149-
PYTENSOR_FLAGS: floatX=${{ matrix.floatx }},gcc__cxxflags='-march=native'
149+
PYTENSOR_FLAGS: floatX=${{ matrix.floatx }}
150150
defaults:
151151
run:
152152
shell: bash -leo pipefail {0}
@@ -196,7 +196,7 @@ jobs:
196196
runs-on: ${{ matrix.os }}
197197
env:
198198
TEST_SUBSET: ${{ matrix.test-subset }}
199-
PYTENSOR_FLAGS: floatX=${{ matrix.floatx }},gcc__cxxflags='-march=core2'
199+
PYTENSOR_FLAGS: floatX=${{ matrix.floatx }}
200200
defaults:
201201
run:
202202
shell: cmd /C call {0}
@@ -256,7 +256,7 @@ jobs:
256256
runs-on: ${{ matrix.os }}
257257
env:
258258
TEST_SUBSET: ${{ matrix.test-subset }}
259-
PYTENSOR_FLAGS: floatX=${{ matrix.floatx }},gcc__cxxflags='-march=native'
259+
PYTENSOR_FLAGS: floatX=${{ matrix.floatx }}
260260
defaults:
261261
run:
262262
shell: bash -leo pipefail {0}
@@ -306,7 +306,7 @@ jobs:
306306
runs-on: ${{ matrix.os }}
307307
env:
308308
TEST_SUBSET: ${{ matrix.test-subset }}
309-
PYTENSOR_FLAGS: floatX=${{ matrix.floatx }},gcc__cxxflags='-march=native'
309+
PYTENSOR_FLAGS: floatX=${{ matrix.floatx }}
310310
defaults:
311311
run:
312312
shell: bash -leo pipefail {0}
@@ -352,7 +352,7 @@ jobs:
352352
runs-on: ${{ matrix.os }}
353353
env:
354354
TEST_SUBSET: ${{ matrix.test-subset }}
355-
PYTENSOR_FLAGS: floatX=${{ matrix.floatx }},gcc__cxxflags='-march=core2'
355+
PYTENSOR_FLAGS: floatX=${{ matrix.floatx }}
356356
defaults:
357357
run:
358358
shell: cmd /C call {0}

scripts/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
set -e
44

55
_FLOATX=${FLOATX:=float64}
6-
PYTENSOR_FLAGS="floatX=${_FLOATX},gcc__cxxflags='-march=core2'" pytest -v --cov=pymc --cov-report=xml "$@" --cov-report term
6+
PYTENSOR_FLAGS="floatX=${_FLOATX}" pytest -v --cov=pymc --cov-report=xml "$@" --cov-report term

0 commit comments

Comments
 (0)