INNER CODE UNIT · Python

stage_build

wasm3/wasm3 · extra/check.py:79

def stage_build(args):
    # Configure on every run rather than only when the cache is missing. These two
    # options are what make the build the one CI makes, and re-running cmake is the only
    # way to correct a tree that was configured without them -- a cache carrying
    # BUILD_WERROR=OFF would otherwise turn the whole point of this stage off silently.
    run(
        [
            "cmake",
            "-S",
            ROOT,
            "-B",
            args.build_dir,
            "-DBUILD_TESTS=ON",
            "-DBUILD_WERROR=ON",
        ]
        + args.cmake
    )
    run(["cmake", "--build", args.build_dir])

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…