|
|
|
|
|
|
|
|
Get the default toolchain that should be used for dev and test based on the |
|
|
Get the default toolchain that should be used for dev and test based on the |
|
|
host platform. |
|
|
host platform. |
|
|
""" |
|
|
""" |
|
|
if distro.id() == 'alpine': |
|
|
|
|
|
# Alpine Linux cannot use the full audit mode, as asan and ubsan do not |
|
|
|
|
|
# work with musl |
|
|
|
|
|
return paths.TOOLS_DIR / 'gcc-9-test.jsonc' |
|
|
|
|
|
if sys.platform == 'win32': |
|
|
if sys.platform == 'win32': |
|
|
return paths.TOOLS_DIR / 'msvc-audit.jsonc' |
|
|
return paths.TOOLS_DIR / 'msvc-audit.jsonc' |
|
|
if sys.platform == 'linux': |
|
|
if sys.platform == 'linux': |