|author||Derek Schuff <email@example.com>||Wed Mar 21 23:11:30 2018|
|committer||Derek Schuff <firstname.lastname@example.org>||Thu Mar 22 20:11:03 2018|
use cmake linker flags to get correct CMake feature tests
WebAssembly has many moving parts (implementations, tools, tests, etc) and no central owner. All of these parts have have their own owners, priorities, and tests (which include WebAssembly as well as others). A build and test waterfall allows us to test the interactions between these components. It helps us:
We should keep process to a minimum, try things out, see what works.
$ git clone https://github.com/WebAssembly/waterfall.git
Build.py has 3 types of actions:
$ src/build.py --no-sync --build-exclude=llvm
$ src/build.py --sync-include=wabt --build-include=wabt,binaryen --test-exclude=emtest,emtest-asm
The script should throw an error if you specify nonexistent steps or if you specify both includes and excludes for the same type of action.
When run, the script creates a directory
src/work inside the waterfall‘s git checkout. All modifications are made inside this directory (checking and out and building the sources, as well as the test builds and execution results). You can also use the git checkouts (e.g.
src/work/llvm) with your own branches; the sync steps will check out the latest revision from the script’s remote repositories but will not overwrite or destroy any local work.