Sha256: 1bf30cb5a62cabb3a73b544b3a94be3ae4dd37ba322fb0023c816d12149b8870
Contents?: true
Size: 1.29 KB
Versions: 12
Compression:
Stored size: 1.29 KB
Contents
require_relative'../../common/utils' require_relative '../toolchain/provider' require_relative '../toolchain/errorparser/error_parser' require_relative '../toolchain/errorparser/gcc_compiler_error_parser' require_relative '../toolchain/errorparser/gcc_linker_error_parser' module Bake module Toolchain CLANG_BITCODE_CHAIN = Provider.add("CLANG_BITCODE") CLANG_BITCODE_CHAIN[:COMPILER][:CPP].update({ :COMMAND => "clang++", :DEFINE_FLAG => "-D", :OBJECT_FILE_FLAG => "-o", :OBJ_FLAG_SPACE => true, :OBJECT_FILE_ENDING => ".bc", :COMPILE_FLAGS => "-emit-llvm -c ", :ERROR_PARSER => nil, :DEP_FLAGS => "-MD -MF", :DEP_FLAGS_SPACE => true, }) CLANG_BITCODE_CHAIN[:COMPILER][:C] = Utils.deep_copy(CLANG_BITCODE_CHAIN[:COMPILER][:CPP]) CLANG_BITCODE_CHAIN[:COMPILER][:C][:SOURCE_FILE_ENDINGS] = Provider.default[:COMPILER][:C][:SOURCE_FILE_ENDINGS] CLANG_BITCODE_CHAIN[:COMPILER][:C][:COMMAND] = "clang" CLANG_BITCODE_CHAIN[:ARCHIVER][:COMMAND] = "llvm-link" CLANG_BITCODE_CHAIN[:ARCHIVER][:ARCHIVE_FLAGS] = "-o" CLANG_BITCODE_CHAIN[:ARCHIVER][:ARCHIVE_FILE_ENDING] = ".bc" CLANG_BITCODE_CHAIN[:LINKER][:COMMAND] = "llvm-link" CLANG_BITCODE_CHAIN[:LINKER][:EXE_FLAG] = "-o" end end
Version data entries
12 entries across 12 versions & 1 rubygems