[zorg] r324140 - Run deps at the start of green dragon cmake builds
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 2 13:24:02 PST 2018
Author: cmatthews
Date: Fri Feb 2 13:24:01 2018
New Revision: 324140
URL: http://llvm.org/viewvc/llvm-project?rev=324140&view=rev
Log:
Run deps at the start of green dragon cmake builds
To warn if dependencies are not met on each node.
Modified:
zorg/trunk/zorg/jenkins/build.py
Modified: zorg/trunk/zorg/jenkins/build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/build.py?rev=324140&r1=324139&r2=324140&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Fri Feb 2 13:24:01 2018
@@ -18,6 +18,13 @@ SERVER = "labmaster2.local"
NINJA = "/usr/local/bin/ninja"
+# Add dependency checker to the Python path.
+sys.path.append(os.path.abspath("../../dep/"))
+import dep # noqa
+
+# For relative reference to the dependency file.
+here = os.path.dirname(os.path.abspath(__file__))
+
def readme_name(repo):
"""Given a repo, return the name of the readme file."""
@@ -195,6 +202,8 @@ def update_svn_checkout(working_dir):
def cmake_builder(target):
check_repo_state(conf.workspace)
+ dep.parse_dependencies([here + "/clang_build_dependencies.dep"])
+
env = []
dyld_path = ""
if conf.lto and conf.liblto():
More information about the llvm-commits
mailing list