-
Notifications
You must be signed in to change notification settings - Fork 1k
SanitizerBotReproduceBuild
Vitaly Buka edited this page Apr 30, 2019
·
11 revisions
You need workstation similar to buildbot, details you can find on the bot details page, e.g. sanitizer-buildbot1 Scripts probably will work only on x86_64 Linux, still a system does not need to be exactly the same.
Also here is setup script for bots, which can be useful to install missing packages.
Then you need to decide which script to run. To find the script name corresponding to the bot use this mapping.
mkdir scratch_dir
cd scratch_dir
svn checkout https://llvm.org/svn/llvm-project/zorg
BUILDBOT_CLOBBER= BUILDBOT_REVISION=300000 zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fast.sh
The script will checkout, build and test code very closely to how it does not bots.
Scripts support environment variable BUILDBOT_MONO_REPO_PATH e.g.
BUILDBOT_MONO_REPO_PATH=~/src/llvm.git/llvm-project BUILDBOT_CLOBBER= BUILDBOT_REVISION= \
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fast.sh
Variable will make the script to rsync sources from your LLVM git mono-repo checkout into the scratch dir, instead of checking out them from svn.