mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-06 09:17:11 +08:00
committed by
Edward Z. Yang
parent
8faffef321
commit
67612cba09
6
setup.py
6
setup.py
@ -312,7 +312,11 @@ extra_link_args = []
|
||||
extra_compile_args = ['-std=c++11', '-Wno-write-strings',
|
||||
# Python 2.6 requires -fno-strict-aliasing, see
|
||||
# http://legacy.python.org/dev/peps/pep-3123/
|
||||
'-fno-strict-aliasing']
|
||||
'-fno-strict-aliasing',
|
||||
# Clang has an unfixed bug leading to spurious missing
|
||||
# braces warnings, see
|
||||
# https://bugs.llvm.org/show_bug.cgi?id=21629
|
||||
'-Wno-missing-braces']
|
||||
|
||||
cwd = os.path.dirname(os.path.abspath(__file__))
|
||||
lib_path = os.path.join(cwd, "torch", "lib")
|
||||
|
||||
Reference in New Issue
Block a user