2021-10-03 07:53:02 +08:00
|
|
|
# Disable with sanitizers for now, this require some more setup apparently.
|
|
|
|
for san in ['asan', 'msan', 'ubsan']:
|
|
|
|
if (san in config.available_features):
|
|
|
|
config.unsupported = True
|
|
|
|
|
2021-11-15 06:44:25 +08:00
|
|
|
config.substitutions.append(("%cmake_exe", config.host_cmake))
|
|
|
|
config.substitutions.append(("%cmake_generator", config.host_cmake_generator))
|
2020-04-23 01:52:07 +08:00
|
|
|
config.substitutions.append(("%host_cxx", config.host_cxx))
|
|
|
|
config.substitutions.append(("%host_cc", config.host_cc))
|
2021-03-08 13:06:33 +08:00
|
|
|
config.substitutions.append(("%enable_libcxx", config.enable_libcxx))
|
2021-06-03 01:21:17 +08:00
|
|
|
config.substitutions.append(
|
|
|
|
("%mlir_cmake_dir", config.mlir_cmake_dir))
|