[PYTHON] Compiling Triton in Release mode now...

This commit is contained in:
Philippe Tillet
2020-11-13 01:44:52 -05:00
committed by Philippe Tillet
parent 5d84fde733
commit 073fddffc1
3 changed files with 8 additions and 10 deletions

View File

@@ -55,7 +55,7 @@ class CMakeBuild(build_ext):
self.build_extension(ext)
def build_extension(self, ext):
self.debug = True
#self.debug = True
extdir = os.path.abspath(os.path.dirname(self.get_ext_fullpath(ext.path)))
# python directories
python_include_dirs = distutils.sysconfig.get_python_inc()
@@ -75,7 +75,7 @@ class CMakeBuild(build_ext):
'-DLLVM_CONFIG=' + find_llvm()]
# configuration
cfg = 'Debug' if self.debug else 'Release'
cfg = 'Debug'
cfg = 'Release'
build_args = ['--config', cfg]
if platform.system() == "Windows":