Skip to content

Commit

Permalink
Unconditionally turn off cache to test build
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher committed Feb 10, 2024
1 parent 0300164 commit b8d4b16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sgkit/accelerate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from numba import guvectorize, jit

_DISABLE_CACHE = os.environ.get("SGKIT_DISABLE_NUMBA_CACHE", "1")
_DISABLE_CACHE = os.environ.get("SGKIT_DISABLE_NUMBA_CACHE", "0")

try:
CACHE_NUMBA = {"0": True, "1": False}[_DISABLE_CACHE]
Expand All @@ -15,7 +15,8 @@

DEFAULT_NUMBA_ARGS = {
"nopython": True,
"cache": CACHE_NUMBA,
# "cache": CACHE_NUMBA,
"cache": False,
}


Expand Down

0 comments on commit b8d4b16

Please sign in to comment.