Force use of clang for compilation for Debian

This commit is contained in:
Steven Robertson 2017-05-15 00:38:52 -07:00
parent f58289af53
commit 3528cd1da4

View File

@ -93,7 +93,7 @@ def assemble_code(*libs):
map(go, libs) map(go, libs)
return ''.join(sum(zip(*out), ())) return ''.join(sum(zip(*out), ()))
DEFAULT_CMP_OPTIONS = ('-use_fast_math', '-lineinfo') DEFAULT_CMP_OPTIONS = ('-use_fast_math', '-lineinfo', '-ccbin', 'clang')
DEFAULT_SAVE_KERNEL = True DEFAULT_SAVE_KERNEL = True
def compile(name, src, opts=DEFAULT_CMP_OPTIONS, save=DEFAULT_SAVE_KERNEL, def compile(name, src, opts=DEFAULT_CMP_OPTIONS, save=DEFAULT_SAVE_KERNEL,
arch=None, keep=False): arch=None, keep=False):