import os
import platform
import re

if (config.plugins_supported):
    config.available_features.add('Plugins')
    config.environment['LLVM_CONFIG'] = os.path.join(config.llvm_tools_dir, 'llvm-config')
    config.environment['LLVM_VERSION'] = str(config.llvm_version)
