Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Add clang toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Jun 20, 2014
1 parent c10c6ba commit facd9d9
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions bin/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@
'gcc48',
'gcc',
'vs2013x64',
'vs2013'
'vs2013',
'analyze',
'sanitize_address',
'sanitize_leak',
'sanitize_memory',
'sanitize_thread',
],
help="CMake generator/toolchain",
)
Expand Down Expand Up @@ -62,17 +67,16 @@
generator = ''

"""Toolchain name"""
polly_toolchain = 'default'
if args.toolchain == 'libcxx':
polly_toolchain = 'libcxx'
elif args.toolchain == 'xcode':
polly_toolchain = 'xcode'
elif args.toolchain == 'clang_libstdcxx':
polly_toolchain = 'clang_libstdcxx'
elif args.toolchain == 'gcc48':
polly_toolchain = 'gcc48'
elif args.toolchain == 'gcc':
polly_toolchain = 'gcc'
polly_toolchain = ''
if args.toolchain:
polly_toolchain = args.toolchain
else:
polly_toolchain = 'default'

if args.toolchain == 'vs2013x64':
polly_toolchain = 'default'
elif args.toolchain == 'vs2013':
polly_toolchain = 'default'

"""Build directory tag"""
if args.config:
Expand Down

0 comments on commit facd9d9

Please sign in to comment.