Fix build on win32 due to missing environ variable
This commit is contained in:
parent
0cccb3dec9
commit
268dc2466a
1 changed files with 1 additions and 1 deletions
|
|
@ -841,7 +841,7 @@ class Attr(object):
|
|||
#
|
||||
# Pick-up environ var
|
||||
#
|
||||
PTX_SUPPORT = os.environ['LLVMPY_PTX_SUPPORT']
|
||||
PTX_SUPPORT = os.environ.get('LLVMPY_PTX_SUPPORT', '')
|
||||
|
||||
def _parse_llvm_version(ver):
|
||||
import re
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue