Files
wasmtime/meta/build.py
Jakob Stoklund Olesen 1a4d07d437 Rename meta/target -> meta/isa.
Clarify terminology by always referring to a 'Target ISA' instead of just
'Target'. Use 'isa' as a module name instead of 'target' both in Rust and Python
code.

This is only to clarify terminology and not at all because Cargo insists on
using the 'target' sub-directory for build products. Oh, no. Not at all.
2016-08-04 11:50:19 -07:00

20 lines
450 B
Python

# Second-level build script.
#
# This script is run from src/libcretonne/build.rs to generate Rust files.
import argparse
import isa
import gen_instr
import gen_build_deps
parser = argparse.ArgumentParser(description='Generate sources for Cretonne.')
parser.add_argument('--out-dir', help='set output directory')
args = parser.parse_args()
out_dir = args.out_dir
isas = isa.all_isas()
gen_instr.generate(isas, out_dir)
gen_build_deps.generate()