brintos

brintos / llvm-project-archived public Read only

0
0
Text · 497 B · 9caae19 Raw
17 lines · plain
1import sys2from lit.llvm import llvm_config3 4# No JIT on win32.5if sys.platform == "win32":6    config.unsupported = True7 8# ArmSVE tests must be enabled via build flag.9if config.mlir_run_arm_sve_tests:10    config.substitutions.append(("%ENABLE_VLA", "true"))11    config.substitutions.append(12        ("%VLA_ARCH_ATTR_OPTIONS", '--march=aarch64 --mattr="+sve"')13    )14else:15    config.substitutions.append(("%ENABLE_VLA", "false"))16    config.substitutions.append(("%VLA_ARCH_ATTR_OPTIONS", ""))17