Skip to content

Commit 8ac3e3a

Browse files
semohrbrandonwillard
authored andcommitted
Updates for new double-underscore config settings
1 parent 73d4267 commit 8ac3e3a

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/arviz_compat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919
env:
2020
TEST_SUBSET: ${{ matrix.test-subset }}
21-
THEANO_FLAGS: floatX=${{ matrix.floatx }},gcc.cxxflags='-march=native'
21+
THEANO_FLAGS: floatX=${{ matrix.floatx }},gcc__cxxflags='-march=native'
2222
defaults:
2323
run:
2424
shell: bash -l {0}

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
runs-on: ${{ matrix.os }}
6060
env:
6161
TEST_SUBSET: ${{ matrix.test-subset }}
62-
THEANO_FLAGS: floatX=${{ matrix.floatx }},gcc.cxxflags='-march=native'
62+
THEANO_FLAGS: floatX=${{ matrix.floatx }},gcc__cxxflags='-march=native'
6363
defaults:
6464
run:
6565
shell: bash -l {0}

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ${{ matrix.os }}
1818
env:
1919
TEST_SUBSET: ${{ matrix.test-subset }}
20-
THEANO_FLAGS: floatX=${{ matrix.floatx }},gcc.cxxflags='-march=core2'
20+
THEANO_FLAGS: floatX=${{ matrix.floatx }},gcc__cxxflags='-march=core2'
2121
defaults:
2222
run:
2323
shell: bash -l {0}

pymc3/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def __set_compiler_flags():
3232
# Workarounds for Theano compiler problems on various platforms
3333
import theano
3434

35-
current = theano.config.gcc.cxxflags
36-
theano.config.gcc.cxxflags = f"{current} -Wno-c++11-narrowing"
35+
current = theano.config.gcc__cxxflags
36+
theano.config.gcc__cxxflags = f"{current} -Wno-c++11-narrowing"
3737

3838

3939
__set_compiler_flags()

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-
THEANO_FLAGS="floatX=${_FLOATX},gcc.cxxflags='-march=core2'" pytest -v --cov=pymc3 --cov-report=xml "$@" --cov-report term
6+
THEANO_FLAGS="floatX=${_FLOATX},gcc__cxxflags='-march=core2'" pytest -v --cov=pymc3 --cov-report=xml "$@" --cov-report term

0 commit comments

Comments
 (0)