fix environment assignment and update check- definitions
This commit is contained in:
parent
7907aeb6a0
commit
fea73f5174
3 changed files with 5 additions and 6 deletions
|
@ -61,9 +61,9 @@ allprojects:
|
||||||
lld: ["check-lld"]
|
lld: ["check-lld"]
|
||||||
lldb: ["check-all"] # FIXME: `check-lldb` may not include every lldb tests?
|
lldb: ["check-all"] # FIXME: `check-lldb` may not include every lldb tests?
|
||||||
mlir: ["check-mlir"]
|
mlir: ["check-mlir"]
|
||||||
openmp: ["check-all"] # There does not seem to be a more specific target.
|
openmp: ["check-openmp"]
|
||||||
parallel-libs: ["check-all"]
|
parallel-libs: ["check-all"]
|
||||||
polly: ["check-polly-tests"]
|
polly: ["check-polly-tests", "check-polly"]
|
||||||
pstl: ["check-all"] # There does not seem to be a more specific target.
|
pstl: ["check-all"] # There does not seem to be a more specific target.
|
||||||
llvm: ["check-llvm"]
|
llvm: ["check-llvm"]
|
||||||
|
|
||||||
|
@ -78,7 +78,6 @@ excludedProjects:
|
||||||
- openmp # TODO: check: kuhnel has trouble with the Perl installation
|
- openmp # TODO: check: kuhnel has trouble with the Perl installation
|
||||||
- cross-project-tests # test failing
|
- cross-project-tests # test failing
|
||||||
- polly # test failing
|
- polly # test failing
|
||||||
- check-libc
|
|
||||||
- check-cxxabi
|
- check-cxxabi
|
||||||
# test stuck, needs to be killed manually: instrprof-multiprocess.test
|
# test stuck, needs to be killed manually: instrprof-multiprocess.test
|
||||||
- compiler-rt
|
- compiler-rt
|
||||||
|
|
|
@ -23,7 +23,7 @@ from phabtalk.phabtalk import PhabTalk
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
diff_id = os.getenv("ph_buildable_diff")
|
diff_id = os.getenv("ph_buildable_diff")
|
||||||
revision_id = os.getenv("ph_buildable_revision")
|
revision_id = os.getenv("ph_buildable_revision", '')
|
||||||
log_level = os.getenv('ph_log_level', 'INFO')
|
log_level = os.getenv('ph_log_level', 'INFO')
|
||||||
base_commit = os.getenv('ph_base_commit', 'auto')
|
base_commit = os.getenv('ph_base_commit', 'auto')
|
||||||
run_build = os.getenv('ph_skip_build') is None
|
run_build = os.getenv('ph_skip_build') is None
|
||||||
|
|
|
@ -50,12 +50,12 @@ if __name__ == '__main__':
|
||||||
steps.extend(generic_windows(os.getenv('ph_projects', ';'.join(windows_projects))))
|
steps.extend(generic_windows(os.getenv('ph_projects', ';'.join(windows_projects))))
|
||||||
steps.extend(bazel([], force=True))
|
steps.extend(bazel([], force=True))
|
||||||
if os.getenv('ph_skip_generated') is None:
|
if os.getenv('ph_skip_generated') is None:
|
||||||
env = os.environ.copy()
|
gen_env = os.environ.copy()
|
||||||
# BUILDKITE_COMMIT might be an alias, e.g. "HEAD". Resolve it to make the build hermetic.
|
# BUILDKITE_COMMIT might be an alias, e.g. "HEAD". Resolve it to make the build hermetic.
|
||||||
if ('BUILDKITE_COMMIT' not in env) or (env['BUILDKITE_COMMIT'] == "HEAD"):
|
if ('BUILDKITE_COMMIT' not in env) or (env['BUILDKITE_COMMIT'] == "HEAD"):
|
||||||
env['BUILDKITE_COMMIT'] = repo.head.commit.hexsha
|
env['BUILDKITE_COMMIT'] = repo.head.commit.hexsha
|
||||||
for gen in steps_generators:
|
for gen in steps_generators:
|
||||||
steps.extend(from_shell_output(gen, env=env))
|
steps.extend(from_shell_output(gen, env=gen_env))
|
||||||
|
|
||||||
notify = []
|
notify = []
|
||||||
for e in notify_emails:
|
for e in notify_emails:
|
||||||
|
|
Loading…
Reference in a new issue