brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 6cf8935 Raw
22 lines · plain
1# Disable with sanitizers for now, this require some more setup apparently.2for san in ["asan", "msan", "ubsan"]:3    if san in config.available_features:4        config.unsupported = True5 6config.substitutions.append(("%cmake_exe", config.host_cmake))7config.substitutions.append(("%cmake_generator", config.host_cmake_generator))8config.substitutions.append(("%host_cxx", config.host_cxx))9config.substitutions.append(("%host_cc", config.host_cc))10config.substitutions.append(("%hostc_compiler_launcher", config.host_c_compiler_launcher))11config.substitutions.append(("%hostcxx_compiler_launcher", config.host_cxx_compiler_launcher))12config.substitutions.append(("%enable_libcxx", config.enable_libcxx))13config.substitutions.append(("%mlir_cmake_dir", config.mlir_cmake_dir))14config.substitutions.append(("%mlir_obj_root", config.mlir_obj_root))15config.substitutions.append(("%llvm_use_linker", config.llvm_use_linker))16config.substitutions.append(("%cmake_build_type", config.cmake_build_type))17 18if not config.llvm_shared_libs_build:19    config.available_features.add("non-shared-libs-build")20if config.enable_bindings_python:21    config.available_features.add("bindings-python")22